Commit Graph

6869 Commits

Author SHA1 Message Date
Unknown W. Brackets
77777e372d x86jit: Use R15 when safe for the jit.
This is virtually always safe.
2014-12-17 08:09:59 -08:00
Unknown W. Brackets
b9eddc3d25 x86jit: Oops, fix a typesafety error. 2014-12-17 08:07:43 -08:00
Unknown W. Brackets
9022b48069 x86jit: Skip reload of EAX in safe cases.
Probably no real improvement in perf, but a bit cleaner and one less TODO.
2014-12-17 01:12:41 -08:00
Unknown W. Brackets
afdbf5610b jit: Use nicknames for a few more static regs. 2014-12-17 01:11:33 -08:00
Unknown W. Brackets
b6a75bf255 x86jit: Set CTXREG in a fixed place. 2014-12-17 01:00:21 -08:00
Henrik Rydgard
e3c6ec4dc6 Get rid of PowerPC from the MSVC project files as well 2014-12-16 22:01:21 +01:00
Henrik Rydgard
a54e0cf244 Goodbye PowerPC, you can always be resurrected when the time comes 2014-12-16 21:58:38 +01:00
Henrik Rydgard
4ec30d98e1 Port the x86 and ARM emitters over to use the generic CodeBlock class 2014-12-15 22:32:55 +01:00
Henrik Rydgard
b2951f0def Transplant Dolphin's ARM64 emitter over. Not hooked up to anything (yet...) 2014-12-15 22:09:26 +01:00
chinhodado
422764e077 Remove an unnecessary memcpy 2014-12-14 23:59:55 -05:00
Unknown W. Brackets
9a41dec0ff Fix some type comparison warnings. 2014-12-14 17:35:20 -08:00
Unknown W. Brackets
0a8e6c2a06 Remove some unused functions. 2014-12-14 17:35:20 -08:00
Lioncash
3610473b78 sceNetAdhoc: Remove unnecessary assignments 2014-12-14 00:10:46 -05:00
Lioncash
ff0ea751c5 MediaEngine: Get rid of implicit boolean conversions to int 2014-12-13 23:40:04 -05:00
Unknown W. Brackets
cb7e7643db Blackberry buildfix. 2014-12-13 19:38:04 -08:00
Unknown W. Brackets
3ce21ce672 Allocate a correct amount for helper threads.
This was usually "saved" by the round up to 0x100, but was
underallocating.
2014-12-13 18:35:58 -08:00
Henrik Rydgard
32a452d671 Blackberry buildfix, added a commen this time.. 2014-12-13 22:14:53 +01:00
Henrik Rydgard
5de011fe95 Again, sigh.. 2014-12-13 21:53:28 +01:00
Henrik Rydgard
db5478135b Typo fix 2014-12-13 21:26:13 +01:00
Henrik Rydgard
05a8e2e35d Some work towards being able to build two JITs together
This will be useful for testing/debugging, but not there yet.
2014-12-13 21:13:54 +01:00
Henrik Rydgard
8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
Henrik Rydgård
5ae4cc8959 x86: Turn VFPU SIMD off again. See #7173 and #7174 2014-12-13 13:35:29 +01:00
Henrik Rydgard
75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Henrik Rydgård
4021252119 Merge pull request #7169 from daniel229/wchar_t_in_scePauth
Support wchar_t in scePauth.
2014-12-12 09:37:12 +01:00
daniel229
fc0ba3f0fe Updata as hrydgard' suggestion 2014-12-12 10:07:28 +08:00
Henrik Rydgård
ea5126ef0b Merge pull request #7165 from lioncash/safe
ReplaceTables: Fix null checks
2014-12-11 20:57:41 +01:00
Lioncash
2f269ac8c0 ReplaceTables: Fix null checks 2014-12-11 14:34:10 -05:00
daniel229
4e017014ae Support wchar_t in scePauth. 2014-12-11 23:03:55 +08:00
Henrik Rydgård
973f4ea0ca Merge pull request #7167 from lioncash/unused
sceKernelModule: Remove unused array in __KernelLoadPBP
2014-12-11 10:21:27 +01:00
Henrik Rydgård
2e8b1363d9 Merge pull request #7166 from lioncash/conds
scePsmf: Remove unnecessary conditions
2014-12-11 09:48:25 +01:00
Lioncash
fc7439ec2a proAdhoc: Change resolveMAC to return bool
Must have missed this in my initial commit.
2014-12-10 23:42:40 -05:00
Lioncash
d8da1cd44d sceKernelModule: Remove unused array in __KernelLoadPBP 2014-12-10 23:38:35 -05:00
Lioncash
0e3d68e27f scePsmf: Remove unnecessary conditions
tempBuf is a stack-allocated array, and filehandle has a check for it above this conditional.
2014-12-10 23:30:19 -05:00
Unknown W. Brackets
f5d5f7d3fa Use SSE shifts for high-vol channels. 2014-12-08 21:23:47 -08:00
Unknown W. Brackets
42cd751060 Prevent a few savestate cross-compat issues.
We don't need to save gpu stats at all, so don't, makes it easier to
change it and dunno if anyone defines double as other than 64 bits.

Also, apparently there was padding in the event state but not on all
platforms.
2014-12-08 21:18:56 -08:00
Unknown W. Brackets
afc779a824 jit: Add IN_RT to lwl/lwr and re-enable clobbering. 2014-12-08 21:17:01 -08:00
Henrik Rydgård
f135bf79e3 Merge pull request #7157 from lioncash/override
Core: Add missing override specifiers
2014-12-08 22:37:33 +01:00
Lioncash
cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Lioncash
ae5be5a814 sceSha256: Mark sceSha256Digest as static 2014-12-08 12:31:57 -05:00
Henrik Rydgård
38345a497f Merge pull request #7137 from lioncash/static
Core: Mark some module functions as static
2014-12-08 11:10:14 +01:00
Unknown W. Brackets
066ce50a12 Disable SSE clamping for certain volume levels.
Fixes sound in Tales of Phantasia.  Can improve later.
2014-12-08 02:06:25 -08:00
Unknown W. Brackets
bfe5f9276e jit: Re-disable clobbered thing.
No idea what's wrong...
2014-12-08 02:06:25 -08:00
Henrik Rydgård
82d69fad8d Merge pull request #7146 from hrydgard/sha256
Quick implementation of sceSha256Digest from #7134
2014-12-08 10:40:56 +01:00
Lioncash
4ccb838306 Core: Mark some module functions as static 2014-12-08 04:40:08 -05:00
Unknown W. Brackets
7734a4c912 jit: Re-enable clobbering with movz/movn support.
Oops, these should be the only ones that take rd "in".
2014-12-08 01:29:41 -08:00
Unknown W. Brackets
119c1ef83e jit: Disable clobber detection for now.
Should still spill better.  Something is wrong with flags detection, a
clobber to rd is incorrectly discarding outside a delay slot.  Don't have
time now to look into it further.
2014-12-08 01:24:17 -08:00
Unknown W. Brackets
f817d49dfb jit: Discard clobbered registers on spill.
If we're spilling anyway, discard rather than saving.
2014-12-07 23:08:21 -08:00
Unknown W. Brackets
f6531a74e1 Don't allow clobbering in a likely delay slot.
Since, we don't know which path it will take.  Also, don't clobber when
it's the delay slot of the instruction in question - this was a tricky
case.
2014-12-07 23:04:05 -08:00
Unknown W. Brackets
eeff110c0f jit: Improve and unify GPR spill logic.
Now the same logic on x86 and ARM, and handles HI/LO/etc. better.
2014-12-07 21:10:28 -08:00
Unknown W. Brackets
487e175cf9 Fix a sign comparison warning.
This isn't really negative anyway.
2014-12-07 21:08:03 -08:00