|
From: <sv...@va...> - 2005-08-12 23:51:33
|
Author: sewardj
Date: 2005-08-13 00:51:31 +0100 (Sat, 13 Aug 2005)
New Revision: 1332
Log:
Implement 'rep ret'.
Modified:
trunk/priv/guest-x86/toIR.c
Modified: trunk/priv/guest-x86/toIR.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/priv/guest-x86/toIR.c 2005-08-12 23:04:48 UTC (rev 1331)
+++ trunk/priv/guest-x86/toIR.c 2005-08-12 23:51:31 UTC (rev 1332)
@@ -11353,11 +11353,11 @@
dres.whatNext =3D Dis_StopHere;
break;
=20
-//-- case 0xC3: /* REP RET */
-//-- /* AMD K7/K8-specific optimisation; faster than vanilla RE=
T */
-//-- dis_ret(cb, 0);
-//-- DIP("rep ret\n");
-//-- break;
+ case 0xC3: /* REP RET -- same as normal ret? */
+ dis_ret(0);
+ dres.whatNext =3D Dis_StopHere;
+ DIP("rep ret\n");
+ break;
=20
default:
goto decode_failure;
|