|
From: <sv...@va...> - 2012-09-02 20:28:37
|
sewardj 2012-09-02 21:28:28 +0100 (Sun, 02 Sep 2012)
New Revision: 2503
Log:
Merge from trunk, r2476 (Iimplement 0F 7F encoding of movq between two
registers. Fixes #305042.)
Modified directories:
branches/VEX_3_8_BRANCH/
Modified files:
branches/VEX_3_8_BRANCH/priv/guest_amd64_toIR.c
Modified: branches/VEX_3_8_BRANCH/
Modified: branches/VEX_3_8_BRANCH/priv/guest_amd64_toIR.c (+5 -3)
===================================================================
--- branches/VEX_3_8_BRANCH/priv/guest_amd64_toIR.c 2012-09-02 21:25:18 +01:00 (rev 2502)
+++ branches/VEX_3_8_BRANCH/priv/guest_amd64_toIR.c 2012-09-02 21:28:28 +01:00 (rev 2503)
@@ -7104,9 +7104,11 @@
goto mmx_decode_failure;
modrm = getUChar(delta);
if (epartIsReg(modrm)) {
- /* Fall through. The assembler doesn't appear to generate
- these. */
- goto mmx_decode_failure;
+ delta++;
+ putMMXReg( eregLO3ofRM(modrm), getMMXReg(gregLO3ofRM(modrm)) );
+ DIP("movq %s, %s\n",
+ nameMMXReg(gregLO3ofRM(modrm)),
+ nameMMXReg(eregLO3ofRM(modrm)));
} else {
IRTemp addr = disAMode( &len, vbi, pfx, delta, dis_buf, 0 );
delta += len;
Property changed: branches/VEX_3_8_BRANCH (+0 -0)
___________________________________________________________________
Name: svn:mergeinfo
- /branches/TCHAIN:2272-2295
/trunk:2469,2475
+ /branches/TCHAIN:2272-2295
/trunk:2469,2475-2476
|