[llvm-commits] CVS: llvm-test/MultiSource/Applications/minisat/Main.cpp
Lauro Ramos Venancio
lauro.venancio at gmail.com
Mon Mar 26 09:15:55 PDT 2007
Changes in directory llvm-test/MultiSource/Applications/minisat:
Main.cpp updated: 1.2 -> 1.3
---
Log message:
Fix compilation on arm-linux.
---
Diffs of the changes: (+1 -1)
Main.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm-test/MultiSource/Applications/minisat/Main.cpp
diff -u llvm-test/MultiSource/Applications/minisat/Main.cpp:1.2 llvm-test/MultiSource/Applications/minisat/Main.cpp:1.3
--- llvm-test/MultiSource/Applications/minisat/Main.cpp:1.2 Thu Feb 8 02:40:59 2007
+++ llvm-test/MultiSource/Applications/minisat/Main.cpp Mon Mar 26 11:15:37 2007
@@ -286,7 +286,7 @@
reportf("This is MiniSat 2.0 beta\n");
-#if defined(__linux__)
+#if defined(__linux__) && defined(_FPU_EXTENDED) && defined(_FPU_DOUBLE)
fpu_control_t oldcw, newcw;
_FPU_GETCW(oldcw); newcw = (oldcw & ~_FPU_EXTENDED) | _FPU_DOUBLE; _FPU_SETCW(newcw);
reportf("WARNING: for repeatability, setting FPU to use double precision\n");
More information about the llvm-commits
mailing list