3 ms·
You can probably eliminate the switch bounds check by making the default case execute __builtin_unreachable(). The switch version is safe for non-conforming opc
by variadix 4mo ago
You can probably eliminate the switch bounds check by making the default case execute __builtin_unreachable(). The switch version is safe for non-conforming opcodes where the computed goto version invokes UB.
- fweimer 4mo agoUsing __builtin_unreachable in this way makes the switch version unsafe, too.