Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SLTIU (0.1 sec)

  1. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Lsh16x16 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] (ZeroExt16to64 y))))
    (Lsh16x32 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] (ZeroExt32to64 y))))
    (Lsh16x64 <t> x y) && !shiftIsBounded(v) => (AND (SLL <t> x y) (Neg16 <t> (SLTIU <t> [64] y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. test/codegen/shift.go

    func lshConst32x64(v int32) int32 {
    	// ppc64x:"SLW"
    	// riscv64:"SLLI",-"AND",-"SLTIU", -"MOVW"
    	return v << uint64(29)
    }
    
    func rshConst32Ux64(v uint32) uint32 {
    	// ppc64x:"SRW"
    	// riscv64:"SRLIW",-"AND",-"SLTIU", -"MOVW"
    	return v >> uint64(29)
    }
    
    func rshConst32x64(v int32) int32 {
    	// ppc64x:"SRAW"
    	// riscv64:"SRAIW",-"OR",-"SLTIU", -"MOVW"
    	return v >> uint64(29)
    }
    
    func lshConst64x32(v int64) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:53:43 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/riscv/anames.go

    // Code generated by stringer -i cpu.go -o anames.go -p riscv; DO NOT EDIT.
    
    package riscv
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ADDI",
    	"SLTI",
    	"SLTIU",
    	"ANDI",
    	"ORI",
    	"XORI",
    	"SLLI",
    	"SRLI",
    	"SRAI",
    	"LUI",
    	"AUIPC",
    	"ADD",
    	"SLT",
    	"SLTU",
    	"AND",
    	"OR",
    	"XOR",
    	"SLL",
    	"SRL",
    	"SUB",
    	"SRA",
    	"JAL",
    	"JALR",
    	"BEQ",
    	"BNE",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	v_0 := v.Args[0]
    	// match: (SLTIU [x] (MOVDconst [y]))
    	// result: (MOVDconst [b2i(uint64(y) < uint64(x))])
    	for {
    		x := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVDconst {
    			break
    		}
    		y := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(b2i(uint64(y) < uint64(x)))
    		return true
    	}
    	// match: (SLTIU [x] (ANDI [y] _))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "SLTU", argLength: 2, reg: gp21, asm: "SLTU"},                 // arg0 < arg1, unsigned, result is 0 or 1
    		{name: "SLTIU", argLength: 1, reg: gp11, asm: "SLTIU", aux: "Int64"}, // arg0 < auxint, unsigned, result is 0 or 1
    
    		// Round ops to block fused-multiply-add extraction.
    		{name: "LoweredRound32F", argLength: 1, reg: fp11, resultInArg0: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/riscv64.s

    	ADDI	$-4096, X5, X6				// 1383028013030380
    	ADDI	$4095, X5, X6				// b71f00009b8fffff3383f201
    	ADDI	$-4097, X5, X6				// b7ffffff9b8fffff3383f201
    
    	SLTI	$55, X5, X7				// 93a37203
    	SLTIU	$55, X5, X7				// 93b37203
    
    	ANDI	$1, X5, X6				// 13f31200
    	ANDI	$1, X5					// 93f21200
    	ANDI	$2048, X5				// b71f00009b8f0f80b3f2f201
    	ORI	$1, X5, X6				// 13e31200
    	ORI	$1, X5					// 93e21200
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/riscv/obj.go

    		ins.as = AXORI
    		ins.rs1, ins.rs2 = uint32(p.From.Reg), obj.REG_NONE
    		if ins.rd == obj.REG_NONE {
    			ins.rd = ins.rs1
    		}
    		ins.imm = -1
    
    	case ASEQZ:
    		// SEQZ rs, rd -> SLTIU $1, rs, rd
    		ins.as = ASLTIU
    		ins.rs1, ins.rs2 = uint32(p.From.Reg), obj.REG_NONE
    		ins.imm = 1
    
    	case ASNEZ:
    		// SNEZ rs, rd -> SLTU rs, x0, rd
    		ins.as = ASLTU
    		ins.rs1 = REG_ZERO
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 1006632944}, // X5 X6 X7 X8 X9 X10 X11 X12 X13 X14 X15 X16 X17 X18 X19 X20 X21 X22 X23 X24 X25 X26 X28 X29 X30
    			},
    		},
    	},
    	{
    		name:    "SLTIU",
    		auxType: auxInt64,
    		argLen:  1,
    		asm:     riscv.ASLTIU,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top