Skip to content

Commit

Permalink
Use Zbb (basic bitmanip) target feature (-1008 bytes)
Browse files Browse the repository at this point in the history
The VeeR core supports the Zbb RISC-V extension. By telling LLVM to use these
instructions, we can shave 1008 bytes off the size of the ROM.
  • Loading branch information
korran committed May 24, 2023
1 parent 7454ee6 commit 94eed29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
rustflags = [
"-C", "target-feature=+relax",
"-C", "target-feature=+unaligned-scalar-mem",
"-C", "target-feature=+zbb",
]

0 comments on commit 94eed29

Please sign in to comment.