Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isPowerOfTwo8 (0.26 sec)

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

    		return true
    	}
    	// match: (Div8 n (Const8 [c]))
    	// cond: isNonNegative(n) && isPowerOfTwo8(c)
    	// result: (Rsh8Ux64 n (Const64 <typ.UInt64> [log8(c)]))
    	for {
    		n := v_0
    		if v_1.Op != OpConst8 {
    			break
    		}
    		c := auxIntToInt8(v_1.AuxInt)
    		if !(isNonNegative(n) && isPowerOfTwo8(c)) {
    			break
    		}
    		v.reset(OpRsh8Ux64)
    		v0 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top