cs420 icon indicating copy to clipboard operation
cs420 copied to clipboard

KAIST CS420: Compiler Design (2020 Spring)

Results 13 cs420 issues
Sort by recently updated
recently updated
newest added

http://csl.snu.ac.kr/courses/4190.307/2020-1/riscv-spec-v2.2.pdf is a working link, instead of https://content.riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf as in kecc-public/src/asm/mod.rs Thankfully page number is same (I think it's a same copy) Just FYI..

documentation

We're releasing previous exam problems, following the general policy of KAIST SoC to prevent selling and buying exam materials. 2022 Spring Final: https://forms.gle/shAyUV9F9hAsH3Rw5 2023 Spring Midterm: https://forms.gle/wvGnmHBvnJJFVwxz5 2023 Spring Final:...

Dear students, As your Teaching Assistant, I would like to draw your attention to the closed issues in our course repository. These issues contain valuable questions, tips, and debates that...

tip

Performance Competition. - **instruction** + https://docs.google.com/presentation/d/1SqtU-Cn60Sd1jkbO0OSsRYKPMIkul0eZoYG9KpMugFE/edit#slide=id.g8085bd6ec8_44_0 + Since your solution will be linked with some [driver](https://github.com/kaist-cp/kecc-public/blob/main/bench/driver.cpp), you need to follow the [LP64D ABI](https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/44f98e0fd8104def00f2a5a8d94b23dd647d18fb/riscv-elf.md#named-abis), which is the default ABI of RV64G...

assignment
homework - performance competition

Related issue: #539 We're experiencing issues with the SSO used with GG, which may currently prevent password resets. We're sorry for the inconvenience and are actively working on a fix....

bug
announcement

Implement assembly generation. - **instruction** + https://www.youtube.com/watch?v=qLZUtNTYIoo&list=PL5aMzERQ_OZ8RWqn-XiZLXm1IJuaQbXp0&index=28 and the following videos in the same playlist + https://docs.google.com/presentation/d/1SqtU-Cn60Sd1jkbO0OSsRYKPMIkul0eZoYG9KpMugFE/edit#slide=id.g8085bd6ec8_18_13 + RISC-V ISA manual: Vol 1 of https://lf-riscv.atlassian.net/wiki/spaces/HOME/pages/16154769/RISC-V+Technical+Specifications. - **skeleton**: https://github.com/kaist-cp/kecc-public/blob/main/src/asmgen/mod.rs + fill...

assignment
homework - asmgen

Implement deadcode elimination. - **instruction** + https://www.youtube.com/watch?v=zoCikRTbDbY&list=PL5aMzERQ_OZ8RWqn-XiZLXm1IJuaQbXp0&index=26 + https://docs.google.com/presentation/d/1SqtU-Cn60Sd1jkbO0OSsRYKPMIkul0eZoYG9KpMugFE/edit#slide=id.g87567d459f_0_5 - **skeleton**: https://github.com/kaist-cp/kecc-public/blob/main/src/opt/deadcode.rs + fill out `todo!()`. + **don't fork this repository.** It'll be public! - **self grader** + https://github.com/kaist-cp/kecc-public/blob/main/scripts/grade-deadcode.sh -...

assignment
homework - deadcode

Implement global value numbering. - **instruction** + https://www.youtube.com/watch?v=ICxRjSz7AtU&list=PL5aMzERQ_OZ8RWqn-XiZLXm1IJuaQbXp0&index=25 + https://docs.google.com/presentation/d/1SqtU-Cn60Sd1jkbO0OSsRYKPMIkul0eZoYG9KpMugFE/edit#slide=id.g84443caee3_2_34 - **skeleton**: https://github.com/kaist-cp/kecc-public/blob/main/src/opt/gvn.rs + fill out `todo!()`. + **don't fork this repository.** It'll be public! - **self grader** + https://github.com/kaist-cp/kecc-public/blob/main/scripts/grade-gvn.sh...

assignment
homework - gvn

Implement register promotion. - **instruction** + Note: The videos are outdated. We are going to teach a much simpler algorithm in the lectures. + https://www.youtube.com/watch?v=vYIkVQq2Wy0&list=PL5aMzERQ_OZ8RWqn-XiZLXm1IJuaQbXp0&index=19 and the following videos in...

assignment
homework - mem2reg

Implement CFG simplification. - **instructions** + https://www.youtube.com/watch?v=d_Op82Npn5Y&list=PL5aMzERQ_OZ8RWqn-XiZLXm1IJuaQbXp0&index=19 + https://docs.google.com/presentation/d/1SqtU-Cn60Sd1jkbO0OSsRYKPMIkul0eZoYG9KpMugFE/edit#slide=id.g8383bf8a38_20_93 - **skeleton**: https://github.com/kaist-cp/kecc-public/blob/main/src/opt/simplify_cfg.rs + fill out `todo!()`. + **don't fork this repository.** It'll be public! - **self grader** + https://github.com/kaist-cp/kecc-public/blob/main/scripts/grade-simplify_cfg.sh -...

assignment
homework - simplify_cfg