From: Andrew Waterman Date: Sat, 21 Jan 2017 03:25:28 +0000 (-0800) Subject: Use correct macro to guard floating-point initialization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd3e71592208d79ee303ac9ab7dec879c2f8f7a9;p=riscv-tests.git Use correct macro to guard floating-point initialization --- 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