From c9bdb006834a4ab0eae0e1b8742e87b0d64aac81 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Tue, 13 May 2008 01:47:52 +0000 Subject: [PATCH] Fix and encoding error in the psrad xmm, imm8 instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51020 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrSSE.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index ace35029604..1f13a07e125 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -1916,7 +1916,7 @@ defm PSRLQ : PDI_binop_rmi_int<0xD3, 0x72, MRM2r, "psrlq", defm PSRAW : PDI_binop_rmi_int<0xE1, 0x71, MRM4r, "psraw", int_x86_sse2_psra_w, int_x86_sse2_psrai_w>; -defm PSRAD : PDI_binop_rmi_int<0xE2, 0x71, MRM4r, "psrad", +defm PSRAD : PDI_binop_rmi_int<0xE2, 0x72, MRM4r, "psrad", int_x86_sse2_psra_d, int_x86_sse2_psrai_d>; // 128-bit logical shifts.