Maybe fixing vupkhsb/vupklsb.

This commit is contained in:
gibbed 2015-08-16 02:31:25 -05:00
parent d71c35bbe9
commit f06ddd3869
1 changed files with 2 additions and 2 deletions

View File

@ -6876,7 +6876,7 @@ struct UNPACK : Sequence<UNPACK, I<OPCODE_UNPACK, V128Op, V128Op>> {
} else {
// signed -> signed
e.vpunpckhbw(i.dest, i.src1, i.src1);
e.vpsrad(i.dest, 8);
e.vpsraw(i.dest, 8);
}
}
} else {
@ -6896,7 +6896,7 @@ struct UNPACK : Sequence<UNPACK, I<OPCODE_UNPACK, V128Op, V128Op>> {
} else {
// signed -> signed
e.vpunpcklbw(i.dest, i.src1, i.src1);
e.vpsrad(i.dest, 8);
e.vpsraw(i.dest, 8);
}
}
}