Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

    		return true
    	}
    	// match: (ANDconst [c] (ANDconst [d] x))
    	// result: (ANDconst [c&d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpPPC64ANDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpPPC64ANDconst)
    		v.AuxInt = int64ToAuxInt(c & d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDconst [-1] x)
    	// result: x
    	for {
    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/rewriteARM.go

    		return true
    	}
    	// match: (ANDconst [c] (MOVWconst [d]))
    	// result: (MOVWconst [c&d])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpARMMOVWconst {
    			break
    		}
    		d := auxIntToInt32(v_0.AuxInt)
    		v.reset(OpARMMOVWconst)
    		v.AuxInt = int32ToAuxInt(c & d)
    		return true
    	}
    	// match: (ANDconst [c] (ANDconst [d] x))
    	// result: (ANDconst [c&d] x)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteS390X.go

    	v_0 := v.Args[0]
    	// match: (ANDconst [c] (ANDconst [d] x))
    	// result: (ANDconst [c&d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpS390XANDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpS390XANDconst)
    		v.AuxInt = int64ToAuxInt(c & d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDconst [0] _)
    	// result: (MOVDconst [0])
    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