Live data from Hacker News

Destroying x86_64 instruction decoders with differential fuzzing

blog.trailofbits.com

111–113 of 113 posts

Re: Destroying x86_64 instruction decoders with differential fuzzing

#111
post #97
post #93

Earlier quoted context omitted.

The 68000 has some serious design flaws in the architecture. A notable one is the autoincrement and autodecrement of indirect memory references. This makes it difficult to get the architecture running instructions in parallel. Memory can be changing, but the address at which it changes is determined late. It gets even more troublesome if the CPU comes with a MMU. It becomes necessary to avoid actually performing the…

>The 68000 has some serious design flaws in the architecture. So do all CPUs from that era. This is why 68000 was replaced by Motorola itself. It's an abnormality x86 has been dragged this far. >The CPU architecture specifies a small number of levels. 7 is pretty reasonable. They're autovectored, so interrupt latency is low. 68000 was often chosen for realtime applications due to this feature. >Better designs, like x…

In other words: "If I get to define what's good, I always get to be right".

Someone who knows a lot more than you disagrees: https://yarchive.net/comp/linux/x86.html

Re: Destroying x86_64 instruction decoders with differential fuzzing

#112

>... a 40-year-old 16-bit ISA designed to be source-compatible with a 50-year-old 8-bit ISA. In fairness to the Intel of that era, they actually did a really good job with this. They gained basically zero warts from the 8080 assembler source compatibility. They mostly set out to make the best variable length 16 bit instruction set they could. They had significant competition at the time and they pretty much had to ma…

Linus has some thoughts on this: https://yarchive.net/comp/linux/x86.html

Re: Destroying x86_64 instruction decoders with differential fuzzing

#113
post #2

From the great article: "x86_64 is the 64-bit extension of a 32-bit extension of a 40-year-old 16-bit ISA designed to be source-compatible with a 50-year-old 8-bit ISA. In short, it’s a mess, with each generation adding and removing functionality, ..." Nice way of wording that! :) It also explains the complexity of the following 10 pages of text.

Linus disagrees: https://yarchive.net/comp/linux/x86.html
Post reply on HN