projects
/
riscv-tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0838079
)
Use correct macro to guard floating-point initialization
author
Andrew Waterman
<andrew@sifive.com>
Sat, 21 Jan 2017 03:25:28 +0000
(19:25 -0800)
committer
Andrew Waterman
<andrew@sifive.com>
Sat, 21 Jan 2017 03:25:28 +0000
(19:25 -0800)
benchmarks/common/crt.S
patch
|
blob
|
history
diff --git
a/benchmarks/common/crt.S
b/benchmarks/common/crt.S
index de1d7281d3296695b7f1df41330f6858110ae5db..a821769c152d8cfe2d91e374e0e46d809d0839e5 100644
(file)
--- 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