]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fill in misc cases.
authorJulian Seward <jseward@acm.org>
Wed, 28 Jul 2004 07:13:38 +0000 (07:13 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 28 Jul 2004 07:13:38 +0000 (07:13 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@149

VEX/priv/guest-x86/ghelpers.c
VEX/priv/host-x86/hdefs.c
VEX/priv/ir/irdefs.c

index ea40b23e9337ae75640b284659204df5847bf11d..e0b99bdc5734279e234872496a1f169a38299bfb 100644 (file)
@@ -215,6 +215,7 @@ static inline int lshift(int x, int n)
 
       case CC_OP_INCL: ACTIONS_INC(32,UInt,Int);
 
+      case CC_OP_DECB: ACTIONS_DEC(8,UChar,Char);
       case CC_OP_DECL: ACTIONS_DEC(32,UInt,Int);
 
       case CC_OP_SHLL: ACTIONS_SHL(32,UInt,Int);
index 617fea6f84cd1e2d39cb53b3cca02f08d4e5e399..2b43e66375375d497167301e34767de9dfb849dc 100644 (file)
@@ -1166,7 +1166,6 @@ Int emit_X86Instr ( UChar* buf, Int nbuf, X86Instr* i )
    case Xin_MulL:
       subopc = i->Xin.MulL.syned ? 5 : 4;
       if (i->Xin.MulL.ssz == Xss_32) {
-         vassert(!i->Xin.MulL.syned); // remove when a test case appears
          *p++ = 0xF7;
          switch (i->Xin.MulL.src->tag)  {
             case Xrm_Mem:
index 043bfdebbb8abbd13a74b2488f18399e1b0a56f8..20b04cc87871c9cf0334f535d6b764cba881fcff 100644 (file)
@@ -476,6 +476,7 @@ void typeOfPrimop ( IROp op, IRType* t_dst, IRType* t_arg1, IRType* t_arg2 )
          BINARY(Ity_I64,Ity_I32,Ity_I32);
 
       case Iop_DivModU64to32:
+      case Iop_DivModS64to32:
          BINARY(Ity_I64,Ity_I64,Ity_I32);
 
       case Iop_64HIto32: case Iop_64LOto32: