Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CMPWconst (0.14 sec)

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

    	// match: (CMPW x (MOVLconst [c]))
    	// result: (CMPWconst x [int16(c)])
    	for {
    		x := v_0
    		if v_1.Op != Op386MOVLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		v.reset(Op386CMPWconst)
    		v.AuxInt = int16ToAuxInt(int16(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMPW (MOVLconst [c]) x)
    	// result: (InvertFlags (CMPWconst x [int16(c)]))
    	for {
    		if v_0.Op != Op386MOVLconst {
    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/rewriteS390X.go

    		return true
    	}
    	// match: (CMPWconst (MOVWreg x) [c])
    	// result: (CMPWconst x [c])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpS390XMOVWreg {
    			break
    		}
    		x := v_0.Args[0]
    		v.reset(OpS390XCMPWconst)
    		v.AuxInt = int32ToAuxInt(c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMPWconst (MOVWZreg x) [c])
    	// result: (CMPWconst x [c])
    	for {
    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/rewritePPC64.go

    	v_0 := v.Args[0]
    	// match: (CMPWconst (MOVDconst [x]) [y])
    	// cond: int32(x)==int32(y)
    	// result: (FlagEQ)
    	for {
    		y := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpPPC64MOVDconst {
    			break
    		}
    		x := auxIntToInt64(v_0.AuxInt)
    		if !(int32(x) == int32(y)) {
    			break
    		}
    		v.reset(OpPPC64FlagEQ)
    		return true
    	}
    	// match: (CMPWconst (MOVDconst [x]) [y])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
Back to top