diff gen/runtime.cpp @ 741:4ac97ec7c18e

Applied easy part from wilsonk's x86-64 patch in #107
author Christian Kamm <kamm incasoftware de>
date Thu, 30 Oct 2008 11:08:34 +0100
parents 635f91212b78
children 661384d6a936
line wrap: on
line diff
--- a/gen/runtime.cpp	Thu Oct 30 10:17:05 2008 +0100
+++ b/gen/runtime.cpp	Thu Oct 30 11:08:34 2008 +0100
@@ -147,7 +147,7 @@
     const LLType* floatTy = LLType::FloatTy;
     const LLType* doubleTy = LLType::DoubleTy;
     const LLType* realTy;
-    if (global.params.cpu == ARCHx86)
+    if ((global.params.cpu == ARCHx86) || (global.params.cpu == ARCHx86_64))
         realTy = LLType::X86_FP80Ty;
     else
         realTy = LLType::DoubleTy;