Unknown W. Brackets
b2798c7ada
jit: Add more reasonable estimates for RX protect.
2022-11-20 10:55:35 -08:00
Unknown W. Brackets
4178f09e57
Build: More consistently avoid _M_ defines.
...
We use PPSSPP_ARCH in several places already, this makes it more complete.
2021-03-02 21:49:21 -08:00
Henrik Rydgård
47a3bf1dd7
Step 2 of removing PanicAlert
2020-07-19 20:34:02 +02:00
Henrik Rydgård
22e65ba80d
Get rid of ugly alignment macros and some other cruft, we now have alignas(16) from C++11
2017-08-31 01:14:51 +02:00
Henrik Rydgård
0ec1e5e3b2
Don't erase and rewrite the dispatcher when the cache is cleared. Fixes #9708
2017-05-26 15:48:03 +02:00
Henrik Rydgard
b264657d56
Implement W^X-compatible path. Works on Windows and Android, hopefully iOS (untested).
...
Disabled block linking in this mode, can re-enable with some more work later.
To enable W^X on other platforms than iOS, simply change PlatformIsWXExclusive.
2016-08-28 14:52:08 +02:00
Unknown W. Brackets
eb386603fa
Oops, still had an unaligned stack in some thunks.
2014-02-23 16:56:27 -08:00
Henrik Rydgård
b894bd9b27
Merge pull request #5489 from unknownbrackets/jit-minor
...
Fix stack overflow on x64 with memchecks, darn it
2014-02-17 07:23:45 +01:00
Unknown W. Brackets
60515bbcd9
Properly allow for Windows' "home space" on x64.
...
Fixes #5484 .
2014-02-16 21:06:08 -08:00
Unknown W. Brackets
f2ba0f136d
Fix stack overflow on x64 with memchecks, darn it.
2014-02-16 19:18:08 -08:00
Unknown W. Brackets
d7233159aa
Store thunk regs on the stack, not a global.
...
This may even be more near active memory anyway, but it reduces the "64
bit address out of range" RIP issues a bit too. It's currently impossible
to enable appverif memory checks and jit in 64-bit...
Avoided the 32-bit path because I'm less sure about alignment.
2014-02-14 22:59:57 -08:00
Unknown W. Brackets
2347498667
x86jit: Use templates to avoid some void * casts.
...
Makes it a bit cleaner and potentially safer.
2014-01-18 09:57:13 -08:00
adrian17
5f86bc44d4
Deleted some doubled #includes.
2013-09-27 21:38:07 +02:00
Unknown W. Brackets
3fbb5d4388
Avoid using CALL() directly in case of far calls.
...
This mainly matters for x64.
2013-02-24 00:12:55 -08:00
Henrik Rydgard
687b085357
Missed these somehow
2012-11-04 23:58:25 +01:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00