]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Enable PMOVSXBW and fix lane shift widths.
authorJulian Seward <jseward@acm.org>
Fri, 2 Apr 2010 11:31:22 +0000 (11:31 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 2 Apr 2010 11:31:22 +0000 (11:31 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@1967

VEX/priv/guest_amd64_toIR.c

index 8f8b1c3dfdd5f9b87d1eb029e1fdf8ef0934360a..207b83ce9c646c5465891806083517a3d5d9e111 100644 (file)
@@ -13838,8 +13838,6 @@ DisResult disInstr_AMD64_WRK (
       goto decode_success;
    }
 
-
-#if 0
    /* 66 0f 38 20 /r = PMOVSXBW xmm1, xmm2/m64 
       Packed Move with Sign Extend from Byte to Word (XMM)
 
@@ -13869,8 +13867,8 @@ DisResult disInstr_AMD64_WRK (
       }
      
       putXMMReg( gregOfRexRM(pfx, modrm), 
-                 binop( Iop_SarN8x16
-                        binop( Iop_ShlN8x16
+                 binop( Iop_SarN16x8
+                        binop( Iop_ShlN16x8
                                binop( Iop_InterleaveLO8x16,
                                       IRExpr_Const( IRConst_V128(0) ),
                                       mkexpr(srcVec) ),
@@ -13879,7 +13877,6 @@ DisResult disInstr_AMD64_WRK (
      
       goto decode_success;
    }
-#endif
 
 
    /* 66 0f 38 21 /r = PMOVSXBD xmm1, xmm2/m32