Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for umagicOK16 (0.14 sec)

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

    }
    
    // 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 }
    
    type umagicData struct {
    	s int64  // ⎡log2(c)⎤
    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