logoalt Hacker News

thesnidelast Tuesday at 6:50 PM1 replyview on HN

I'm wondering if we'll see some riscv extensions specifically designed to improve x86/amd64 emulation, such as what the M1 and other did.


Replies

Findecanorlast Tuesday at 8:17 PM

Some upcoming chips are supposed to support switching individual processes to x86's "TSO" memory model. That might be the most significant extension that Apple has for x86 emulation: it allows eliding all memory fence instructions used to adapt to the weaker memory model.

LoongArch could have instructions that emulate specific x86 behaviour and flags, but there is practically no documentation available.

show 1 reply