|
From: <sv...@va...> - 2015-01-19 10:30:48
|
Author: sewardj
Date: Mon Jan 19 10:30:41 2015
New Revision: 3070
Log:
AMD64 NCode generation: enable generation of 'movzbq' from memory.
Companion commit to valgrind 14874.
Modified:
branches/NCODE/priv/host_amd64_defs.c
Modified: branches/NCODE/priv/host_amd64_defs.c
==============================================================================
--- branches/NCODE/priv/host_amd64_defs.c (original)
+++ branches/NCODE/priv/host_amd64_defs.c Mon Jan 19 10:30:41 2015
@@ -4313,7 +4313,7 @@
UChar shift = addr->Nea.RRS.shift;
if (shift <= 3) {
AMD64AMode* am = AMD64AMode_IRRS(0, baseR, indexR, shift);
- if (szB == 2) {
+ if (szB == 2 || szB == 1) {
HI( AMD64Instr_LoadEX(szB, False/*!syned*/, am, dstR) );
break;
}
|