From: Julian Seward Date: Wed, 28 Jul 2004 07:13:38 +0000 (+0000) Subject: Fill in misc cases. X-Git-Tag: svn/VALGRIND_3_0_1^2~1185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c06d25eda1d308de654e2d6a4ea0e611805dd8;p=thirdparty%2Fvalgrind.git Fill in misc cases. git-svn-id: svn://svn.valgrind.org/vex/trunk@149 --- diff --git a/VEX/priv/guest-x86/ghelpers.c b/VEX/priv/guest-x86/ghelpers.c index ea40b23e93..e0b99bdc57 100644 --- a/VEX/priv/guest-x86/ghelpers.c +++ b/VEX/priv/guest-x86/ghelpers.c @@ -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); diff --git a/VEX/priv/host-x86/hdefs.c b/VEX/priv/host-x86/hdefs.c index 617fea6f84..2b43e66375 100644 --- a/VEX/priv/host-x86/hdefs.c +++ b/VEX/priv/host-x86/hdefs.c @@ -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: diff --git a/VEX/priv/ir/irdefs.c b/VEX/priv/ir/irdefs.c index 043bfdebbb..20b04cc878 100644 --- a/VEX/priv/ir/irdefs.c +++ b/VEX/priv/ir/irdefs.c @@ -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: