Commit Graph

16274 Commits

Author SHA1 Message Date
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
0f06858fd1 Update native (blacklist fb fetch on Tegra 3.) 2015-04-09 00:27:18 -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 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
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
Unknown W. Brackets
3cb474047b Fix potential shift by negative number. 2015-04-08 11:57:59 -07:00
Unknown W. Brackets
10626e356d Avoid a potential divide by zero. 2015-04-08 11:57:59 -07:00
Unknown W. Brackets
8a3a67dc5b Avoid evaluating an uninitialized value.
Doesn't matter anyway here.
2015-04-08 11:57:58 -07:00
Unknown W. Brackets
c0dde25e5a Set the sid on StreamInfo.
It's not used anyway, but if we have it there it might be later.
2015-04-08 11:57:58 -07:00
Unknown W. Brackets
fc0788bc95 Avoid unpredictable behavior in error condition. 2015-04-08 11:57:57 -07:00
Unknown W. Brackets
5285f977e4 Initialize a member that was missed.
Oops, this didn't matter much but it should start at 0.
2015-04-08 11:29:28 -07:00
Unknown W. Brackets
53340056fd Remove some unreachable code.
This wasn't being used, and the other path should be fine.
2015-04-08 11:28:52 -07:00
Unknown W. Brackets
b5bb07b12c Fix HLE logging for args > 8. 2015-04-08 00:55:49 -07:00
Henrik Rydgård
4ba1113119 Merge pull request #7665 from unknownbrackets/jit-minor
Avoid some unlikely writes to $0
2015-04-08 09:33:15 +02:00
Unknown W. Brackets
ffb583e298 ARM64: Move files into MSVC project filter. 2015-04-07 22:27:20 -07:00
Unknown W. Brackets
b0d291032d armjit Avoid cfc1/mfc1 to $0. 2015-04-07 18:30:36 -07:00
Unknown W. Brackets
7ce5841f30 jit: Avoid mfhi/mflo to $0. 2015-04-07 18:25:28 -07:00
Unknown W. Brackets
788b9d78f8 jit: Avoid a super unlikely write to zero. 2015-04-07 18:20:37 -07:00
Henrik Rydgård
bc490e60ab Merge pull request #7661 from lioncash/false
sceIo: Remove always false condition
2015-04-06 23:29:52 +02:00
Henrik Rydgård
8afab3f94f Merge pull request #7652 from hrydgard/arm-64
ARM64 Support
2015-04-06 18:42:21 +02:00
Henrik Rydgard
50113a446d Update native 2015-04-06 18:31:40 +02:00
Henrik Rydgård
d0b35e88a2 No need to generate a zero register.. 2015-04-06 18:13:46 +02:00