[llvm-commits] CVS: llvm/lib/Target/X86/X86.td X86InstrInfo.td

Bill Wendling isanbard at gmail.com
Wed Apr 25 14:32:07 PDT 2007



Changes in directory llvm/lib/Target/X86:

X86.td updated: 1.30 -> 1.31
X86InstrInfo.td updated: 1.305 -> 1.306
---
Log message:

Add SSSE3 as a feature of Core2. Add MMX registers to the list of registers
clobbered by a call.


---
Diffs of the changes:  (+2 -1)

 X86.td          |    2 +-
 X86InstrInfo.td |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/X86/X86.td
diff -u llvm/lib/Target/X86/X86.td:1.30 llvm/lib/Target/X86/X86.td:1.31
--- llvm/lib/Target/X86/X86.td:1.30	Tue Apr 10 17:10:25 2007
+++ llvm/lib/Target/X86/X86.td	Wed Apr 25 16:31:48 2007
@@ -64,7 +64,7 @@
 def : Proc<"nocona",          [FeatureMMX, FeatureSSE1, FeatureSSE2,
                                FeatureSSE3, Feature64Bit]>;
 def : Proc<"core2",           [FeatureMMX, FeatureSSE1, FeatureSSE2,
-                               FeatureSSE3,  Feature64Bit]>;
+                               FeatureSSE3, FeatureSSSE3, Feature64Bit]>;
 
 def : Proc<"k6",              [FeatureMMX]>;
 def : Proc<"k6-2",            [FeatureMMX, Feature3DNow]>;


Index: llvm/lib/Target/X86/X86InstrInfo.td
diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.305 llvm/lib/Target/X86/X86InstrInfo.td:1.306
--- llvm/lib/Target/X86/X86InstrInfo.td:1.305	Sun Apr 22 20:28:10 2007
+++ llvm/lib/Target/X86/X86InstrInfo.td	Wed Apr 25 16:31:48 2007
@@ -458,6 +458,7 @@
 let isCall = 1, noResults = 1 in
   // All calls clobber the non-callee saved registers...
   let Defs = [EAX, ECX, EDX, FP0, FP1, FP2, FP3, FP4, FP5, FP6, ST0,
+              MM0, MM1, MM2, MM3, MM4, MM5, MM6, MM7,
               XMM0, XMM1, XMM2, XMM3, XMM4, XMM5, XMM6, XMM7] in {
     def CALLpcrel32 : I<0xE8, RawFrm, (ops i32imm:$dst, variable_ops),
                         "call ${dst:call}", []>;






More information about the llvm-commits mailing list