Skip to content

Commit

Permalink
add v flags to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Sep 6, 2023
1 parent fe256d0 commit 738d70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test_svc:
$(MAKE) -C test test_svc

disas:
riscv64-linux-gnu-as -c -o a.o a.s -march=rv64iafmqg && riscv64-unknown-elf-objdump -d a.o
riscv64-linux-gnu-as -c -o a.o a.s -march=rv64iafmqgv && riscv64-unknown-elf-objdump -d a.o
disas_c:
riscv64-linux-gnu-as -c -o a.o a.s -march=rv64gc && riscv64-unknown-elf-objdump -d a.o

Expand Down
4 changes: 2 additions & 2 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ set -e
case $1 in
svc)
echo "svc test"
ASFLAGS="-march=rv64iafmqgc"
ASFLAGS="-march=rv64iafmqgcv"
GEN=gen_test_svc.py
;;
*)
echo "test"
ASFLAGS="-march=rv64iafmqg"
ASFLAGS="-march=rv64iafmqgv"
GEN=gen_test.py
;;
esac
Expand Down

0 comments on commit 738d70f

Please sign in to comment.