aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-11 00:12:54 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-04-11 00:12:54 +0000
commitafeb6ee3772edd18ad4b2b17abf57578ee91a9a3 (patch)
treeab5da825b8a89c926be36fe5058a3a6c97e7067b
parentf29042b5312f7ec97ec7ca678ccbea8997a817c8 (diff)
downloadqemu-afeb6ee3772edd18ad4b2b17abf57578ee91a9a3.zip
qemu-afeb6ee3772edd18ad4b2b17abf57578ee91a9a3.tar.gz
qemu-afeb6ee3772edd18ad4b2b17abf57578ee91a9a3.tar.bz2
suppressed undefined shldw shrdw
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@91 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--tests/test-i386-shift.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-i386-shift.h b/tests/test-i386-shift.h
index f3795d9..c3d8793 100644
--- a/tests/test-i386-shift.h
+++ b/tests/test-i386-shift.h
@@ -108,7 +108,12 @@ void exec_opb(int s0, int s1, int iflags)
void exec_op(int s2, int s0, int s1)
{
exec_opl(s2, s0, s1, 0);
+#ifdef OP_SHIFTD
+ if (s1 <= 15)
+ exec_opw(s2, s0, s1, 0);
+#else
exec_opw(s2, s0, s1, 0);
+#endif
#ifndef OP_NOBYTE
exec_opb(s0, s1, 0);
#endif