arm64: notify compiler that x10 is used in setHostRoundingMode

Fixes a crash on switch in single-threaded mode in
setDefaultRoundingMode.
This commit is contained in:
Flyinghead 2024-01-17 10:08:44 +01:00
parent 2add951f70
commit c1b087df83
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ static void setHostRoundingMode()
"MSR FPCR, x10 \n\t"
:
: "r"(off_mask), "r"(on_mask)
: "x10"
);
#else
#error "SetFloatStatusReg: Unsupported platform"