Use correct macro to guard floating-point initialization
[riscv-tests.git] / 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