Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-12619-928705
ssyc
Commits
4c76e171
Commit
4c76e171
authored
2 years ago
by
youngk1019
Browse files
Options
Download
Plain Diff
Merge branch 'dev/backend-constant-optimization' into 'stable'
增加了乘常数优化 See merge request Origami404/ssyc!26
parents
8494c5e9
cbf6721d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
src/backend/codegen/CodeGenManager.java
+139
-12
src/backend/codegen/CodeGenManager.java
src/frontend/SysYLexer.java
+6
-4
src/frontend/SysYLexer.java
src/frontend/SysYParser.java
+6
-8
src/frontend/SysYParser.java
test-data/asm-handmade/32-const-mod.out
+100
-0
test-data/asm-handmade/32-const-mod.out
test-data/asm-handmade/32-const-mod.sy
+20
-0
test-data/asm-handmade/32-const-mod.sy
test-data/asm-handmade/33-const-mul.in
+11
-0
test-data/asm-handmade/33-const-mul.in
test-data/asm-handmade/33-const-mul.out
+501
-0
test-data/asm-handmade/33-const-mul.out
test-data/asm-handmade/33-const-mul.sy
+108
-0
test-data/asm-handmade/33-const-mul.sy
with
891 additions
and
24 deletions
+891
-24
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets