4 ms·
Great work :) I just spotted something in the compiled example and wonder if this: SET J, [4+C] ; The Notch order ADD J, 1 ; The Notch order SET
by viraptor 15y ago
Great work :) I just spotted something in the compiled example and wonder if this:
SET J, [4+C] ; The Notch order
ADD J, 1 ; The Notch order
SET [4+C], J ; The Notch order
Is not transformed to
ADD [4+C], 1
due to some assumptions in llvm, or do you not handle the literal values as arguments yet?
- krasin 15y agoIt's just because the focus is now on generating valid assembly (there're tons of bugs so far) and I have not paid any attention to optimization yet. Thanks for reporting, tracked by issue https://github.com/krasin/llvm-dcpu16/issues/67 https://github.com/krasin/llvm-dcpu16/issues/67