4 ms·
I’m pretty sure there’s some Apple specific instructions that help with Rosetta 2.
by tinus_hn 3y ago
I’m pretty sure there’s some Apple specific instructions that help with Rosetta 2.
- saagarjha 3y agoNot for Rosetta 2.
- tinus_hn 3y agoHere’s more information: https://dougallj.wordpress.com/2022/11/09/why-is-rosetta-2-fast/ https://dougallj.wordpress.com/2022/11/09/why-is-rosetta-2-f...
- saagarjha 3y agoThese are all standard ARM instructions. Apple tweaks the semantics of some of them in Rosetta mode to better support what they’re doing but it’s otherwise not involving any new encodings.
- tinus_hn 3y agoAs named, the extensions called ‘Apple’s secret extension’ are not standard, they are Apple specific and it’s not just ‘tweak the semantics’, it’s custom and only turned on for Rosetta 2 because otherwise they would cause unexpected results for software expediting normal ARM behavior.