mirror of
https://github.com/corda/corda.git
synced 2025-01-09 06:23:04 +00:00
treat 4-byte reg-to-reg moves as 8-byte moves on amd64 since the intention is to copy integer values verbatim; all tests now pass on amd64
This commit is contained in:
parent
8be4cf8fa6
commit
505e0bd7db
@ -616,8 +616,8 @@ moveRR(Context* c, unsigned size, Assembler::Register* a,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 8:
|
case 8:
|
||||||
rex(c);
|
|
||||||
case 4:
|
case 4:
|
||||||
|
rex(c);
|
||||||
c->code.append(0x89);
|
c->code.append(0x89);
|
||||||
c->code.append(0xc0 | (a->low << 3) | b->low);
|
c->code.append(0xc0 | (a->low << 3) | b->low);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user