Fixing vpkuhus.
This commit is contained in:
parent
9129b9caa9
commit
60b1a67af3
|
@ -6583,6 +6583,7 @@ struct PACK : Sequence<PACK, I<OPCODE_PACK, V128Op, V128Op, V128Op>> {
|
||||||
e.CallNativeSafe(
|
e.CallNativeSafe(
|
||||||
reinterpret_cast<void*>(EmulatePack8_IN_16_UN_UN_SAT));
|
reinterpret_cast<void*>(EmulatePack8_IN_16_UN_UN_SAT));
|
||||||
e.vmovaps(i.dest, e.xmm0);
|
e.vmovaps(i.dest, e.xmm0);
|
||||||
|
e.vpshufb(i.dest, i.dest, e.GetXmmConstPtr(XMMByteOrderMask));
|
||||||
} else {
|
} else {
|
||||||
// unsigned -> unsigned
|
// unsigned -> unsigned
|
||||||
assert_always();
|
assert_always();
|
||||||
|
|
Loading…
Reference in New Issue