mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +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;
|
||||
|
||||
case 8:
|
||||
rex(c);
|
||||
case 4:
|
||||
rex(c);
|
||||
c->code.append(0x89);
|
||||
c->code.append(0xc0 | (a->low << 3) | b->low);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user