diff options
Diffstat (limited to 'libphobos/src/std/math/hardware.d')
-rw-r--r-- | libphobos/src/std/math/hardware.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libphobos/src/std/math/hardware.d b/libphobos/src/std/math/hardware.d index c7c5d6e..dec8fdd 100644 --- a/libphobos/src/std/math/hardware.d +++ b/libphobos/src/std/math/hardware.d @@ -315,7 +315,7 @@ private: { asm nothrow @nogc { - "movgr2fcsr $r2,$r0"; + "movgr2fcsr $fcsr2,$r0"; } } else @@ -1166,7 +1166,7 @@ private: { asm nothrow @nogc { - "movgr2fcsr $r0,%0" : + "movgr2fcsr $fcsr0,%0" : : "r" (newState & (roundingMask | allExceptions)); } } |