JosJuice
8d2c069c34
Interpreter: Return float from ForceSingle
...
Performance optimization, along with making the code a little
neater. Saves us from performing a single -> double -> single
conversion when calling UpdateFPRFSingle.
2021-06-27 20:34:49 +02:00
JosJuice
d56721ebb9
Interpreter: Fix FPRF handling of denormal singles
2021-06-27 20:34:49 +02:00
JosJuice
def5666419
JitArm64: Fix FPRF handling of denormal singles
...
The interpreter was wrong after all. Hardware verified.
2021-06-27 20:34:49 +02:00
Tilka and GitHub
aff39af5fb
Merge pull request #9810 from JosJuice/fprf-cmp-mask
...
Jits: Fix fcmpX FPRF mask
2021-06-27 19:32:19 +01:00
Tilka and GitHub
4166567f92
Merge pull request #9812 from JosJuice/fprf-x64-neg-zero
...
Jit64: Fix FPRF non-SSE4.1 handling of negative zero
2021-06-27 19:21:51 +01:00
Sintendo
7de4623d48
Jit64: mtfsfx - Optimized masking
...
The masking logic can be eliminated when the mask is known to be all
ones. This case is very common.
Before:
66 48 0F 7E F0 movq rax,xmm6
8B 55 5C mov edx,dword ptr [rbp+5Ch]
83 E0 FF and eax,0FFFFFFFFh
83 E2 00 and edx,0
0B C2 or eax,edx
89 45 5C mov dword ptr [rbp+5Ch],eax
48 8D 15 C3 3C FE 01 lea rdx,[19520020h]
83 E0 07 and eax,7
0F AE 14 82 ldmxcsr dword ptr [rdx+rax*4]
After:
66 48 0F 7E F0 movq rax,xmm6
89 45 5C mov dword ptr [rbp+5Ch],eax
48 8D 15 2A D1 FD 01 lea rdx,[19440000h]
83 E0 07 and eax,7
0F AE 14 82 ldmxcsr dword ptr [rdx+rax*4]
2021-06-26 17:31:31 +02:00
JosJuice
36798b18e8
JitArm64: Improve fctiwzx constant generation in double case
...
If we already have to use a GPR, we might as well take advantage
of the nice immediate encodings provided by GPR ORR. This is
faster, smaller, and saves a register.
2021-06-26 15:41:23 +02:00
OatmealDome
156ffef98c
WiimoteScannerDarwin: Fix lint
2021-06-24 17:59:58 -04:00
JosJuice
8cd37e040a
JitArm64: Implement mffsx
...
Part 2 of implementing the FPSCR system register instructions.
2021-06-24 12:00:58 +02:00
OatmealDome
b494d109d4
WiimoteScannerBackend: Allow StopThreads to request that any Wiimote searching stops
...
Used by WiimoteScannerDarwin to know when to exit its runloop.
2021-06-23 23:09:01 -04:00
OatmealDome
0de30fa0bb
WiimoteScannerDarwin: Initialize IOBluetoothHostController in constructor
2021-06-23 22:55:15 -04:00
Léo Lam and GitHub
c77a5f7e32
Merge pull request #9825 from JosJuice/jitarm64-mcrfs
...
JitArm64: Implement mcrfs
2021-06-24 03:05:15 +02:00
Léo Lam and GitHub
0087eed235
Merge pull request #9793 from sepalani/template-mmio
...
MMIOHandlers: Move method definitions to MMIO.cpp
2021-06-24 02:42:52 +02:00
thyrc and Léo Lam
7a1922fd8f
Fix includes for musl libc
2021-06-24 02:01:07 +02:00
Léo Lam and GitHub
9476733a80
Merge pull request #9829 from sepalani/ai-samples
...
AudioInterface: Fix sample counter
2021-06-24 01:35:29 +02:00
Léo Lam and GitHub
a632a6a404
Merge pull request #9833 from Pokechu22/ubershaders-tevcoord
...
UberShaderPixel: always set tevcoord, even if the stage has no texture
2021-06-24 01:05:17 +02:00
Léo Lam and GitHub
b66e88e4b9
Merge pull request #9837 from AdmiralCurtiss/mysterious-voodoo-performance-fix
...
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
2021-06-24 00:41:43 +02:00
JMC47 and GitHub
46120a6108
Merge pull request #9742 from Pokechu22/sw-resolution
...
Software: Fix bad backbuffer size
2021-06-23 18:36:04 -04:00
JMC47 and GitHub
63c028c5df
Merge pull request #9832 from Pokechu22/software-color-asserts
...
Software: Remove texinfo.sourcerow == SourceRow::Colors assert
2021-06-23 18:34:19 -04:00
JMC47 and GitHub
95ecb73b11
Merge pull request #9826 from Techjar/fix-tmem-mips
...
VideoCommon/TextureInfo: Fix mipmap loading from tmem
2021-06-23 18:21:55 -04:00
Admiral H. Curtiss
1183fb3d2d
VideoCommon/Fifo: Move SConfig::GetInstance() outside the GPU loop.
2021-06-23 23:52:26 +02:00
OatmealDome
eb7b70b48d
WiimoteScannerDarwin: Don't attempt to scan if inquiry doesn't start
2021-06-23 14:31:16 -04:00
OatmealDome
6794532abe
IOdarwin_private: Remove hack for bug fixed in newer macOS SDKs
2021-06-23 04:03:28 -04:00
OatmealDome
74755e5939
WiimoteScannerDarwin: Rename stopScanning for code style compliance
2021-06-23 04:01:42 -04:00
Pokechu22
2f1726e3f3
UberShaderPixel: always set tevcoord, even if the stage has no texture
...
This fixes NES game graphics when UberShaders are in use.
2021-06-21 13:01:25 -07:00