projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make dhrystone report correct-ish numbers
[riscv-tests.git]
/
benchmarks
/
common
/
crt.S
diff --git
a/benchmarks/common/crt.S
b/benchmarks/common/crt.S
index 0c99c4a913df39a71c008ee1b9b38838500ff4f3..97b90d53dfb0d9a81e5c5cdbaa980a642a55e335 100644
(file)
--- a/
benchmarks/common/crt.S
+++ b/
benchmarks/common/crt.S
@@
-131,6
+131,9
@@
_start:
fmv.s.x f31,x0
1:
+ # initialize global pointer
+ la gp, _gp
+
la tp, _end + 63
and tp, tp, -64