summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-11-02 12:30:26 +0100
committerJosJuice <josjuice@gmail.com>2026-01-18 11:21:35 +0100
commit75666604a2b0a789d724499755495c60e630ffbc (patch)
treec86a909f975c63478a7f170251703f303ddb3cde /Source/UnitTests/Core/PowerPC/Jit64Common/ConvertDoubleToSingle.cpp
parent373e35ed5b3202bd91c05f6dd1f49fcee449d2a5 (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.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);
}