From b1ff7e8bf24b40cf64127a6194d45661db3a4baf Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Fri, 31 Jul 2026 23:52:09 -0400 Subject: code gen can use registers besides RAX now --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2cfb498..3ded28b 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,14 @@ fuck it, we ball TODO soon: -- [ ] let cgen use more than one register - - [ ] basic used/unused register tracking so allocate_temporary can allocate +- [x] let cgen use more than one register + - [x] basic used/unused register tracking so allocate_temporary can allocate a register - - [ ] proper deallocation of temporaries when they are no longer used - - [ ] spilling of values occupying calling convention registers when a + - [x] proper deallocation of temporaries when they are no longer used + - [x] spilling of values occupying calling convention registers when a function is called - - [ ] allowing variable values to be kept in registers temporarily and then - spilled to their permanent memory locations + - [ ] ~~allowing variable values to be kept in registers temporarily and then + spilled to their permanent memory locations~~ PUNTED - [ ] use evaluated types to make code gen around math better - [ ] support for functions/function pointers as types - - [ ] move the "expression not callable" stuff to the type checker \ No newline at end of file + - [ ] move the "expression not callable" stuff to the type checker -- cgit v1.2.3