Commit Graph

58 Commits

Author SHA1 Message Date
Mid
104ba53b33 Introduce null keyword 2025-10-14 16:30:58 +03:00
Mid
2d56f124a9 Rename dumbification to normalization 2025-10-10 17:18:10 +03:00
Mid
fc8d65f893 Bug fix 2025-10-10 17:16:06 +03:00
Mid
2049826870 Bug fix 2025-10-10 17:15:52 +03:00
Mid
fc16c077d9 Auto dereferencing is only for near pointers 2025-10-09 11:36:44 +03:00
Mid
8fc5521601 Multiple bug fixes 2025-10-09 11:36:21 +03:00
Mid
dfbadfecb9 More AST functions (incl new second-class record pass) 2025-10-09 11:35:35 +03:00
Mid
2f67a6f109 Fix dumbing bug 2025-10-02 13:46:08 +03:00
Mid
1177462bda Increase XOPBUFSZ to 64 2025-10-02 13:45:15 +03:00
Mid
246f7a3b71 type_dereference 2025-10-02 13:44:49 +03:00
Mid
2188448b19 Implicitly cast return type 2025-10-02 13:44:35 +03:00
Mid
d46b104d5c Fix operator precedence and introduce auto-deref 2025-10-02 13:44:18 +03:00
Mid
07e3604a8c Set TLC functionType sooner 2025-10-02 13:39:11 +03:00
Mid
fb75434cba Copy cexprs to keep AST nodes unique/unshared 2025-10-02 13:38:27 +03:00
Mid
fb6fd76d0b More denoops 2025-09-19 19:05:18 +03:00
Mid
e80f6643dc Dumbify callee expressions 2025-09-19 19:04:53 +03:00
Mid
8d8d1cf067 Match resource masks instead of resource names 2025-09-19 19:04:26 +03:00
Mid
1708faf14d Cast fixes 2025-09-19 19:03:50 +03:00
Mid
14ab1f432d Correct type sizes under different ABIs 2025-09-15 17:10:38 +03:00
Mid
f03e8517df document xop_sz 2025-09-14 10:44:28 +03:00
Mid
273e6d1058 Add ugpr and umem types 2025-09-14 10:44:08 +03:00
Mid
251d24fb30 in bits, not bytes 2025-09-14 10:43:37 +03:00
Mid
d0262c586e So many bug fixes like omg why didn't u use bp for stacc idiot 2025-09-13 11:19:49 +03:00
Mid
13333c971a Add && and || 2025-09-13 11:17:11 +03:00
Mid
b4272a67d1 Add more deepcopies 2025-09-13 11:14:30 +03:00
Mid
7f855f3931 Despaghettify source 2025-08-15 17:31:05 +03:00
Mid
5196026ed1 Fucking add else statement 2025-08-14 18:22:31 +03:00
Mid
5755e243a9 IR linearization 2025-08-13 18:27:52 +03:00
Mid
67fb9e5b52 Add back lea 2025-08-06 16:19:10 +03:00
Mid
012d18cdf8 Fix stack growth and parameter passing 2025-08-04 18:06:30 +03:00
Mid
81b1010453 Basic allocators with unmanaged list (broken) 2025-07-29 17:54:13 +03:00
Mid
fb4849d382 Call pointers only 2025-07-29 17:48:31 +03:00
Mid
db08fcbd27 End of an Era 2025-07-17 21:02:10 +03:00
BrainStackOverFlow
5c5187f0ff Fix actually use specified include dirs 2025-07-17 13:06:48 +03:00
BrainStackOverFlow
9adcfd2ff5 Fix (null) output of stack variables 2025-07-17 11:26:20 +03:00
BrainStackOverFlow
20197ee0bc Fix unhandled AST_EXPR_EXT_SIZEOF Error 2025-07-17 11:00:59 +03:00
Mid
b204860b2e Fucking add scope file oh my god how could I miss this 2025-07-16 11:00:45 +03:00
Mid
923ec25d79 Restructure source tree, SRoA and variable pointer size 2025-06-30 20:37:51 +03:00
Mid
6ec68a766f penis sex fuck penis cock, irregular register allocation and rename VarTable to Scope 2025-06-10 22:07:22 +03:00
Mid
56c10daaa7 parametrize your mom? 2025-05-03 10:00:20 +03:00
Mid
2c6033e501 gingus 2025-02-27 20:10:02 +02:00
Mid
5b3991e81c Handle certain precoloring collisions 2025-01-02 18:04:57 +02:00
Mid
17a0c9d902 update 2024-12-14 18:13:33 +02:00
Mid
390c4c954d Add return statement 2024-11-28 21:40:03 +02:00
Mid
d6d2b228ef Implement function definitions 2024-11-26 18:42:20 +02:00
Mid
6789984bd1 Codegen casts 2024-11-25 18:35:11 +02:00
Mid
fe0baa26a0 Spilling 2024-11-25 17:36:03 +02:00
Mid
ba6f9fb6c1 Safety commit 2024-11-20 16:36:17 +02:00
mid
07f6d57aba Whoopsies, I dropped this 2024-06-13 09:56:30 +03:00
mid
012320569e Support negation, parentheses. Always zero-extend registers for bugless memory operand usage 2024-06-12 11:17:09 +03:00