Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 139 for auxint (0.14 sec)

  1. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "SRR", argLength: 2, reg: gp21},                                // arg0 right rotate by arg1 bits
    		{name: "SRRconst", argLength: 1, reg: gp11, aux: "Int32"},             // arg0 right rotate by auxInt bits, 0 <= auxInt < 32
    
    		// auxInt for all of these satisfy 0 <= auxInt < 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v6.AuxInt = int64ToAuxInt(3)
    		v7 := b.NewValue0(v.Pos, OpMIPS64XORconst, typ.UInt64)
    		v7.AuxInt = int64ToAuxInt(3)
    		v7.AddArg(ptr)
    		v6.AddArg(v7)
    		v5.AddArg(v6)
    		v3.AddArg2(v4, v5)
    		v8 := b.NewValue0(v.Pos, OpMIPS64NORconst, typ.UInt64)
    		v8.AuxInt = int64ToAuxInt(0)
    		v9 := b.NewValue0(v.Pos, OpMIPS64SLLV, typ.UInt64)
    		v10 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    		v10.AuxInt = int64ToAuxInt(0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt32(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/check.go

    			case auxBool:
    				if v.AuxInt < 0 || v.AuxInt > 1 {
    					f.Fatalf("bad bool AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt8:
    				if v.AuxInt != int64(int8(v.AuxInt)) {
    					f.Fatalf("bad int8 AuxInt value for %v", v)
    				}
    				canHaveAuxInt = true
    			case auxInt16:
    				if v.AuxInt != int64(int16(v.AuxInt)) {
    					f.Fatalf("bad int16 AuxInt value for %v", v)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		v7 := b.NewValue0(v.Pos, OpMIPSXORconst, typ.UInt32)
    		v7.AuxInt = int32ToAuxInt(3)
    		v7.AddArg(ptr)
    		v6.AddArg(v7)
    		v5.AddArg(v6)
    		v3.AddArg2(v4, v5)
    		v8 := b.NewValue0(v.Pos, OpMIPSNORconst, typ.UInt32)
    		v8.AuxInt = int32ToAuxInt(0)
    		v9 := b.NewValue0(v.Pos, OpMIPSSLL, typ.UInt32)
    		v10 := b.NewValue0(v.Pos, OpMIPSMOVWconst, typ.UInt32)
    		v10.AuxInt = int32ToAuxInt(0xff)
    		v9.AddArg2(v10, v5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/S390XOps.go

    		{name: "CMPWconst", argLength: 1, reg: gp1flags, asm: "CMPW", typ: "Flags", aux: "Int32"},   // arg0 compare to auxint
    		{name: "CMPUconst", argLength: 1, reg: gp1flags, asm: "CMPU", typ: "Flags", aux: "Int32"},   // arg0 compare to auxint
    		{name: "CMPWUconst", argLength: 1, reg: gp1flags, asm: "CMPWU", typ: "Flags", aux: "Int32"}, // arg0 compare to auxint
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 52.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/sccp.go

    	// 	switch op {
    	// 	case OpAdd16:
    	//		res.val = newConst(argLt1.val.AuxInt16() + argLt2.val.AuxInt16())
    	// 	case OpAdd32:
    	// 		res.val = newConst(argLt1.val.AuxInt32() + argLt2.val.AuxInt32())
    	//	case OpDiv8:
    	//		if !isDivideByZero(argLt2.val.AuxInt8()) {
    	//			res.val = newConst(argLt1.val.AuxInt8() / argLt2.val.AuxInt8())
    	//		}
    	//  ...
    	// 	}
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite386splitload.go

    	// result: (CMPBconst (MOVBload {sym} [vo.Off()] ptr mem) [vo.Val8()])
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		v.reset(Op386CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    	// result: (SRLI [56-c] (SLLI <typ.UInt64> [56] x))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    		v0 := b.NewValue0(v.Pos, OpRISCV64SLLI, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(56)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/func.go

    	v.AuxInt = auxint
    	v.Args = v.argstorage[:2]
    	v.argstorage[0] = arg0
    	v.argstorage[1] = arg1
    	arg0.Uses++
    	arg1.Uses++
    	return v
    }
    
    // NewValue2IA returns a new value in the block with two arguments and both an auxint and aux values.
    func (b *Block) NewValue2IA(pos src.XPos, op Op, t *types.Type, auxint int64, aux Aux, arg0, arg1 *Value) *Value {
    	v := b.Func.newValue(op, t, b, pos)
    	v.AuxInt = auxint
    	v.Aux = aux
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top