diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-01-20 19:25:28 -0800 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-01-20 19:25:28 -0800 |
commit | cd3e71592208d79ee303ac9ab7dec879c2f8f7a9 (patch) | |
tree | 4d9714e2cb5ca5a194b96deeacc01a3dae64cde9 /benchmarks | |
parent | 08380798fab6285bfddb406344e21a671b6a02f9 (diff) | |
download | riscv-tests-cd3e71592208d79ee303ac9ab7dec879c2f8f7a9.zip riscv-tests-cd3e71592208d79ee303ac9ab7dec879c2f8f7a9.tar.gz riscv-tests-cd3e71592208d79ee303ac9ab7dec879c2f8f7a9.tar.bz2 |
Use correct macro to guard floating-point initialization
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/common/crt.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/common/crt.S b/benchmarks/common/crt.S index de1d728..a821769 100644 --- a/benchmarks/common/crt.S +++ b/benchmarks/common/crt.S @@ -65,7 +65,7 @@ _start: j tohost_exit 1: -#ifdef __riscv_hard_float +#ifdef __riscv_flen # initialize FPU if we have one andi t0, t0, 1 << ('f' - 'a') beqz t0, 1f |