Use correct macro to guard floating-point initialization
authorAndrew Waterman <andrew@sifive.com>
Sat, 21 Jan 2017 03:25:28 +0000 (19:25 -0800)
committerAndrew Waterman <andrew@sifive.com>
Sat, 21 Jan 2017 03:25:28 +0000 (19:25 -0800)
benchmarks/common/crt.S

index de1d7281d3296695b7f1df41330f6858110ae5db..a821769c152d8cfe2d91e374e0e46d809d0839e5 100644 (file)
@@ -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