Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for auxIntToValAndOff (0.33 sec)

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

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    	// cond: vo.Val() == 0
    	// result: (TESTB x:(MOVBload {sym} [vo.Off()] ptr mem) x)
    	for {
    		vo := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		ptr := v_0
    		mem := v_1
    		if !(vo.Val() == 0) {
    			break
    		}
    		v.reset(OpAMD64TESTB)
    		x := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewrite386splitload.go

    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (CMPBconstload {sym} [vo] ptr mem)
    	// 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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	// result: (MOVOstoreconst [makeValAndOff(0,a.Off())] {s} p0 mem)
    	for {
    		c := auxIntToValAndOff(v.AuxInt)
    		s := auxToSym(v.Aux)
    		p1 := v_0
    		x := v_1
    		if x.Op != OpAMD64MOVQstoreconst {
    			break
    		}
    		a := auxIntToValAndOff(x.AuxInt)
    		if auxToSym(x.Aux) != s {
    			break
    		}
    		mem := x.Args[1]
    		p0 := x.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite386.go

    	// match: (ADDLconstmodify [valoff1] {sym} (ADDLconst [off2] base) mem)
    	// cond: valoff1.canAdd32(off2)
    	// result: (ADDLconstmodify [valoff1.addOffset32(off2)] {sym} base mem)
    	for {
    		valoff1 := auxIntToValAndOff(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		if v_0.Op != Op386ADDLconst {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		base := v_0.Args[0]
    		mem := v_1
    		if !(valoff1.canAdd32(off2)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteS390X.go

    	v_0 := v.Args[0]
    	// match: (MOVBstoreconst [sc] {s} (ADDconst [off] ptr) mem)
    	// cond: is20Bit(sc.Off64()+int64(off))
    	// result: (MOVBstoreconst [sc.addOffset32(off)] {s} ptr mem)
    	for {
    		sc := auxIntToValAndOff(v.AuxInt)
    		s := auxToSym(v.Aux)
    		if v_0.Op != OpS390XADDconst {
    			break
    		}
    		off := auxIntToInt32(v_0.AuxInt)
    		ptr := v_0.Args[0]
    		mem := v_1
    		if !(is20Bit(sc.Off64() + int64(off))) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	return uint8(i)
    }
    func auxIntToFloat32(i int64) float32 {
    	return float32(math.Float64frombits(uint64(i)))
    }
    func auxIntToFloat64(i int64) float64 {
    	return math.Float64frombits(uint64(i))
    }
    func auxIntToValAndOff(i int64) ValAndOff {
    	return ValAndOff(i)
    }
    func auxIntToArm64BitField(i int64) arm64BitField {
    	return arm64BitField(i)
    }
    func auxIntToInt128(x int64) int128 {
    	if x != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top