Commit 39599248 authored by Marius Wachtler's avatar Marius Wachtler

assembler: fix movsd(Indirect src, XMMRegister dest) encoding

parent 50552a0c
......@@ -526,13 +526,12 @@ void Assembler::movsd(Indirect src, XMMRegister dest) {
int dest_idx = dest.regnum;
if (src_idx >= 8) {
trap();
rex |= REX_R;
rex |= REX_B;
src_idx -= 8;
}
if (dest_idx >= 8) {
trap();
rex |= REX_B;
rex |= REX_R;
dest_idx -= 8;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment