mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-01 01:29:24 +02:00
Applied easy part from wilsonk's x86-64 patch in #107
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ const LLType* DtoType(Type* t)
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user