Applied easy part from wilsonk's x86-64 patch in #107

This commit is contained in:
Christian Kamm
2008-10-30 11:08:34 +01:00
parent e625829f0f
commit 891d17e4b5
20 changed files with 253 additions and 75 deletions

View File

@@ -30,7 +30,7 @@ const LLType* DtoComplexBaseType(Type* t)
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;