]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Handle Iop_Sar16.
authorJulian Seward <jseward@acm.org>
Tue, 14 Dec 2004 01:15:31 +0000 (01:15 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 14 Dec 2004 01:15:31 +0000 (01:15 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3197

memcheck/mc_translate.c

index accbb289b0e3e1cb62fd3c21b2f67d2b8ed9d2a2..1a8bdfa208f21d840e75b6fe1270b8f7b8bc57f0 100644 (file)
@@ -1365,7 +1365,7 @@ IRAtom* expr2vbits_Binop ( MCEnv* mce,
          complainIfUndefined(mce, atom2);
          return assignNew(mce, Ity_I32, binop(op, vatom1, atom2));
 
-      case Iop_Shl16: case Iop_Shr16:
+      case Iop_Shl16: case Iop_Shr16: case Iop_Sar16:
          /* Same scheme as with 32-bit shifts. */
          complainIfUndefined(mce, atom2);
          return assignNew(mce, Ity_I16, binop(op, vatom1, atom2));