3 ms·
Putting the code into Godbolt the control flow switch (count % 8) { turns into jmp [QWORD PTR .L4[0+rdx*8]] just like you'd do if you we
by Symmetry 6y ago
Putting the code into Godbolt the control flow
switch (count % 8) {
turns into
jmp [QWORD PTR .L4[0+rdx*8]]
just like you'd do if you were doing the assembly by hand.
- chrisseaton 6y agoYes that’s how gcc implements a switch. But what’s they got to do with irreducibility?