Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for AuxInt (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ssa/value.go

    	// AuxInt is used for integer values, Aux is used for other values.
    	// Floats are stored in AuxInt using math.Float64bits(f).
    	// Unused portions of AuxInt are filled by sign-extending the used portion,
    	// even if the represented value is unsigned.
    	// Users of AuxInt which interpret AuxInt as unsigned (e.g. shifts) must be careful.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/ssa/rewriteARM64.go

    		x := v_0.Args[0]
    		v.reset(OpARM64ADDconst)
    		v.AuxInt = int64ToAuxInt(c + d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ADDconst [c] (SUBconst [d] x))
    	// result: (ADDconst [c-d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpARM64SUBconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpARM64ADDconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteAMD64splitload.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
    		if !(vo.Val() != 0) {
    			break
    		}
    		v.reset(OpAMD64CMPBconst)
    		v.AuxInt = int8ToAuxInt(vo.Val8())
    		v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    		v0.AuxInt = int32ToAuxInt(vo.Off())
    		v0.Aux = symToAux(sym)
    		v0.AddArg2(ptr, mem)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
Back to top