mirror of
https://github.com/yuzu-mirror/oaknut.git
synced 2025-12-06 07:01:59 +01:00
oaknut/tests: Reduce iterations for MOVP2R
This commit is contained in:
parent
cc37df19e2
commit
53c43bf0c6
|
|
@ -57,6 +57,7 @@ if (MASTER_PROJECT)
|
|||
tests/basic.cpp
|
||||
tests/fpsimd.cpp
|
||||
tests/general.cpp
|
||||
tests/rand_int.hpp
|
||||
tests/vector_code_gen.cpp
|
||||
)
|
||||
target_include_directories(oaknut-tests PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/tests)
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ TEST_CASE("MOVP2R")
|
|||
{
|
||||
CodeBlock mem{4096};
|
||||
|
||||
for (int i = 0; i < 0x200'0000; i++) {
|
||||
for (int i = 0; i < 0x200000; i++) {
|
||||
const std::int64_t diff = RandInt<std::int64_t>(std::numeric_limits<std::int64_t>::min(),
|
||||
std::numeric_limits<std::int64_t>::max());
|
||||
const std::intptr_t value = reinterpret_cast<std::intptr_t>(mem.ptr()) + diff;
|
||||
|
|
|
|||
Loading…
Reference in a new issue