4 ms·
Looks like many x86 cores still do rename MXCSR, though Gracemont notably doesn't: https://chipsandcheese.com/2021/12/21/gracemont-revenge-of-the-atom-cores/ ht
by ack_complete 4y ago
Looks like many x86 cores still do rename MXCSR, though Gracemont notably doesn't:
https://chipsandcheese.com/2021/12/21/gracemont-revenge-of-the-atom-cores/ https://chipsandcheese.com/2021/12/21/gracemont-revenge-of-t...
Note that you wouldn't necessarily need to do a read-modify-write -- it'd suffice in most cases to just to save the old value and then reset the whole MXCSR for the scope requiring special treatment.
- titzer 4y agoAlso worth noting that it's not the entire MXCSR that needs to be renamed, but just a handful of status bits, so the logic is likely even cheaper than renaming a GPR.