projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed chordal_env from be lowering
[libfirm]
/
ir
/
be
/
test
/
simd2.c
diff --git
a/ir/be/test/simd2.c
b/ir/be/test/simd2.c
index
39ce28c
..
a4d56d5
100644
(file)
--- a/
ir/be/test/simd2.c
+++ b/
ir/be/test/simd2.c
@@
-44,12
+44,17
@@
unsigned int sad16_c( const unsigned char * const cur,
}
}
-int main(){
+int main(
int argc, char** argv
){
unsigned char cur[65536];
unsigned char ref[65536];
int sum = 0;
int numofruns = 100;
int i,ii;
unsigned char cur[65536];
unsigned char ref[65536];
int sum = 0;
int numofruns = 100;
int i,ii;
+
+ if(argc > 1) {
+ numofruns = atoi(argv[1]);
+ }
+
for (i=0;i < numofruns; i++){
// Reset cache. Alles andere ist unrealistisch.
for(ii = 0; ii<65536;ii++){
for (i=0;i < numofruns; i++){
// Reset cache. Alles andere ist unrealistisch.
for(ii = 0; ii<65536;ii++){