oaknut/tests: Reduce iterations for MOVP2R

This commit is contained in:
Merry 2023-10-25 18:20:50 +01:00
parent cc37df19e2
commit 53c43bf0c6
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -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;