Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for umagicOK8 (0.37 sec)

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

    	// Don't use for powers of 2.
    	return d&(d-1) != 0
    }
    
    // umagicOKn reports whether we should strength reduce an unsigned n-bit divide by c.
    // We can strength reduce when c != 0 and c is not a power of two.
    func umagicOK8(c int8) bool   { return c&(c-1) != 0 }
    func umagicOK16(c int16) bool { return c&(c-1) != 0 }
    func umagicOK32(c int32) bool { return c&(c-1) != 0 }
    func umagicOK64(c int64) bool { return c&(c-1) != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top