mirror of
https://github.com/corda/corda.git
synced 2025-03-15 00:36:49 +00:00
fix thinko in 8-byte shift operation implementations
This commit is contained in:
parent
f75c9c8d33
commit
15f627701b
@ -2092,7 +2092,7 @@ MemoryOperand::accept(Context* c, Operation op, RegisterOperand* operand)
|
||||
RegisterOperand* tmp = temporary(c);
|
||||
|
||||
cx->accept(c, mov, operand);
|
||||
tmp->accept(c, mov, this);
|
||||
tmp->accept(c, mov, high(c));
|
||||
// shrd
|
||||
encode2(c, 0x0fad, tmp->value(c), this, false);
|
||||
// sar
|
||||
@ -2115,7 +2115,7 @@ MemoryOperand::accept(Context* c, Operation op, RegisterOperand* operand)
|
||||
RegisterOperand* tmp = temporary(c);
|
||||
|
||||
cx->accept(c, mov, operand);
|
||||
tmp->accept(c, mov, this);
|
||||
tmp->accept(c, mov, high(c));
|
||||
// shrd
|
||||
encode2(c, 0x0fad, tmp->value(c), this, false);
|
||||
// shr
|
||||
|
Loading…
x
Reference in New Issue
Block a user