lean4-htt/tests/compiler/nat_shiftr.lean.expected.out
Cameron Zwarich 575b4786f9
feat: optimize lean_nat_shiftr for scalars (#8268)
This PR optimizes lean_nat_shiftr for scalar operands. The new compiler
converts Nat divisions into right shifts, so this now shows up as hot in
some profiles.
2025-05-11 01:39:59 +00:00

168 lines
843 B
Text

0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
255
127
0
0
0
0
0
0
0
0
0
0
256
128
0
0
0
0
0
0
0
0
0
0
257
128
0
0
0
0
0
0
0
0
0
0
65535
32767
3
1
0
0
0
0
0
0
0
0
65536
32768
4
2
1
0
0
0
0
0
0
0
65537
32768
4
2
1
0
0
0
0
0
0
0
4294967295
2147483647
262143
131071
65535
32767
1
0
0
0
0
0
4294967296
2147483648
262144
131072
65536
32768
2
1
0
0
0
0
4294967297
2147483648
262144
131072
65536
32768
2
1
0
0
0
0
18446744073709551615
9223372036854775807
1125899906842623
562949953421311
281474976710655
140737488355327
8589934591
4294967295
2147483647
1
0
0
18446744073709551616
9223372036854775808
1125899906842624
562949953421312
281474976710656
140737488355328
8589934592
4294967296
2147483648
2
1
0
18446744073709551617
9223372036854775808
1125899906842624
562949953421312
281474976710656
140737488355328
8589934592
4294967296
2147483648
2
1
0