- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sdivisibleOK16 (0.16 sec)
-
src/cmd/compile/internal/ssa/magic.go
return false } // Doesn't work for 0. // Don't use it for powers of 2. return c&(c-1) != 0 } func sdivisibleOK8(c int8) bool { return sdivisibleOK(8, int64(c)) } func sdivisibleOK16(c int16) bool { return sdivisibleOK(16, int64(c)) } func sdivisibleOK32(c int32) bool { return sdivisibleOK(32, int64(c)) } func sdivisibleOK64(c int64) bool { return sdivisibleOK(64, c) } type sdivisibleData struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:25 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/generic.rules
&& x.Op != OpConst16 && sdivisibleOK16(c) => (Leq16U (RotateLeft16 <typ.UInt16> (Add16 <typ.UInt16> (Mul16 <typ.UInt16> (Const16 <typ.UInt16> [int16(sdivisible16(c).m)]) x) (Const16 <typ.UInt16> [int16(sdivisible16(c).a)]) ) (Const16 <typ.UInt16> [int16(16-sdivisible16(c).k)]) ) (Const16 <typ.UInt16> [int16(sdivisible16(c).max)])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 22:21:05 UTC 2024 - 135.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewritegeneric.go
// result: (Leq16U (RotateLeft16 <typ.UInt16> (Add16 <typ.UInt16> (Mul16 <typ.UInt16> (Const16 <typ.UInt16> [int16(sdivisible16(c).m)]) x) (Const16 <typ.UInt16> [int16(sdivisible16(c).a)]) ) (Const16 <typ.UInt16> [int16(16-sdivisible16(c).k)]) ) (Const16 <typ.UInt16> [int16(sdivisible16(c).max)]) ) for { for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:24:47 UTC 2024 - 812.2K bytes - Viewed (0)