Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SLWconst (0.18 sec)

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

    	v_0 := v.Args[0]
    	// match: (SLWconst [s] (MOVWZreg w))
    	// result: (SLWconst [s] w)
    	for {
    		s := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpPPC64MOVWZreg {
    			break
    		}
    		w := v_0.Args[0]
    		v.reset(OpPPC64SLWconst)
    		v.AuxInt = int64ToAuxInt(s)
    		v.AddArg(w)
    		return true
    	}
    	// match: (SLWconst [c] z:(MOVBZreg x))
    	// cond: z.Uses == 1 && c < 8
    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

    }
    func rewriteValueS390X_OpS390XMULLWconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	// match: (MULLWconst <t> x [c])
    	// cond: isPowerOfTwo32(c&(c-1))
    	// result: (ADDW (SLWconst <t> x [uint8(log32(c&(c-1)))]) (SLWconst <t> x [uint8(log32(c&^(c-1)))]))
    	for {
    		t := v.Type
    		c := auxIntToInt32(v.AuxInt)
    		x := v_0
    		if !(isPowerOfTwo32(c & (c - 1))) {
    			break
    		}
    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