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:
ca4f7ce
)
need fence before scall for vector mm
author
Yunsup Lee
<yunsup@cs.berkeley.edu>
Tue, 17 Mar 2015 21:38:04 +0000
(14:38 -0700)
committer
Yunsup Lee
<yunsup@cs.berkeley.edu>
Tue, 17 Mar 2015 21:38:04 +0000
(14:38 -0700)
benchmarks/mm/mm_main.c
patch
|
blob
|
history
diff --git
a/benchmarks/mm/mm_main.c
b/benchmarks/mm/mm_main.c
index 4fb1b1bfbcda73d1c6a9c9c8841e436f2a2f0960..1f4e28b30b200adcef80862514af2426bcba1d9a 100644
(file)
--- a/
benchmarks/mm/mm_main.c
+++ b/
benchmarks/mm/mm_main.c
@@
-55,6
+55,8
@@
void thread_entry(int cid, int nc)
}
}
+ asm volatile("fence");
+
printf("C%d: reg block %dx%dx%d, cache block %dx%dx%d\n",
cid, RBM, RBN, RBK, CBM, CBN, CBK);
printf("C%d: %d instructions\n", cid, (int)(instret));