[cfe-commits] r63849 - /cfe/trunk/lib/Basic/Targets.cpp
Chris Lattner
sabre at nondot.org
Wed Feb 4 23:32:47 PST 2009
Author: lattner
Date: Thu Feb 5 01:32:46 2009
New Revision: 63849
URL: http://llvm.org/viewvc/llvm-project?rev=63849&view=rev
Log:
make clang agree with gcc 4.2's x86-64 predefines and settings.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=63849&r1=63848&r2=63849&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Thu Feb 5 01:32:46 2009
@@ -197,6 +197,7 @@
Define(Defs, "__amd64");
Define(Defs, "__x86_64");
Define(Defs, "__x86_64__");
+ Define(Defs, "__SSE3__");
} else {
Define(Defs, "__i386__");
Define(Defs, "__i386");
@@ -669,6 +670,9 @@
DoubleAlign = LongLongAlign = 64;
LongDoubleWidth = 128;
LongDoubleAlign = 128;
+ IntMaxType = SignedLong;
+ UIntMaxType = UnsignedLong;
+
DescriptionString = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"
"i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-"
"a0:0:64-f80:128:128";
More information about the cfe-commits
mailing list