- fixed num iterations
git-svn-id: http://moon:8086/svn/mips@171 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+2
-5
@@ -202,7 +202,7 @@ int Test10_LoadStore()
|
||||
|
||||
|
||||
#define NUM_ELEMENTS 20
|
||||
#define NUM_RUNS 3
|
||||
#define NUM_RUNS 1
|
||||
int Test11_AddSub()
|
||||
{
|
||||
int buf[NUM_ELEMENTS], result, i, j, diff, fill, num_right_elements, num_right_runs;
|
||||
@@ -242,9 +242,7 @@ int Test12_MulDiv()
|
||||
div_t div_res;
|
||||
|
||||
srand(0x19701031);
|
||||
for (i=0; i < 100; i++)
|
||||
{
|
||||
for (j=1; j < 1000; j++)
|
||||
for (i=0; i < NUM_RUNS; i++)
|
||||
{
|
||||
mix = (int)rand();
|
||||
mix = (mix << 8) ^ (mix << 16);
|
||||
@@ -260,7 +258,6 @@ int Test12_MulDiv()
|
||||
if (st != s1)
|
||||
return TEST12_ERROR;
|
||||
}
|
||||
}
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user