Commit Graph
39166 Commits
Author SHA1 Message Date
Unknown W. Brackets be7d1d1169 Add a bit of a hack for smaller framebuf memcpys.
Hopefully this doesn't false-positive in any other games.  Helps Valkyrie
Profile's battle entry effect.
2015-04-12 11:05:28 -07:00
Unknown W. Brackets ffe7ef1ee2 Avoid spurious warnings in sceAtrac.
Valkyrie Profile for example calls this, doesn't seem like 0 matters.
2015-04-12 10:35:53 -07:00
Henrik Rydgård 6deb4d303d Merge pull request #7675 from vnctdj/master
Change translation category
2015-04-12 11:46:09 +02:00
vnctdj e27bf8567e Change translation category
https://github.com/hrydgard/ppsspp/commit/59d0baca9375fa094d81fe465abd99efdcd97885#diff-a79dfbd66a9e1e1dc097bc65fc5f7027R570
2015-04-12 11:23:57 +02:00
Henrik Rydgård 0bf482231b Merge pull request #7673 from unknownbrackets/ir-parts
Merge in some parts of the jit IR stuff (not a lot)
2015-04-12 00:28:09 +02:00
Unknown W. Brackets 56f071d26a x86jit: Support SIMD load/store with fastmem off.
Which is a lot faster, since it usually takes the fast path.
2015-04-11 01:22:50 -07:00
Henrik Rydgård 81dec36da8 Use an accessor to read the compilerPC.
In the IR it will be read from the block.
2015-04-11 01:14:37 -07:00
Henrik Rydgård a897723e6a Separate out jit reading nearby instructions.
This makes it easier to use an IR for these things, or remove them.
2015-04-11 00:53:24 -07:00
Henrik Rydgård 59d0baca93 Add way to print some block bloat stats. 2015-04-11 00:12:56 -07:00
Henrik Rydgård 115486e431 Fix some fp instruction in/out flags 2015-04-11 00:03:56 -07:00
Unknown W. Brackets 7ea9bcbc13 x86jit: Avoid mapping rs in vfpu load/store.
This allows immediate address load/store, when possible, which can be
faster (especially with slow mem enabled.)
2015-04-10 20:30:14 -07:00
Unknown W. Brackets eaed080add x86jit: Fix immediate kernel addresses.
Using a signed add + a value with the top bit set = bad.  Will have to
live with losing the kernel bit here, should be fine.
2015-04-10 20:25:29 -07:00
Unknown W. Brackets e58eb5e186 x86jit: Small optimization for fd->fd fp convert.
We just generate a little less code.  This is also slightly faster
generally.
2015-04-10 20:07:43 -07:00
Unknown W. Brackets 7e38df077f x86jit: Prefer MOVAPS over MOVSS for reg->reg. 2015-04-10 20:07:43 -07:00
Henrik Rydgård 106326fc7c Merge pull request #7671 from unknownbrackets/jit-minor
x86jit: Use ANDPS for abs.s
2015-04-10 22:28:36 +02:00
Unknown W. Brackets 9069c84928 x86jit: Use ANDPS for abs.s.
Should be faster considering they're likely to use other floating point
math on it.  As long as that's the case, this is faster than PAND.
2015-04-10 13:20:52 -07:00
Henrik Rydgård 1bd20723cf Merge pull request #7670 from unknownbrackets/warnings
ARM64: Fix some minor MSVC warnings
2015-04-10 21:07:20 +02:00
Unknown W. Brackets c10373ef06 ARM64: Fix some minor MSVC warnings. 2015-04-10 12:05:51 -07:00
Unknown W. Brackets fa85229d3d Use a temporary for more code clarity.
Static analysis thinks there are typos here.  Temporary is clearer and
possibly faster depending on compiler intelligence.
2015-04-10 11:48:45 -07:00
Unknown W. Brackets 6c0bc5502b Oops, fix another leak. 2015-04-10 11:48:22 -07:00
Unknown W. Brackets 0f06858fd1 Update native (blacklist fb fetch on Tegra 3.) 2015-04-09 00:27:18 -07:00
Henrik Rydgård a32668cd1a Merge pull request #267 from unknownbrackets/gl-blacklist
Blacklist NV_shader_framebuffer_fetch on Tegra 3
2015-04-09 09:18:34 +02:00
Unknown W. Brackets acc1ae6f2e Blacklist NV_shader_framebuffer_fetch on Tegra 3.
Reported to cause rendering problems:
http://forums.ppsspp.org/showthread.php?tid=4481&pid=105487#pid105487
2015-04-08 16:57:17 -07:00
Henrik Rydgård 138d837445 Merge pull request #7666 from hrydgard/color-conv-2
Consolidate color conversions, remove code duplication in texture scaler
2015-04-08 23:02:30 +02:00
Henrik Rydgard db110d60a1 Rename some colorconv functions 2015-04-08 23:01:17 +02:00
Henrik Rydgard 4621586342 Move simple conversion functions out of the ColorConv header. 2015-04-08 22:52:49 +02:00
Henrik Rydgard a19ea78b4b Consolidate the texture scaler code. 2015-04-08 22:52:49 +02:00
Henrik Rydgard 6660985210 Extract a bunch more color conversion loops. 2015-04-08 22:52:48 +02:00
Henrik Rydgard b5acf15cc9 Extract some explicit loops into calls to color conversion functions. 2015-04-08 22:52:48 +02:00
Henrik Rydgard c2cf2bd97e Move some more color conversion functions to ColorConv 2015-04-08 22:52:47 +02:00
Henrik Rydgard 1285ae4a61 Add ColorConv.cpp/h to a bunch of project files 2015-04-08 22:52:46 +02:00
Henrik Rydgard 31961eace9 Color conv attempt 2. Start consolidating simple color conversion functions in a single header+cpp. 2015-04-08 22:52:46 +02:00
Henrik Rydgard fdf5c36865 Fix line endings of a few project files to be consistent. Hopefully will avoid the annoying merge issues in the future. 2015-04-08 22:52:45 +02:00
Henrik Rydgård a67f009679 Merge pull request #7668 from hrydgard/consolidate-spline
Consolidate spline code
2015-04-08 22:20:55 +02:00
Henrik Rydgard 073ef432ff Update android.mk 2015-04-08 21:55:23 +02:00
Henrik Rydgård 51531db942 Merge pull request #266 from unknownbrackets/warnings
Validate read size in ReadLocalFile()
2015-04-08 21:46:37 +02:00
Henrik Rydgard 058499e5bf De-dupe the spline code 2015-04-08 21:44:54 +02:00
Unknown W. Brackets 9dc7f7c3a2 Correct > 8 args for HLE logging again.
This time for real?  Arg, stupid mistake.
2015-04-08 12:44:32 -07:00
Henrik Rydgard 2002576e9d DrawEngineCommon: Make it possible to call Flush from shared code. 2015-04-08 21:37:54 +02:00
Henrik Rydgard ed8a3eaf6d Move the vertex decoder cache into DrawEngineCommon 2015-04-08 21:35:00 +02:00
Henrik Rydgård 050a7c1a85 Merge pull request #7667 from unknownbrackets/warnings
Fix some warnings
2015-04-08 21:21:08 +02:00
Unknown W. Brackets b2b20a6eee Correct an invalid format parameter. 2015-04-08 12:17:24 -07:00
Unknown W. Brackets 0847d46b79 Remove always-true condition.
It was only for logging anyway, can't be that important.
2015-04-08 12:15:41 -07:00
Unknown W. Brackets 9a8cd2c067 Log some file reading errors. 2015-04-08 12:14:07 -07:00
Unknown W. Brackets 8e8a18e9b5 Log read failures from hashmap too. 2015-04-08 12:10:45 -07:00
Unknown W. Brackets afe42fa505 Log an error if ftruncate() fails. 2015-04-08 12:08:46 -07:00
Unknown W. Brackets b9dfb4dbe2 Validate read size in ReadLocalFile(). 2015-04-08 12:06:44 -07:00
Henrik Rydgard 56a596d099 Fix line endings in some vcproj.filters files. Should prevent future annoying conflicts, althoug this one is ugly. 2015-04-08 20:58:04 +02:00
Unknown W. Brackets 08032e4b14 Fix a leak in an error condition. 2015-04-08 11:58:00 -07:00
Unknown W. Brackets 5452129dfe Avoid null termination issues on long paths. 2015-04-08 11:58:00 -07:00