Commit Graph

7339 Commits

Author SHA1 Message Date
Henrik Rydgård
f81781d25c Unify JitOptions in FakeJit also. 2015-04-12 13:15:00 -07:00
Unknown W. Brackets
2107771347 Oops, typo. 2015-04-12 13:12:31 -07:00
Henrik Rydgård
a8b50d0c9b Fix MIPSInfo masking for 64-bit flags. 2015-04-12 11:57:49 -07:00
Henrik Rydgård
6dcf56530b Add some missing FPU flags to MIPSTables. 2015-04-12 11:56:04 -07:00
Henrik Rydgård
071b6b986a Best-effort update of the MipsJit prototype 2015-04-12 11:53:16 -07:00
Unknown W. Brackets
0818c77f11 Normalize case of MIPS/ in MSVC project files. 2015-04-12 11:46:35 -07:00
Henrik Rydgård
bf7969e5b5 Add MipsJit to the MSVC project files. 2015-04-12 11:45:29 -07:00
Henrik Rydgård
d014d420db Unify JitOptions across the backends.
This is required to make ExtractIR not a member of the various backends.
2015-04-12 11:41:26 -07:00
Henrik Rydgård
7bf67509d1 ARM: Cleanup a TODO in NEON VFPU. 2015-04-12 11:21:53 -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
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
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
Unknown W. Brackets
c10373ef06 ARM64: Fix some minor MSVC warnings. 2015-04-10 12:05:51 -07:00
Henrik Rydgard
6660985210 Extract a bunch more color conversion loops. 2015-04-08 22:52:48 +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
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 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
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
3cb474047b Fix potential shift by negative number. 2015-04-08 11:57:59 -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
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
39be916d8a ARM64: More emitter/disasm 2015-04-06 18:13:44 +02:00
Henrik Rydgård
459ba28655 ARM64: SW skinning runs without crashing but is broken. 2015-04-06 18:13:44 +02:00
Henrik Rydgård
f82b613371 ARM64 emitter/disasm: Implement ASIMD LDP/STP instructions 2015-04-06 18:13:42 +02:00
Henrik Rydgård
a8c2d0945a ARM64: lwl: Pass INVALID_REG to be sure SCRATCH1 doesn't get overwritten... 2015-04-06 18:13:41 +02:00
Henrik Rydgård
013bbc71af ARM64: Fix DUP disasm, INS disasm 2015-04-06 18:13:40 +02:00
Henrik Rydgård
a3db3ed5c1 ARM64 emitter: Fix UXTL/SXTL and friends. Add disasm. 2015-04-06 18:13:40 +02:00
Henrik Rydgård
853d6ea34b ARM64 emitter: Add FMLA/FMLS vector versions 2015-04-06 18:13:39 +02:00
Henrik Rydgård
065cd97dc2 ARM64: LLVM buildfix, some more disasm 2015-04-06 18:13:39 +02:00
Henrik Rydgård
13c9390c53 ARM64: Emitter fix, disable swl/swr/lwl/lwr again fully 2015-04-06 18:13:38 +02:00
Henrik Rydgård
95cd1478de Restore the x86 build. 2015-04-06 18:13:37 +02:00
Henrik Rydgård
fbaffdceab Remove some outdated comments, minor stuff 2015-04-06 18:13:36 +02:00
Henrik Rydgard
0a70618f87 ARM64: Accurate floating point rounding. For some reason, FTZ doesn't seem to work though. 2015-04-06 18:13:36 +02:00
Henrik Rydgard
7d918c0ad8 ARM64: Just some disasm improvements 2015-04-06 18:13:35 +02:00