mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Applied easy part from wilsonk's x86-64 patch in #107
This commit is contained in:
@@ -147,7 +147,7 @@ static void LLVM_D_BuildRuntimeModule()
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user