diff options
| author | LC <mathew1800@gmail.com> | 2020-10-19 07:55:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-19 07:55:40 -0400 |
| commit | fc5fbf51347b4e59472526dbf1c492296514c3e8 (patch) | |
| tree | 8773def3446e6ab27a7f8eb536def2b117f5b0e3 /Source/Core | |
| parent | cec47b9c32403ea59b983dc882e3d2fba709dc33 (diff) | |
| parent | 3499cedde4162711fcc0bbf53187e4dffa637b16 (diff) | |
Merge pull request #9127 from Sintendo/fselx-movsd
Jit64: Optimize fsel a bit more
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp index f520520601..a8dcb144b7 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp @@ -449,7 +449,7 @@ void Jit64::fselx(UGeckoInstruction inst) MOVAPD(XMM1, Rc); } - if (packed) + if (d == c || packed) { VBLENDVPD(Rd, src1, Rb, XMM0); return; @@ -459,7 +459,7 @@ void Jit64::fselx(UGeckoInstruction inst) } else if (cpu_info.bSSE4_1) { - if (packed && d == c) + if (d == c) { BLENDVPD(Rd, Rb); return; |
