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:
parent
2add951f70
commit
c1b087df83
|
@ -124,6 +124,7 @@ static void setHostRoundingMode()
|
|||
"MSR FPCR, x10 \n\t"
|
||||
:
|
||||
: "r"(off_mask), "r"(on_mask)
|
||||
: "x10"
|
||||
);
|
||||
#else
|
||||
#error "SetFloatStatusReg: Unsupported platform"
|
||||
|
|
Loading…
Reference in New Issue