diff --git a/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp b/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp index 511d1b2d6f..8f44259f8d 100644 --- a/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp +++ b/Source/UnitTests/Core/PowerPC/JitArm64/MovI2R.cpp @@ -54,11 +54,13 @@ public: TEST(JitArm64, MovI2R_32BitValues) { + Common::Random::PRNG rng{0}; TestMovI2R test; - for (u64 i = 0; i < 0x100000000; i++) + for (u64 i = 0; i < 0x100000; i++) { - test.Check32(static_cast(i)); - test.Check64(i); + const u32 value = rng.GenerateValue(); + test.Check32(value); + test.Check64(value); } }