comparison 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
comparison
equal deleted inserted replaced
740:96484f5bf5af 741:4ac97ec7c18e
28 } 28 }
29 else if (ty == Tcomplex64) { 29 else if (ty == Tcomplex64) {
30 return LLType::DoubleTy; 30 return LLType::DoubleTy;
31 } 31 }
32 else if (ty == Tcomplex80) { 32 else if (ty == Tcomplex80) {
33 if (global.params.cpu == ARCHx86) 33 if ((global.params.cpu == ARCHx86) || (global.params.cpu == ARCHx86_64))
34 return LLType::X86_FP80Ty; 34 return LLType::X86_FP80Ty;
35 else 35 else
36 return LLType::DoubleTy; 36 return LLType::DoubleTy;
37 } 37 }
38 else { 38 else {