diff options
| author | JosJuice <josjuice@gmail.com> | 2025-11-02 12:30:26 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2026-01-18 11:21:35 +0100 |
| commit | 75666604a2b0a789d724499755495c60e630ffbc (patch) | |
| tree | c86a909f975c63478a7f170251703f303ddb3cde /Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp | |
| parent | 373e35ed5b3202bd91c05f6dd1f49fcee449d2a5 (diff) | |
Jit64: Add fres unit test
Diffstat (limited to 'Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp')
| -rw-r--r-- | Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp index 05c80854b2..c9f69d0de1 100644 --- a/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp +++ b/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp @@ -64,7 +64,8 @@ TEST(Jit64, ConvertDoubleToSingle) const u32 expected = ConvertToSingle(input); const u32 actual = routines.wrapped_cdts(input); - fmt::print("{:016x} -> {:08x} == {:08x}\n", input, actual, expected); + if (expected != actual) + fmt::print("{:016x} -> {:08x} == {:08x}\n", input, actual, expected); EXPECT_EQ(expected, actual); } |
