Commit afeb6ee3772edd18ad4b2b17abf57578ee91a9a3

Authored by bellard
1 parent f29042b5

suppressed undefined shldw shrdw


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@91 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 0 deletions
tests/test-i386-shift.h
... ... @@ -108,7 +108,12 @@ void exec_opb(int s0, int s1, int iflags)
108 108 void exec_op(int s2, int s0, int s1)
109 109 {
110 110 exec_opl(s2, s0, s1, 0);
  111 +#ifdef OP_SHIFTD
  112 + if (s1 <= 15)
  113 + exec_opw(s2, s0, s1, 0);
  114 +#else
111 115 exec_opw(s2, s0, s1, 0);
  116 +#endif
112 117 #ifndef OP_NOBYTE
113 118 exec_opb(s0, s1, 0);
114 119 #endif
... ...