Tyler Stachecki
9b941eced8
Change RSP calling convention.
...
pblendvb needs the mask in %xmm0, so change the calling convention
around just enough so we can cut out a movdqa from most instructions.
2015-01-01 10:44:34 -05:00
Tyler Stachecki
ddb3c893e3
Implement register-caching version of VMRG.
2015-01-01 10:44:23 -05:00
Tyler Stachecki
4aabd7f49e
Minor tweaks to VEQ/VNE register-cached versions.
2015-01-01 10:44:16 -05:00
Tyler Stachecki
e810689fde
Implement register-caching versions of VGE.
2015-01-01 10:44:09 -05:00
Tyler Stachecki
340da34715
Implement register-caching versions of VEQ/VNE.
2015-01-01 10:44:02 -05:00
Tyler Stachecki
c83fe8d424
Prepare to register-cache RSP flags.
2015-01-01 10:43:54 -05:00
Tyler Stachecki
2cc1759259
Register-caching variations of bitwise functions.
2015-01-01 10:43:49 -05:00
Tyler Stachecki
586cf84113
Implement register-caching versions of VABS.
2015-01-01 10:43:44 -05:00
Tyler Stachecki
532dd87223
Actually optimize RelWithDebInfo builds.
2014-12-27 08:19:28 -05:00
Tyler Stachecki
4c9d129173
Fix SSSE3 builds/regex mistake in CMakeLists.
2014-12-26 14:55:43 -05:00
Tyler Stachecki
3a582f81ac
Clamp VMOV/VRCP/VRSQ in/outputs to full elements.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
c1f4ddd911
Fix MFC2/MTC2 odd-element byte indexing.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
71db976759
Fix a typo in the VMOV implementation.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
bc8300c7de
Fix a pair RSP flag-related bugs.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
574c85ad37
Add some missing flag clears to VCL.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
8f17a516bc
Fix a stray memory copy.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
6d0af5d89a
Cleanup SSSE3+ loads and stores.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
ee526c543c
Commit AIO's VCR optimizations.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
3a969b2379
Do some general cleanup/optimization.
2014-12-26 14:19:46 -05:00
Tyler Stachecki
b740c9a5b3
Optimize RSP CP2 register transfers.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
fea458e70c
Add (partial) implementations for LPV/LUV/SPV/SUV.
...
Also, cleanup other SSSE3+ accelerated loads and stores.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
03f04c1b82
Add implementation for MTC2.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
9f9e3ebf80
Sort out a pair of RSP bugs.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
b33f2800ae
Add implementation for MFC2.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
a2f87f843c
Optimize VRCP* and VRSQ* functions.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
824131db6b
Use a union for RSP vectors to force alignment.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
dc008abe77
Fix more show-stopping RSP bugs.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
173815ed63
Another bug: make sure memory requests get filled.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
1e059e3f71
Fix a potentially disasterous RSP bug.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
645f4b06ea
Minor cleanup to the RSP pipeline.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
6faca60054
Start reworking RSP vector loads and stores.
2014-12-26 14:19:45 -05:00
Tyler Stachecki
f1929a056c
Commit AIO's VMACF implementation.
2014-12-24 15:18:59 -05:00
Tyler Stachecki
ae714715fb
Commit AIO's VABS optimization.
2014-12-23 01:13:50 -05:00
Tyler Stachecki
ab8dde80e9
Add AIO's implementation for VMULU.
2014-12-23 01:10:15 -05:00
Tyler Stachecki
2ee295a671
Fix RSP DMEM accesses.
...
Up until now, the simulator assumed that DMEM accesses had to be
aligned (similarly to the VR4300). This is not actually the case,
so allow scalar memory access to arbitrary DMEM addresses.
2014-12-22 23:53:13 -05:00
Tyler Stachecki
3f2329be5b
Fix a bug in VRCP/VRSQ precision selection.
2014-12-22 21:06:17 -05:00
Tyler Stachecki
e52e031ce3
Add implementations for VRSQ, VRSQL, and VRSQH.
2014-12-22 20:47:48 -05:00
Tyler Stachecki
4b6904240e
Add implementations for VRCP, VRCPL, and VRCPH.
2014-12-22 20:29:16 -05:00
Tyler Stachecki
73709f4c45
Add implementation for VCR.
2014-12-22 13:01:03 -05:00
Tyler Stachecki
d3938056a4
Add a CONTRIBUTORS file.
2014-12-22 11:32:20 -05:00
Tyler Stachecki
88310a8104
Add AIO's implementation for VMULF.
2014-12-22 09:50:29 -05:00
Tyler Stachecki
f268795da5
Add implementation for VMRG.
2014-12-21 15:49:44 -05:00
Tyler Stachecki
9f4664a4b6
Add implementation for VADDC.
2014-12-21 15:29:16 -05:00
Tyler Stachecki
a955bf1e2c
Add implementation for VSUBC.
2014-12-21 15:07:00 -05:00
Tyler Stachecki
bea9f197c0
Upgrade POSIX_C_SOURCE so we get snprintf.
2014-12-21 14:04:08 -05:00
Tyler Stachecki
f199c7bac8
Add implementation for VABS.
2014-12-21 12:59:36 -05:00
Tyler Stachecki
de5b5b0f96
Commit AIO's VSUB optimizations, fix carry/borrow issue.
2014-12-21 12:55:38 -05:00
Tyler Stachecki
0be40f4358
Add implementations for VGE and VLT.
2014-12-21 11:08:00 -05:00
Tyler Stachecki
dc50279609
Add implementations for VEQ and VNE.
2014-12-21 10:39:10 -05:00
Tyler Stachecki
579fb317a8
Formatting/consistency fixes (remove tabs).
2014-12-21 10:20:45 -05:00