Commit graph

1771 commits

Author SHA1 Message Date
Dillon Beliveau
87d51c5c47 remove unused 2023-01-28 16:01:29 -08:00
Dillon Beliveau
3f3ef2622e Enable -Werror=switch 2023-01-28 16:01:17 -08:00
Dillon Beliveau
d343bb7370 shrink constants 2023-01-28 14:44:54 -08:00
Dillon Beliveau
392fa1379c fix for values mapped to registers, add todo comment 2023-01-28 14:13:36 -08:00
Dillon Beliveau
6f3bacb310 constant propagation and dead code elimination 2023-01-28 13:31:07 -08:00
Dillon Beliveau
1613bd46aa helpers for ir_emit_set_constant, documentation comments 2023-01-28 12:27:37 -08:00
Dillon Beliveau
b372cff267 abstract away common branch code 2023-01-28 12:15:29 -08:00
Dillon Beliveau
30b650ec19 don't print v%d= where it doesn't make sense 2023-01-28 12:07:20 -08:00
Dillon Beliveau
7a0f66431c More IR instructions, handle branches 2023-01-28 11:58:35 -08:00
Dillon Beliveau
aa3b9e10d7 print IR as string 2023-01-22 17:15:12 -08:00
Dillon Beliveau
6a224a1639 don't load extra zero constants 2023-01-22 15:26:16 -08:00
Dillon Beliveau
9e2f050ee9 andi 2023-01-22 14:30:25 -08:00
Dillon Beliveau
e08943d3e9 loads, refactor out common code between load/store 2023-01-22 14:27:08 -08:00
Dillon Beliveau
4a17f2e2d4 implement a few more instructions 2023-01-22 14:10:26 -08:00
Dillon Beliveau
850c93e292 missed a file 2023-01-16 15:34:08 -08:00
Dillon Beliveau
3e861d123f emit IR for LUI 2023-01-16 15:10:27 -08:00
Dillon Beliveau
3a1d5e952f framework out the IR emitter 2023-01-16 12:37:29 -08:00
Dillon Beliveau
c70b2feaed remove logging and crash 2023-01-14 16:00:04 -08:00
Dillon Beliveau
ae58d464f0 handle determining which instructions should be compiled into a block 2023-01-14 14:29:48 -08:00
Dillon Beliveau
1b66e11e43 refactor jit components I plan on rewriting to a new module 2023-01-07 14:40:33 -08:00
Dillon Beliveau
2dd8f0b60f dpc start should never change 2022-10-16 10:18:27 -07:00
Dillon Beliveau
bd4ff4a3c2 fix DIV and DDIV 2022-10-16 09:58:34 -07:00
Dillon Beliveau
6cdc45c460 Support capstone dependency on windows 2022-10-09 18:23:09 -07:00
Dillon Beliveau
48b2050492 fix bitfields for Windows 2022-10-04 11:11:11 -07:00
Dillon Beliveau
321fb34383 don't latch PI on ISViewer writes 2022-10-03 23:28:02 -07:00
Dillon Beliveau
0570c4ee1e replace the hack with a slightly less hacky hack 2022-09-18 14:46:06 -07:00
Dillon Beliveau
2517c5912e 16bpp textured rectangles, sorta 2022-09-18 14:29:27 -07:00
Dillon Beliveau
bc7067bac0 load_block, sorta 2022-09-18 14:28:53 -07:00
Dillon Beliveau
c8f676b63b 8bpp/16bpp tile loads 2022-09-18 12:28:19 -07:00
Dillon Beliveau
d9b4e83312 32bpp textured rectangle support in software rdp 2022-09-17 17:54:13 -07:00
Dillon Beliveau
4e2ddfa564 better self-modifying code detection: mark what addresses are code, and only invalidate a dynarec page if one of those is rewritten. 2022-09-11 19:16:04 -07:00
Dillon Beliveau
7e44ce82b7 Stall CPU when reading from PI bus latch 2022-09-10 15:34:21 -07:00
Dillon Beliveau
442ecddf83 Shorten PI bus write time 2022-09-10 15:24:50 -07:00
Dillon Beliveau
2f1217418f Emulate invalid coprocessor instructions 2022-09-10 15:16:33 -07:00
Dillon Beliveau
aa9994133f Update Linux Github Actions runner to ubuntu 22.04 2022-08-27 17:45:13 -07:00
Dillon Beliveau
3ba85444d5 fixes 2022-08-27 17:32:55 -07:00
Dillon Beliveau
66536d1501 configurable scaling 2022-08-27 15:45:43 -07:00
Dillon Beliveau
f81f96f21d key remapping support for keyboard input 2022-08-27 13:59:51 -07:00
Dillon Beliveau
aa83d37331 include stdio.h in util.h 2022-08-21 14:13:47 -07:00
Dillon Beliveau
2fa4e9a10f Use u64 in bitfield instead of bool 2022-08-20 15:47:05 -07:00
Dillon Beliveau
37803b4de5 Settings support 2022-08-20 15:45:44 -07:00
Dillon Beliveau
ced7869ca3 small amount of work on textures 2022-08-20 10:44:19 -07:00
Dillon Beliveau
1fa835ccac mark edge_coefficients_t packed 2022-08-18 23:48:26 -07:00
Dillon Beliveau
c74f30dff7 Switch to bitfields for edge coefficients 2022-08-16 20:02:07 -07:00
Dillon Beliveau
960e9627cd fix rsq 2022-08-14 18:05:16 -07:00
Dillon Beliveau
aa1b560f16 cleanup in vrsql 2022-08-14 17:30:51 -07:00
Dillon Beliveau
7a0daf47e0 cleanup in vrcph/vrsqh 2022-08-14 17:30:35 -07:00
Dillon Beliveau
b42981a08b fix vrcpl 2022-08-14 17:30:11 -07:00
Dillon Beliveau
2e7605f5e6 vrndp 2022-08-14 17:29:34 -07:00
Dillon Beliveau
c996f4ee0f vrndn 2022-08-14 17:29:00 -07:00