Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nonnegative (0.2 sec)

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

    		v.AuxInt = int16ToAuxInt(c / d)
    		return true
    	}
    	// match: (Div16 n (Const16 [c]))
    	// cond: isNonNegative(n) && isPowerOfTwo16(c)
    	// result: (Rsh16Ux64 n (Const64 <typ.UInt64> [log16(c)]))
    	for {
    		n := v_0
    		if v_1.Op != OpConst16 {
    			break
    		}
    		c := auxIntToInt16(v_1.AuxInt)
    		if !(isNonNegative(n) && isPowerOfTwo16(c)) {
    			break
    		}
    		v.reset(OpRsh16Ux64)
    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