- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for udivisibleOK32 (0.22 sec)
-
src/cmd/compile/internal/ssa/_gen/generic.rules
&& m == int32(1<<31+umagic32(c).m/2) && s == umagic32(c).s-1 && x.Op != OpConst32 && udivisibleOK32(c) => (Leq32U (RotateLeft32 <typ.UInt32> (Mul32 <typ.UInt32> (Const32 <typ.UInt32> [int32(udivisible32(c).m)]) x) (Const32 <typ.UInt32> [int32(32-udivisible32(c).k)]) ) (Const32 <typ.UInt32> [int32(udivisible32(c).max)]) ) (Eq32 x (Mul32 (Const32 [c]) (Rsh32Ux64
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/magic.go
// Don't use for powers of 2. return d&(d-1) != 0 } func udivisibleOK8(c int8) bool { return udivisibleOK(8, int64(c)) } func udivisibleOK16(c int16) bool { return udivisibleOK(16, int64(c)) } func udivisibleOK32(c int32) bool { return udivisibleOK(32, int64(c)) } func udivisibleOK64(c int64) bool { return udivisibleOK(64, c) } type udivisibleData struct { k int64 // trailingZeros(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) -
src/cmd/compile/internal/ssa/rewritegeneric.go
// result: (Leq32U (RotateLeft32 <typ.UInt32> (Mul32 <typ.UInt32> (Const32 <typ.UInt32> [int32(udivisible32(c).m)]) x) (Const32 <typ.UInt32> [int32(32-udivisible32(c).k)]) ) (Const32 <typ.UInt32> [int32(udivisible32(c).max)]) ) for { for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 { x := 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)