forked from rui314/chibicc
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
Hello :)
I have a couple more ideas for optimizations.
- I see in the generated code a few instances of
#00 ORA, which could be removed. - Static arithmetic in oneko, like
;theCursor_ #0004 ADD2, which could be merged into a LIT2. - Another static arithmetic operation is
#0100 SWP, this could be#0001. - In the atoi implementation, you'll find
DUP2 #0000 EQU2, which could be turned intoORAk #00 EQU #0000 SWP, to#0000
drawkula and thacuber2a03
Metadata
Metadata
Assignees
Labels
No labels