diff gen/tollvm.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 55f6c2e454d7
children f04dde6e882c
line wrap: on
line diff
--- a/gen/tollvm.cpp	Thu Oct 30 10:17:05 2008 +0100
+++ b/gen/tollvm.cpp	Thu Oct 30 11:08:34 2008 +0100
@@ -88,7 +88,7 @@
         return LLType::DoubleTy;
     case Tfloat80:
     case Timaginary80:
-        if (global.params.cpu == ARCHx86)
+        if (global.params.cpu == ARCHx86 || global.params.cpu == ARCHx86_64)
             return LLType::X86_FP80Ty;
         else
             return LLType::DoubleTy;