Fixing vpkuhus.

This commit is contained in:
gibbed 2015-08-16 04:52:19 -05:00
parent 9129b9caa9
commit 60b1a67af3
1 changed files with 1 additions and 0 deletions

View File

@ -6583,6 +6583,7 @@ struct PACK : Sequence<PACK, I<OPCODE_PACK, V128Op, V128Op, V128Op>> {
e.CallNativeSafe(
reinterpret_cast<void*>(EmulatePack8_IN_16_UN_UN_SAT));
e.vmovaps(i.dest, e.xmm0);
e.vpshufb(i.dest, i.dest, e.GetXmmConstPtr(XMMByteOrderMask));
} else {
// unsigned -> unsigned
assert_always();