From cd3e71592208d79ee303ac9ab7dec879c2f8f7a9 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 20 Jan 2017 19:25:28 -0800 Subject: [PATCH] Use correct macro to guard floating-point initialization --- benchmarks/common/crt.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2