Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for AuxInt (0.12 sec)

  1. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    	for {
    		a := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if v_1.Op != OpPPC64MOVDconst || auxIntToInt64(v_1.AuxInt) != 0 {
    			break
    		}
    		z := v_2
    		v.reset(OpPPC64ISELZ)
    		v.AuxInt = int32ToAuxInt(a)
    		v.AddArg2(x, z)
    		return true
    	}
    	// match: (ISEL [a] (MOVDconst [0]) y z)
    	// result: (ISELZ [a^0x4] y z)
    	for {
    		a := auxIntToInt32(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	// result: (MOVLconst [c+d])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpAMD64MOVLconst {
    			break
    		}
    		d := auxIntToInt32(v_0.AuxInt)
    		v.reset(OpAMD64MOVLconst)
    		v.AuxInt = int32ToAuxInt(c + d)
    		return true
    	}
    	// match: (ADDLconst [c] (ADDLconst [d] x))
    	// result: (ADDLconst [c+d] x)
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpAMD64ADDLconst {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpConst16 {
    				continue
    			}
    			c := auxIntToInt16(v_0.AuxInt)
    			if v_1.Op != OpConst16 {
    				continue
    			}
    			d := auxIntToInt16(v_1.AuxInt)
    			v.reset(OpConst16)
    			v.AuxInt = int16ToAuxInt(c + d)
    			return true
    		}
    		break
    	}
    	// match: (Add16 <t> (Mul16 x y) (Mul16 x z))
    	// result: (Mul16 x (Add16 <t> y z))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "RORWconst", argLength: 1, reg: gp11, asm: "RORW", aux: "Int64"},   // uint32(arg0) right rotate by auxInt bits, auxInt should be in the range 0 to 31.
    		{name: "EXTRconst", argLength: 2, reg: gp21, asm: "EXTR", aux: "Int64"},   // extract 64 bits from arg0:arg1 starting at lsb auxInt, auxInt should be in the range 0 to 63.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    	for {
    		val := auxIntToInt64(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValuePPC64_OpConst8(v *Value) bool {
    	// match: (Const8 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ppc64/ssa.go

    	case ssa.OpPPC64ISEL, ssa.OpPPC64ISELZ:
    		// ISEL  AuxInt ? arg0 : arg1
    		// ISELZ is a special case of ISEL where arg1 is implicitly $0.
    		//
    		// AuxInt value indicates conditions 0=LT 1=GT 2=EQ 3=SO 4=GE 5=LE 6=NE 7=NSO.
    		// ISEL accepts a CR bit argument, not a condition as expressed by AuxInt.
    		// Convert the condition to a CR bit argument by the following conversion:
    		//
    		// AuxInt&3 ? arg0 : arg1 for conditions LT, GT, EQ, SO
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top