Commit Graph

15132 Commits

Author SHA1 Message Date
Henrik Rydgård
0d1a515c6a Merge pull request #7067 from unknownbrackets/jit-bench
Add some jit benchmarking code
2014-11-08 10:55:19 +01:00
Henrik Rydgård
f25e0f955a Merge pull request #7065 from sum2012/memset
Prevent unknown getpointer in sceKernelMemset
2014-11-08 10:54:53 +01:00
Unknown W. Brackets
316e923b40 x86jit: Implement other forms of vx2i.
Gains 3.2% performance in Grand Knights History.
2014-11-08 00:39:40 -08:00
Unknown W. Brackets
836328d731 Cut down on test overhead a good bit. 2014-11-07 22:51:01 -08:00
Unknown W. Brackets
2efecc5c38 Add some jit benchmarking code. 2014-11-07 22:40:28 -08:00
sum2012
758ddffc37 Prevent unknown getpointer in sceKernelMemset
Fix #7064
2014-11-08 06:49:24 +08:00
Henrik Rydgård
47b731b882 Merge pull request #7053 from Bigpet/fixSoftMode
Disable software rendering UI when Direct3D is used
2014-11-07 12:17:10 +01:00
Henrik Rydgård
517ca0569e Merge pull request #7058 from unknownbrackets/io-minor
Handle negative read sizes more correctly
2014-11-07 12:16:09 +01:00
Henrik Rydgård
4eb9dc05c0 Merge pull request #7055 from unknownbrackets/reloc-fix
Correct unload of imported vars
2014-11-07 12:15:50 +01:00
Henrik Rydgård
2f1d3dff94 Merge pull request #7060 from sum2012/lang
Add Lithuanian language
2014-11-07 12:15:41 +01:00
Henrik Rydgård
f975e8e0e2 Merge pull request #7061 from unknownbrackets/jit-minor
x86jit: Micro optimize vs2i a bit
2014-11-07 12:15:31 +01:00
Unknown W. Brackets
097a483d77 x86jit: Micro optimize vs2i a bit. 2014-11-06 22:45:54 -08:00
sum2012
958adb1b69 Add in the main project 2014-11-07 05:48:24 +08:00
sum2012
44a8249db8 Add Lithuanian language 2014-11-07 05:47:14 +08:00
Unknown W. Brackets
59c1485e64 Fix typo. 2014-11-06 08:51:15 -08:00
Unknown W. Brackets
79ff697f9d Return an error code for negative file sizes. 2014-11-06 08:45:45 -08:00
Unknown W. Brackets
c085b9c082 Don't try to read negative file sizes. 2014-11-06 08:45:33 -08:00
Unknown W. Brackets
49aff7c75d Correct unload of imported vars.
From level99procrastinator, just slightly adjusted.
2014-11-05 22:57:25 -08:00
Peter Tissen
da43a19e15 Disable software rendering UI when Direct3D is used 2014-11-06 00:40:14 +01:00
Unknown W. Brackets
5bb6395d2b Update native (fixes #7050.) 2014-11-05 09:17:44 -08:00
Henrik Rydgård
9d23c4d7d5 Merge pull request #7051 from unknownbrackets/minor
Minor snprintf() and perf changes
2014-11-05 17:17:52 +01:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
Unknown W. Brackets
ebb9f68c3e u_lightpos is always set when lights are available.
Tiny optimization.
2014-11-05 00:57:22 -08:00
Unknown W. Brackets
7819b97c9a iOS buildfix. 2014-11-04 08:32:43 -08:00
Henrik Rydgård
87c4552de2 Merge pull request #7049 from AbandonedCart/master
Correct a namespace typo
2014-11-04 13:06:13 +01:00
TwistedUmbrella
6797044476 Correct a namespace typo 2014-11-04 05:10:22 -05:00
Unknown W. Brackets
c0804427ef Merge remote-tracking branch pull/7047.
And fix the whitespace + optimize the pngs.
2014-11-04 01:46:00 -08:00
Unknown W. Brackets
3061e89250 Fix copy/paste mistake. 2014-11-04 01:41:17 -08:00
Henrik Rydgård
722bf07881 Merge pull request #7048 from unknownbrackets/jit-minor
Implement a few more x86jit ops
2014-11-04 10:25:49 +01:00
TwistedUmbrella
07f0478425 Xcode 6 / iPhone 6 compatibility updates 2014-11-04 03:37:40 -05:00
Unknown W. Brackets
0d36d4e082 Add a helper to reduce duplicate code.
This is not performance critical.  I wonder if compilers can inline
closures?
2014-11-03 23:50:23 -08:00
Unknown W. Brackets
16ca2b0155 x86jit: Fix trig vv2ops on 32-bit, arg. 2014-11-03 23:43:18 -08:00
Unknown W. Brackets
5ef2df7ebd Fix a small warning on 32-bit.
Would only practically matter for very very large reads on very very large
csos.
2014-11-03 23:32:25 -08:00
Unknown W. Brackets
3e95763a3f x86jit: Implement other rounding modes in vf2i.
3% improvement in Grand Knights History.  I know other games use these
too.
2014-11-03 23:27:05 -08:00
Unknown W. Brackets
d7bdded6f8 x86jit: fix rip addressing on PEXTRW/PINSRW.
I think this is right anyway, not 100% sure.
2014-11-03 23:18:32 -08:00
Unknown W. Brackets
844c7e73d3 x86jit: Add SSE 4.1 rounding ops to emitter. 2014-11-03 23:18:09 -08:00
Unknown W. Brackets
717cf25f0d x86jit: Use our sincos funcs for VV2Op as well.
Small (0.7%) speedup in Gods Eater Burst.  There's probably SSE
approximations we could use instead, but those will also need at least xmm
reg flushing/thunking.

At least this avoids flushing gprs, etc.  The sin and cos ops are fairly
common.
2014-11-03 22:13:38 -08:00
Unknown W. Brackets
014445655d Actually clear the hash->func map on forget.
Better not to have dangling pointers.
2014-11-03 13:49:45 -08:00
Unknown W. Brackets
10bcb323ac Oops, forgot to free up zlib resources. 2014-11-03 13:40:09 -08:00
Henrik Rydgård
f1d43e7e90 Merge pull request #7046 from unknownbrackets/perf
Improve load and shutdown performance a bit
2014-11-03 21:50:10 +01:00
Unknown W. Brackets
b279b6d461 Typo. 2014-11-03 09:00:20 -08:00
Unknown W. Brackets
ad6b176e11 Naturally, modern C++ would not build on Symbian. 2014-11-03 08:56:45 -08:00
Unknown W. Brackets
61c21340fb Warning fixes. 2014-11-03 08:34:34 -08:00
Unknown W. Brackets
9d86d3ca9b Use std::unordered_multimaps in a few places. 2014-11-03 08:31:52 -08:00
Unknown W. Brackets
67a7205bdd Switch to a multimap for the hash->function map. 2014-11-03 07:59:56 -08:00
Unknown W. Brackets
8a57e37f33 Minor tweak to avoid some function call overhead. 2014-11-03 07:36:17 -08:00
Unknown W. Brackets
28b3b841d5 Implement optimized multi-block reads for iso/cso.
This of course means less fread() calls, and is faster.  It improves load
time even on my desktop.
2014-11-02 21:43:27 -08:00
Unknown W. Brackets
9c5ad44000 Add an interface to read multiple blocks at once. 2014-11-02 19:54:13 -08:00
Unknown W. Brackets
bf50baf698 Cleanup some old typedefs. 2014-11-02 18:46:12 -08:00
Unknown W. Brackets
a391296c17 Small optimization to func/var import.
Should compare the nid first, of course, faster and less likely to match
anyway.
2014-11-02 17:53:46 -08:00