[llvm-commits] CVS: llvm/lib/Target/X86/X86RegisterInfo.cpp X86InstrSSE.td
Evan Cheng
evan.cheng at apple.com
Tue Apr 18 14:59:55 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86RegisterInfo.cpp updated: 1.142 -> 1.143
X86InstrSSE.td updated: 1.104 -> 1.105
---
Log message:
- PEXTRW cannot take a memory location as its first source operand.
- PINSRWrmi encoding bug.
---
Diffs of the changes: (+1 -9)
X86InstrSSE.td | 7 -------
X86RegisterInfo.cpp | 3 +--
2 files changed, 1 insertion(+), 9 deletions(-)
Index: llvm/lib/Target/X86/X86RegisterInfo.cpp
diff -u llvm/lib/Target/X86/X86RegisterInfo.cpp:1.142 llvm/lib/Target/X86/X86RegisterInfo.cpp:1.143
--- llvm/lib/Target/X86/X86RegisterInfo.cpp:1.142 Tue Apr 18 16:56:36 2006
+++ llvm/lib/Target/X86/X86RegisterInfo.cpp Tue Apr 18 16:59:43 2006
@@ -572,8 +572,7 @@
case X86::PUNPCKHWDrr:return MakeRMInst(X86::PUNPCKHWDrm, FrameIndex, MI);
case X86::PUNPCKHDQrr:return MakeRMInst(X86::PUNPCKHDQrm, FrameIndex, MI);
case X86::PUNPCKHQDQrr:return MakeRMInst(X86::PUNPCKHQDQrm, FrameIndex, MI);
- case X86::PEXTRWri: return MakeRMInst(X86::PEXTRWmi, FrameIndex, MI);
- case X86::PINSRWrri: return MakeRMInst(X86::PINSRWrmi, FrameIndex, MI);
+ case X86::PINSRWrri: return MakeRMIInst(X86::PINSRWrmi, FrameIndex, MI);
// Alias packed SSE instructions
case X86::MOVSS2PSrr:return MakeRMInst(X86::MOVSS2PSrm, FrameIndex, MI);
case X86::MOVSD2PDrr:return MakeRMInst(X86::MOVSD2PDrm, FrameIndex, MI);
Index: llvm/lib/Target/X86/X86InstrSSE.td
diff -u llvm/lib/Target/X86/X86InstrSSE.td:1.104 llvm/lib/Target/X86/X86InstrSSE.td:1.105
--- llvm/lib/Target/X86/X86InstrSSE.td:1.104 Tue Apr 18 16:55:35 2006
+++ llvm/lib/Target/X86/X86InstrSSE.td Tue Apr 18 16:59:43 2006
@@ -2007,13 +2007,6 @@
"pextrw {$src2, $src1, $dst|$dst, $src1, $src2}",
[(set R32:$dst, (X86pextrw (v8i16 VR128:$src1),
(i32 imm:$src2)))]>;
-def PEXTRWmi : PDIi8<0xC5, MRMSrcMem,
- (ops R32:$dst, i128mem:$src1, i32i8imm:$src2),
- "pextrw {$src2, $src1, $dst|$dst, $src1, $src2}",
- [(set R32:$dst, (X86pextrw
- (bc_v8i16 (loadv2i64 addr:$src1)),
- (i32 imm:$src2)))]>;
-
let isTwoAddress = 1 in {
def PINSRWrri : PDIi8<0xC4, MRMSrcReg,
(ops VR128:$dst, VR128:$src1, R32:$src2, i32i8imm:$src3),
More information about the llvm-commits
mailing list