From f2685dbb1d3e63341febb3e33967d99783f4b91a Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 25 May 2015 14:32:38 -0500 Subject: [PATCH] Fixed SPLAT_F32 for non-AVX2 branch. --- src/xenia/cpu/backend/x64/x64_sequences.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/xenia/cpu/backend/x64/x64_sequences.cc b/src/xenia/cpu/backend/x64/x64_sequences.cc index 06a9146ef..9eb4cb074 100644 --- a/src/xenia/cpu/backend/x64/x64_sequences.cc +++ b/src/xenia/cpu/backend/x64/x64_sequences.cc @@ -5626,11 +5626,10 @@ EMITTER(SPLAT_F32, MATCH(I, F32<>>)) { if (i.src1.is_constant) { e.mov(e.eax, i.src1.value->constant.i32); e.vmovd(i.dest, e.eax); + e.vshufps(i.dest, i.dest, i.dest, 0); } else { - e.vmovd(i.dest, i.src1.reg().cvt32()); + e.vshufps(i.dest, i.src1, i.src1, 0); } - - e.vshufps(i.dest, i.dest, i.dest, 0); } } };