Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for is32Bit (0.09 sec)

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

    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (ADDLconst [c] (LEAL [d] {s} x))
    	// cond: is32Bit(int64(c)+int64(d))
    	// result: (LEAL [c+d] {s} x)
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != Op386LEAL {
    			break
    		}
    		d := auxIntToInt32(v_0.AuxInt)
    		s := auxToSym(v_0.Aux)
    		x := v_0.Args[0]
    		if !(is32Bit(int64(c) + int64(d))) {
    			break
    		}
    		v.reset(Op386LEAL)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64.go

    	// match: (ADDconst [c] x:(SP))
    	// cond: is32Bit(c)
    	// result: (MOVDaddr [int32(c)] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if x.Op != OpSP || !(is32Bit(c)) {
    			break
    		}
    		v.reset(OpPPC64MOVDaddr)
    		v.AuxInt = int32ToAuxInt(int32(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (ADDconst [c] (SUBFCconst [d] x))
    	// cond: is32Bit(c+d)
    	// result: (SUBFCconst [c+d] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v.reset(OpS390XMOVDaddr)
    		v.AuxInt = int32ToAuxInt(int32(off))
    		v.AddArg(ptr)
    		return true
    	}
    	// match: (OffPtr [off] ptr)
    	// cond: is32Bit(off)
    	// result: (ADDconst [int32(off)] ptr)
    	for {
    		off := auxIntToInt64(v.AuxInt)
    		ptr := v_0
    		if !(is32Bit(off)) {
    			break
    		}
    		v.reset(OpS390XADDconst)
    		v.AuxInt = int32ToAuxInt(int32(off))
    		v.AddArg(ptr)
    		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)
Back to top