summaryrefslogtreecommitdiff
path: root/tests/test-progs/insttest/src/riscv/Makefile
diff options
context:
space:
mode:
authorAlec Roelke <ar4jc@virginia.edu>2017-07-09 16:24:27 -0400
committerAlec Roelke <ar4jc@virginia.edu>2017-07-11 03:45:25 +0000
commiteef537fd993f7a879a44f5786bc528e03b0e61bc (patch)
treeca317c6ffdc047530cdb4cd6d91689618e7e102a /tests/test-progs/insttest/src/riscv/Makefile
parent7e6a35374a944b67868d92ce85b427ea9103ca53 (diff)
downloadgem5-eef537fd993f7a879a44f5786bc528e03b0e61bc.tar.xz
arch-riscv,tests: Add insttests for RV64C
This patch adds instruction tests for the RV64C extension implementation. It also updates existing executables for the latest riscv-tools now that they are compatible. [Update for changes to parents.] Change-Id: Id4cfd966a8cae39b0d728b02849622fd00ee7e0e Reviewed-on: https://gem5-review.googlesource.com/3862 Maintainer: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'tests/test-progs/insttest/src/riscv/Makefile')
-rw-r--r--tests/test-progs/insttest/src/riscv/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-progs/insttest/src/riscv/Makefile b/tests/test-progs/insttest/src/riscv/Makefile
index c493b40ce..921e37259 100644
--- a/tests/test-progs/insttest/src/riscv/Makefile
+++ b/tests/test-progs/insttest/src/riscv/Makefile
@@ -27,9 +27,9 @@
# Authors: Alec Roelke
CXX=riscv64-unknown-linux-gnu-g++
-CFLAGS=--std=c++11 -O3 -static
+CFLAGS=-std=gnu++11 -O3 -static -march=rv64gc
-TARGETS=rv64i rv64m rv64a rv64f rv64d
+TARGETS=rv64i rv64m rv64a rv64f rv64d rv64c
PREFIX=../../bin/riscv/linux
BIN=insttest
@@ -44,6 +44,7 @@ rv64m: rv64m.cpp
rv64a: rv64a.cpp
rv64f: rv64f.cpp
rv64d: rv64d.cpp
+rv64c: rv64c.cpp
clean:
-rm $(PREFIX)-*/$(BIN)