From 60b1a67af360b6d1531fdad1b58a705b27333757 Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 16 Aug 2015 04:52:19 -0500 Subject: [PATCH] Fixing vpkuhus. --- src/xenia/cpu/backend/x64/x64_sequences.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/cpu/backend/x64/x64_sequences.cc b/src/xenia/cpu/backend/x64/x64_sequences.cc index cee273e16..c3a492e36 100644 --- a/src/xenia/cpu/backend/x64/x64_sequences.cc +++ b/src/xenia/cpu/backend/x64/x64_sequences.cc @@ -6583,6 +6583,7 @@ struct PACK : Sequence> { e.CallNativeSafe( reinterpret_cast(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();