diff options
author | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2008-04-16 08:15:07 +0400 |
---|---|---|
committer | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2008-04-16 08:15:07 +0400 |
commit | 558c50eb3d052182cabcbe4c6276a257fe49d8cc (patch) | |
tree | a98861e8786a34f5a36217fe44522e1e41c4227d /tests | |
parent | 57e004bf7460b2ad3861b7898c8fd75bf85efb50 (diff) |
optimisation: Making it clear to the compiler that many of the loops in cwrs
need to iterate at least once.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cwrs32-test.c | 2 | ||||
-rw-r--r-- | tests/cwrs64-test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cwrs32-test.c b/tests/cwrs32-test.c index 1f10ed4..8285fb4 100644 --- a/tests/cwrs32-test.c +++ b/tests/cwrs32-test.c @@ -10,7 +10,7 @@ int main(int _argc,char **_argv){ int n; - for(n=0;n<=NMAX;n++){ + for(n=2;n<=NMAX;n++){ int m; for(m=0;m<=MMAX;m++){ celt_uint32_t uu[NMAX]; diff --git a/tests/cwrs64-test.c b/tests/cwrs64-test.c index 2878f28..b0c79b5 100644 --- a/tests/cwrs64-test.c +++ b/tests/cwrs64-test.c @@ -11,7 +11,7 @@ int main(int _argc,char **_argv){ int n; - for(n=0;n<=NMAX;n+=3){ + for(n=2;n<=NMAX;n+=3){ int m; for(m=0;m<=MMAX;m++){ celt_uint64_t uu[NMAX]; |