summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp')
-rw-r--r--Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp3
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);
}