diff gen/complex.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 7e0a766fef47
children 4adf0f742896
line wrap: on
line diff
--- a/gen/complex.cpp	Thu Oct 30 10:17:05 2008 +0100
+++ b/gen/complex.cpp	Thu Oct 30 11:08:34 2008 +0100
@@ -30,7 +30,7 @@
         return LLType::DoubleTy;
     }
     else if (ty == Tcomplex80) {
-        if (global.params.cpu == ARCHx86)
+        if ((global.params.cpu == ARCHx86) || (global.params.cpu == ARCHx86_64))
             return LLType::X86_FP80Ty;
         else
             return LLType::DoubleTy;