Paul on Nostr: TIL: x86_64 has an Undefined Instruction instruction (actually several of them), ...
TIL: x86_64 has an Undefined Instruction instruction (actually several of them), which C compilers can use for undefined behaviour.
Instruction spec:
https://www.felixcloutier.com/x86/ud
Blog post outlining how GCC and LLVM handle this:
https://diekmann.uk/blog/2024-06-25-statically-known-undefined-behaviour.html
Instruction spec:
https://www.felixcloutier.com/x86/ud
Blog post outlining how GCC and LLVM handle this:
https://diekmann.uk/blog/2024-06-25-statically-known-undefined-behaviour.html