mirror of
https://github.com/corda/corda.git
synced 2025-02-11 05:12:09 +00:00
do a 32-bit comparison for cmp4 instruction on amd64
This commit is contained in:
parent
be5600d79d
commit
fdd57ad326
@ -1221,7 +1221,7 @@ RegisterOperand::accept(Context* c, Operation operation,
|
|||||||
register_(c, value(c))->accept
|
register_(c, value(c))->accept
|
||||||
(c, cmp, register_(c, operand->value(c)));
|
(c, cmp, register_(c, operand->value(c)));
|
||||||
} else {
|
} else {
|
||||||
rex(c);
|
if (operation == cmp8) rex(c);
|
||||||
c->code.append(0x39);
|
c->code.append(0x39);
|
||||||
c->code.append(0xc0 | (operand->value(c) << 3) | value(c));
|
c->code.append(0xc0 | (operand->value(c) << 3) | value(c));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user