diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2015-03-17 14:38:04 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2015-03-17 14:38:04 -0700 |
commit | 211e4fcdc93654fc810cff0b6864fdc7097919dc (patch) | |
tree | 4b21fdfd1653f1adc65be9ec7de7dd96df6d9f14 /benchmarks | |
parent | ca4f7ce11774eac3f03465f8d9243ce6b23c815b (diff) | |
download | riscv-tests-211e4fcdc93654fc810cff0b6864fdc7097919dc.zip riscv-tests-211e4fcdc93654fc810cff0b6864fdc7097919dc.tar.gz riscv-tests-211e4fcdc93654fc810cff0b6864fdc7097919dc.tar.bz2 |
need fence before scall for vector mm
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/mm/mm_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/mm/mm_main.c b/benchmarks/mm/mm_main.c index 4fb1b1b..1f4e28b 100644 --- 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)); |