From c2ecdc5a26d345712808a674774546619477efa7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 28 May 2008 01:50:19 +0000 Subject: [PATCH] Fix the encoding for two more "rm" instructions that were using MRMSrcReg. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51630 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 613d35d0fc8..1ea4bfd35e0 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -2778,7 +2778,7 @@ let Constraints = "$src1 = $dst" in { (int_x86_ssse3_palign_r VR64:$src1, VR64:$src2, imm:$src3))]>; - def PALIGNR64rm : SS3AI<0x0F, MRMSrcReg, (outs VR64:$dst), + def PALIGNR64rm : SS3AI<0x0F, MRMSrcMem, (outs VR64:$dst), (ins VR64:$src1, i64mem:$src2, i16imm:$src3), "palignr\t{$src3, $src2, $dst|$dst, $src2, $src3}", [(set VR64:$dst, @@ -2794,7 +2794,7 @@ let Constraints = "$src1 = $dst" in { (int_x86_ssse3_palign_r_128 VR128:$src1, VR128:$src2, imm:$src3))]>, OpSize; - def PALIGNR128rm : SS3AI<0x0F, MRMSrcReg, (outs VR128:$dst), + def PALIGNR128rm : SS3AI<0x0F, MRMSrcMem, (outs VR128:$dst), (ins VR128:$src1, i128mem:$src2, i32imm:$src3), "palignr\t{$src3, $src2, $dst|$dst, $src2, $src3}", [(set VR128:$dst,