Skip to content

Commit

Permalink
li a0,0 is shorter so it should compile slightly faster
Browse files Browse the repository at this point in the history
  • Loading branch information
HidetaroTanaka committed Jan 31, 2024
1 parent 62ea37b commit 795f5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimized_implementations/main.riscv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
is_prime:mv a0,zero;ret
is_prime:li a0,0;ret

0 comments on commit 795f5a0

Please sign in to comment.