| Index: crosstest/test_arith_main.cpp
|
| diff --git a/crosstest/test_arith_main.cpp b/crosstest/test_arith_main.cpp
|
| index d9bbbe9c7490e1a725412dc40946a9de94e9923d..1059932f732b7e91982521a79690dc74b3d67f3b 100644
|
| --- a/crosstest/test_arith_main.cpp
|
| +++ b/crosstest/test_arith_main.cpp
|
| @@ -192,8 +192,8 @@ void testsVecInt(size_t &TotalTests, size_t &Passes, size_t &Failures) {
|
| // Initialize the test vectors.
|
| TypeUnsigned Value1, Value2;
|
| for (size_t j = 0; j < NumElementsInType;) {
|
| - ElementTypeUnsigned Element1 = Values[Index() % NumElementsInType];
|
| - ElementTypeUnsigned Element2 = Values[Index() % NumElementsInType];
|
| + ElementTypeUnsigned Element1 = Values[Index() % NumValues];
|
| + ElementTypeUnsigned Element2 = Values[Index() % NumValues];
|
| if (Funcs[f].ExcludeDivExceptions &&
|
| inputsMayTriggerException<ElementTypeSigned>(Element1, Element2))
|
| continue;
|
| @@ -310,8 +310,8 @@ void testsVecFp(size_t &TotalTests, size_t &Passes, size_t &Failures) {
|
| // Initialize the test vectors.
|
| v4f32 Value1, Value2;
|
| for (size_t j = 0; j < NumElementsInType; ++j) {
|
| - Value1[j] = Values[Index() % NumElementsInType];
|
| - Value2[j] = Values[Index() % NumElementsInType];
|
| + Value1[j] = Values[Index() % NumValues];
|
| + Value2[j] = Values[Index() % NumValues];
|
| }
|
| // Perform the test.
|
| v4f32 ResultSz = Funcs[f].FuncSz(Value1, Value2);
|
|
|