Commit graph

122 commits

Author SHA1 Message Date
notaz
eac7a97e4f drc: align tcache_default to 64k on arm
Newer arm64 hw supports 64k pages, and recent Linux distros provide
kernel packages like linux-image-generic-64k (can be used on r-pi4
with Ubuntu for example). It affects 32bit mode also, so assume that
an arm32 binary compiled for vfp may be used on such kernel.

Without this mprotect() fails to set exec permission because of bad
alignment.
2024-03-09 22:02:10 +01:00
kub
83a9e30508 sh2 drc, cleanup and minor fixes (risc-v, division, typos) 2023-05-01 09:08:23 +00:00
kub
a80b0b42e1 svp drc, fix crash in jump patch 2023-04-11 19:08:36 +00:00
kub
e278f08bed sh2 drc, fix 64 bit multiplication in ppc and riscv backends 2023-03-07 21:54:36 +00:00
kub
95788d2ff2 sh2 drc, minor improvement for PS3 ABI handling 2023-01-12 23:02:25 +00:00
OsirizX
1ef527e93b Apply some cleanups to the abicall macros 2023-01-12 21:01:14 +01:00
OsirizX
08be5f1dab Add dynarec support for PS3 2023-01-12 21:01:14 +01:00
kub
0512a22869 sh2 drc, wrap generated function ptrs if called from host 2023-01-09 20:45:10 +00:00
kub
aa9c5aa559 sh2 drc, minor fix for arg passing in calls from generated to C code 2022-11-21 21:19:34 +00:00
kub
f338a562e9 sh2 drc, fix bug in jump patching for arm64 2022-10-06 19:46:03 +00:00
kub
b4c25401da sh2 drc, improve cycle resolution for poll detection 2022-04-19 23:18:56 +02:00
kub
ed7c6238b7 sh2 drc, optimisation for mips,riscv 2022-01-26 19:46:51 +00:00
kub
05138bbd89 sh2 drc, fixes for mips, ppc, i386 backends (mostly 64 bit related) 2022-01-19 17:09:55 +00:00
kub
b6887843e5 sh2 drc, fix riscv backend 2022-01-17 23:05:27 +00:00
kub
cd18409722 drc, tiny x86 optimisation 2022-01-05 23:41:24 +01:00
kub
e08e46ba44 libretro, build change for PS3 (disable drc) 2021-05-06 22:06:04 +02:00
kub
f7615fc283 sh2 drc, fix powerpc cache handling 2021-04-21 22:01:22 +02:00
kub
448b634ccc sh2 drc, fix powerpc eabi compatibility 2021-04-17 20:46:27 +02:00
kub
2dbaa49a1a sh2 drc, x86 fix, revert 6f64058 (carry usage in NEGC/DIV1) 2021-04-02 18:45:03 +02:00
kub
28f83122ec sh2 drc, don't use x29 (frame pointer) in arm64 backend 2021-03-21 22:47:56 +01:00
kub
aa8a3b65f1 sh2 drc, adjust max ld/st offset in arm backend 2021-03-21 22:41:32 +01:00
kub
6f64058800 sh2 drc, x86 backend, optimize move #0 with xor 2021-03-16 21:42:50 +01:00
kub
2d2387b293 sh2 drc, fix reading from constant memory address 2021-03-16 21:42:50 +01:00
kub
8094d3362f sh2 drc, powerpc fixes for OSX, 32 bit, cache handling 2021-01-30 09:03:01 +01:00
kub
2170797544 fixes for gcc warnings wrt 64 bit platforms 2020-12-29 11:13:45 +01:00
kub
e0d5c83fd3 32x, tiny optimization for memory access 2020-12-14 21:05:51 +01:00
kub
fde25b40fe sh2 drc, fix PIC function calling for MIPS backend 2020-10-31 21:05:27 +01:00
kub
69c22514b0 sh2 drc, fixes for cache handling on arm and mips cpus 2020-10-27 18:05:49 +01:00
kub
6e8916bc9a sh2 drc, MIPS cache maintenance optimisation 2020-10-11 19:54:51 +02:00
kub
4153006fb8 sh2 drc, fix for cpu cache handling 2020-10-10 14:21:10 +02:00
kub
713e3a1c5b libretro, build fixes for android 2020-07-16 19:29:34 +02:00
kub
368c918050 sh2 drc, optimize standard division insns (default off, needs more scrutiny) 2020-07-14 00:21:33 +02:00
kub
1426b7569e sh2 drc, fix for x86_64 backend 2020-07-08 20:48:16 +02:00
kub
6b67b6aa13 libretro, more fixes and cleanups for windows and osx 2020-07-08 20:46:46 +02:00
kub
18c95d9f57 sh2 drc, fix for SH2 T handling in Mips/RiscV 2020-06-25 16:49:17 +02:00
kub
c815b1bc59 sh2 drc, backend 32/64 bit compatibility fixes for Mips/RiscV 2020-06-23 23:34:07 +02:00
kub
8bb489470a sh2 drc, add powerpc64le backend 2020-06-19 00:14:28 +02:00
kub
dae0d04dbf sh2 drc, preparations for powerpc support 2020-06-16 18:43:45 +02:00
kub
d39eb595bb sh2 drc: revised ARM A32 backend optimizer 2020-05-15 21:46:28 +02:00
kub
904fb98e6c sh2: optimisations in drc 2020-05-06 23:06:31 +02:00
kub
f36709e651 sh2 drc: fix for crash in generated code on x86_64 2020-02-08 15:14:04 +01:00
kub
8ac9ab7fcb audio: added SSG-EG to YM2612, plus some timing changes for SN76496+YM2612 2020-01-08 00:49:13 +01:00
kub
0e12269073 sh2 drc: optimize T bit handling for A64 2019-12-21 22:49:41 +01:00
kub
a5e51c16e6 sh2 drc: fix speed regression 2019-12-13 18:23:03 +01:00
kub
90b1c9db91 sh2 drc: cleanup, fix for drc crash, for mips code emitter 2019-12-11 20:39:27 +01:00
kub
9760505eaf remove textrels with -fPIC/-fPIE (for android/ios) 2019-12-03 23:52:13 +01:00
kub
4f992bf541 sh2 drc, tentative MIPS32/64 Release 2 support 2019-12-02 22:31:14 +01:00
kub
57d863cb87 sh2 drc: bug fixing 2019-11-27 22:08:14 +01:00
kub
f1da0a362f sh2 drc: fixed some RISC-V bugs 2019-11-20 01:01:33 +01:00
kub
f2d19ddf2a sh2 drc, small improvements and bug fixes for code emitters 2019-11-19 21:59:44 +01:00