aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegan Wachs <megan@sifive.com>2017-04-14 10:26:11 -0700
committerMegan Wachs <megan@sifive.com>2017-04-14 10:26:11 -0700
commit3429eb68637ff9e25d678d7e2b5f636ab409543c (patch)
tree6165e3b0e86c9df96d7452b015668cdafa8dae61
parent584af13876fc0a9d2225df376059b627ed5e56d7 (diff)
downloadriscv-tests-3429eb68637ff9e25d678d7e2b5f636ab409543c.zip
riscv-tests-3429eb68637ff9e25d678d7e2b5f636ab409543c.tar.gz
riscv-tests-3429eb68637ff9e25d678d7e2b5f636ab409543c.tar.bz2
debug: checkpoint trying to get 64 bit programs to compile as well.
-rw-r--r--debug/testlib.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index b0a625b..9889bad 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -24,6 +24,9 @@ def compile(args, xlen=32): # pylint: disable=redefined-builtin
if (xlen == 32):
cmd.append("-march=rv32imac")
cmd.append("-mabi=ilp32")
+ else:
+ cmd.append("-march=rv64imac")
+ cmd.append("-mabi=lp64")
for arg in args:
found = find_file(arg)
if found: