Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for int64ToAuxInt (0.14 sec)

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

    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    		v4.AuxInt = int64ToAuxInt(0xFFF0)
    		v4.AddArg(y)
    		v3.AddArg(v4)
    		v.AddArg3(v0, v2, v3)
    		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)
  2. src/cmd/compile/internal/ssa/rewriteS390X.go

    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueS390X_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt32(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite386.go

    	for {
    		s := auxIntToInt64(v.AuxInt)
    		dst := v_0
    		src := v_1
    		mem := v_2
    		if !(s > 8 && s%4 != 0) {
    			break
    		}
    		v.reset(OpMove)
    		v.AuxInt = int64ToAuxInt(s - s%4)
    		v0 := b.NewValue0(v.Pos, Op386ADDLconst, dst.Type)
    		v0.AuxInt = int32ToAuxInt(int32(s % 4))
    		v0.AddArg(dst)
    		v1 := b.NewValue0(v.Pos, Op386ADDLconst, src.Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteARM.go

    		src := v_1
    		mem := v_2
    		if !(s%4 == 0 && s > 4 && s <= 512 && t.Alignment()%4 == 0 && !config.noDuffDevice && logLargeCopy(v, s)) {
    			break
    		}
    		v.reset(OpARMDUFFCOPY)
    		v.AuxInt = int64ToAuxInt(8 * (128 - s/4))
    		v.AddArg3(dst, src, mem)
    		return true
    	}
    	// match: (Move [s] {t} dst src mem)
    	// cond: ((s > 512 || config.noDuffDevice) || t.Alignment()%4 != 0) && logLargeCopy(v, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top