News for hackers. Stuff that matters.
Re:The legend of “x86 CPUs decode instructions into RISC for... by p_l on Sunday June 18, 2023 @11:23AM (#36381091)
Before NextGen, AMD built an instruction decoder from x86 to AMD29k (which was Berkeley RISC style) and used it in K5.
Re:The legend of “x86 CPUs decode instructions into RISC for... by fulafel on Sunday June 18, 2023 @11:48AM (#36381298)
Are there references about it using the actual 29k instruction set internally? Some (non primary) sources from cursory web search seems to say it used custom micro-ops which it did call "RISC ops", and had other implementation pieces carried from a abandoned 29k chip project.
Re:The legend of “x86 CPUs decode instructions into RISC for... by p_l on Sunday June 18, 2023 @12:43PM (#36381857)
There are persistent mentions of being able to switch off the decoder and use plain AMD29K instructions, but I never found any proper docs - don't have K5 to test against either.
Re:The legend of “x86 CPUs decode instructions into RISC for... by gumby on Sunday June 18, 2023 @12:31PM (#36381741)
Wow, really? Cool!

The 29K was a really cool architecture and I’m sorry it didn’t make it. AMD’s pathetic marketing of the time couldn’t even beat MIPS’ terrible marketing, plus MIPS had SGI (and later SGI had MIPS).

Re:The legend of “x86 CPUs decode instructions into RISC for... by p_l on Sunday June 18, 2023 @12:44PM (#36381870)
Funnily enough, new AMD29050 are still being made (maybe even with further development) by Honeywell - they form the basis of their range of avionics computers like Flight Management Systems etc.
Re:The legend of “x86 CPUs decode instructions into RISC for... by inkyoto on Sunday June 18, 2023 @11:26PM (#36386992)
The 29k was a pretty rad architecture, indeed. The CPU register file had 128 local registers and more than 64 global registers as well as two program counters, to start off with. Local registers could also be accessed indirectly. At a time of the register starved mainstream x86 architecture, it felt like rolling in gold and shrieking like a little piglet in ecstasy.
Re:The legend of “x86 CPUs decode instructions into RISC for... by mumbel on Sunday June 18, 2023 @01:50PM (#36382519)
Got interested in amd29k for about a week before finding something else to mess with. Quick attempt at ghidra support, but never really RE'd with it, so no clue how does on larger projects.

https://github.com/mumbel/ghidra_a29k