mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
666 B
Diff
25 lines
666 B
Diff
|
From 8f5d38f857ec3fa8dfbd9c592aae74c4c36e40e4 Mon Sep 17 00:00:00 2001
|
||
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
Date: Thu, 6 Dec 2018 17:26:03 -0700
|
||
|
Subject: [PATCH] AArch64 fix
|
||
|
|
||
|
---
|
||
|
libphobos/src/std/math.d | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
diff --git a/libphobos/src/std/math.d b/libphobos/src/std/math.d
|
||
|
index e1abf164..db11ebf4 100644
|
||
|
--- a/libphobos/src/std/math.d
|
||
|
+++ b/libphobos/src/std/math.d
|
||
|
@@ -5337,6 +5337,7 @@ private:
|
||
|
}
|
||
|
else version (AArch64)
|
||
|
{
|
||
|
+ ControlState cont;
|
||
|
asm pure nothrow @nogc
|
||
|
{
|
||
|
"mrs %0, FPCR;" : "=r" cont;
|
||
|
--
|
||
|
2.19.1
|
||
|
|