projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Speed up benchmarks that take a long time to run
[riscv-tests.git]
/
benchmarks
/
mm
/
mm_main.c
diff --git
a/benchmarks/mm/mm_main.c
b/benchmarks/mm/mm_main.c
index 4d08b152350e33fc2a5419375a825cacce2d8acb..133b5a2d73a17434e8aefef7d8e4ebf4ba8d402e 100644
(file)
--- a/
benchmarks/mm/mm_main.c
+++ b/
benchmarks/mm/mm_main.c
@@
-6,6
+6,8
@@
#include <stdio.h>
#include "util.h"
#include <stdio.h>
#include "util.h"
+#pragma GCC optimize ("unroll-loops")
+
void thread_entry(int cid, int nc)
{
const int R = 8;
void thread_entry(int cid, int nc)
{
const int R = 8;