Remove tests from IWRAM
While some parts of the tests should be contained in IWRAM for profiling purposes, the majority of test code shoud not.
This commit is contained in:
parent
a449c4f749
commit
64ae33535b
@ -31,11 +31,11 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// All tests are placed in IWRAM in ARM mode.
|
// All tests are placed in IWRAM in ARM mode.
|
||||||
GBA_IWRAM ARM_MODE static bool addition();
|
static bool addition();
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction();
|
static bool subtraction();
|
||||||
GBA_IWRAM ARM_MODE static bool multiplication();
|
static bool multiplication();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_overflow();
|
static bool mult_overflow();
|
||||||
GBA_IWRAM ARM_MODE static bool division();
|
static bool division();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace test
|
} // namespace test
|
||||||
|
|||||||
@ -36,26 +36,26 @@ public:
|
|||||||
return "mat_suite";
|
return "mat_suite";
|
||||||
}
|
}
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool construction_m2();
|
static bool construction_m2();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool addition_m2();
|
static bool addition_m2();
|
||||||
GBA_IWRAM ARM_MODE static bool addition_m3();
|
static bool addition_m3();
|
||||||
GBA_IWRAM ARM_MODE static bool addition_m4();
|
static bool addition_m4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction_m2();
|
static bool subtraction_m2();
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction_m3();
|
static bool subtraction_m3();
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction_m4();
|
static bool subtraction_m4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool mult_vec_m2();
|
static bool mult_vec_m2();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_vec_m3();
|
static bool mult_vec_m3();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_vec_m4();
|
static bool mult_vec_m4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool mult_mat_m2();
|
static bool mult_mat_m2();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_mat_m3();
|
static bool mult_mat_m3();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_mat_m4();
|
static bool mult_mat_m4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool projection_build_m4();
|
static bool projection_build_m4();
|
||||||
GBA_IWRAM ARM_MODE static bool projection_calc_m4();
|
static bool projection_calc_m4();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace test
|
} // namespace test
|
||||||
|
|||||||
@ -63,39 +63,39 @@ public:
|
|||||||
return a.x == 1 && a.y == 2 && a.z == 3 && a.w == 4;
|
return a.x == 1 && a.y == 2 && a.z == 3 && a.w == 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool addition_v2();
|
static bool addition_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool addition_v3();
|
static bool addition_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool addition_v4();
|
static bool addition_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction_v2();
|
static bool subtraction_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction_v3();
|
static bool subtraction_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool subtraction_v4();
|
static bool subtraction_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool negation_v2();
|
static bool negation_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool negation_v3();
|
static bool negation_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool negation_v4();
|
static bool negation_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool mult_scalar_v2();
|
static bool mult_scalar_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_scalar_v3();
|
static bool mult_scalar_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool mult_scalar_v4();
|
static bool mult_scalar_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool dot_v2();
|
static bool dot_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool dot_v3();
|
static bool dot_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool dot_v4();
|
static bool dot_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool division_scalar_v2();
|
static bool division_scalar_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool division_scalar_v3();
|
static bool division_scalar_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool division_scalar_v4();
|
static bool division_scalar_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool magnitude_sqr_v2();
|
static bool magnitude_sqr_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool magnitude_sqr_v3();
|
static bool magnitude_sqr_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool magnitude_sqr_v4();
|
static bool magnitude_sqr_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool transpose_v2();
|
static bool transpose_v2();
|
||||||
GBA_IWRAM ARM_MODE static bool transpose_v3();
|
static bool transpose_v3();
|
||||||
GBA_IWRAM ARM_MODE static bool transpose_v4();
|
static bool transpose_v4();
|
||||||
|
|
||||||
GBA_IWRAM ARM_MODE static bool projection_v4();
|
static bool projection_v4();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace test
|
} // namespace test
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user