Re:AMD entered the CPU market with reverse-engineered Intel ...
by BlueToth on Wednesday December 24, 2025 @12:53PM
(#46377643)
They said that they implemented x86 ISA memory handling instructions, that substantially sped up the emulation. I don't remember exactly which now, but they explained this all in a WWDC video about the emulation.
[ Parent
| on HN ]
Re:AMD entered the CPU market with reverse-engineered Intel ...
by fweimer on Wednesday December 24, 2025 @02:15PM
(#46378319)
There's a Linux patch that exposes it via prctl: https://lore.kernel.org/all/20240410211652.16640-1-zayd_qums...
There's also the CFINV instruction (architectural, part of FEAT_FLAGM), which helps with emulating the x86-64 CMP instruction.
Re:AMD entered the CPU market with reverse-engineered Intel ...
by als0 on Wednesday December 24, 2025 @01:06PM
(#46377769)
Not instructions per se. Rosetta is a software based binary translator, and one of the most intensive parts about translating x86 to ARM is having to make sure all load/store instructions are strictly well ordered. To alleviate this pressure, Apple implemented the Total Store Ordering (TSO) feature in hardware, which makes sure that all ARM load and store instructions (transparently) follow the same memory ordering rules as x86.
Re:AMD entered the CPU market with reverse-engineered Intel ...
by nineteen999 on Wednesday December 24, 2025 @02:16PM
(#46378323)
It is funny to hear sometimes though:
"Apple created a chip which is not an X86! Its awesome! And the best thing about it is ... it does TSO does like an X86! Isn't that great?"