Learnt today that x86 has UD2, a deliberately invalid opcode for testing. It's a big instruction set.
miniblog.
Related Posts
Fun fact: for simple text diffs, difftastic is now constrained by terminal output performance!
I halved instruction counts for diffing a 300KLOC text file against "" and I only went from 8.2 seconds to 6.5 seconds.
I really like instruction counts for measuring performance. It's not perfect, but it's a very stable metric, even if I'm listening to music whilst developing and benchmarking.
Deliberately overclocking the Super Game Boy 2 so one instruction fails(!) and the ROM contents can be observed: