-
Notifications
You must be signed in to change notification settings - Fork 27
Add FMA test #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add FMA test #58
Conversation
| // TODO: If we don't truncate c's mantissa bits, the ps0 calculation behaves as expected, | ||
| // but the ps1 calculation behaves in a way that matches neither c being truncated nor c | ||
| // not being truncated. This could use further investigation. | ||
| const u64 c = TruncateMantissaBits(test_case_1.c); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not going to look deeper into it for now, but if anyone is interested in this edge case, here are the failing tests (for NI=0, RN=0):
Failing tests
Subtest 7076 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 bff0000000000000, c=3fffffffffffffff
got 4010000000000000 3fefffffe0000000
expected 4010000000000000 3ff0000000000000
Subtest 7081 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cc0000000000000 3ff0000000000000, c=3fffffffffffffff
got 4010000000000000 bfefffffe0000000
expected 4010000000000000 bff0000000000000
Subtest 7082 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 bff0000000000000, c=3fffffffffffffff
got 4010000000000000 3fefffffe0000000
expected 4010000000000000 3ff0000000000000
Subtest 7110 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 47e0000000000000, b=3cc0000000000000 c7e0000000000000, c=3fffffffffffffff
got 4010000000000000 47dfffffe0000000
expected 4010000000000000 47e0000000000000
Subtest 7133 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000020000000, b=3cc0000000000000 3e80000000000000, c=3fffffffffffffff
got 4010000000000000 4000000020000000
expected 4010000000000000 4000000040000000
Subtest 7141 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 bc90000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7142 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cc0000000000000 3c90000000000000, c=3fffffffffffffff
got 4010000000000000 bfffffffe0000000
expected 4010000000000000 c000000000000000
Subtest 7143 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 bc90000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7144 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cc0000000000000 3c90000000000000, c=3fffffffffffffff
got 4010000000000000 bfffffffe0000000
expected 4010000000000000 c000000000000000
Subtest 7145 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 bff0000020000000, c=3fffffffffffffff
got 4010000000000000 3fefffffa0000000
expected 4010000000000000 3fefffffc0000000
Subtest 7146 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cc0000000000000 3ff0000020000000, c=3fffffffffffffff
got 4010000000000000 bfefffffa0000000
expected 4010000000000000 bfefffffc0000000
Subtest 7155 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000020000000, b=3cc0000000000000 bff0000040000000, c=3fffffffffffffff
got 4010000000000000 3fefffffe0000000
expected 4010000000000000 3ff0000000000000
Subtest 7156 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000020000000, b=3cc0000000000000 3ff0000040000000, c=3fffffffffffffff
got 4010000000000000 bfefffffe0000000
expected 4010000000000000 bff0000000000000
Subtest 7163 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 bca0000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7164 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cc0000000000000 3ca0000000000000, c=3fffffffffffffff
got 4010000000000000 bfffffffe0000000
expected 4010000000000000 c000000000000000
Subtest 7186 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cc0000000000000 b6a0000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7212 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 bff0000000000000, c=3fffffffffffffff
got 4010000000000000 3fefffffe0000000
expected 4010000000000000 3ff0000000000000
Subtest 7217 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cd0000000000000 3ff0000000000000, c=3fffffffffffffff
got 4010000000000000 bfefffffe0000000
expected 4010000000000000 bff0000000000000
Subtest 7218 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 bff0000000000000, c=3fffffffffffffff
got 4010000000000000 3fefffffe0000000
expected 4010000000000000 3ff0000000000000
Subtest 7246 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 47e0000000000000, b=3cd0000000000000 c7e0000000000000, c=3fffffffffffffff
got 4010000000000000 47dfffffe0000000
expected 4010000000000000 47e0000000000000
Subtest 7269 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000020000000, b=3cd0000000000000 3e80000000000000, c=3fffffffffffffff
got 4010000000000000 4000000020000000
expected 4010000000000000 4000000040000000
Subtest 7277 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 bc90000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7278 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cd0000000000000 3c90000000000000, c=3fffffffffffffff
got 4010000000000000 bfffffffe0000000
expected 4010000000000000 c000000000000000
Subtest 7279 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 bc90000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7280 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cd0000000000000 3c90000000000000, c=3fffffffffffffff
got 4010000000000000 bfffffffe0000000
expected 4010000000000000 c000000000000000
Subtest 7281 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 bff0000020000000, c=3fffffffffffffff
got 4010000000000000 3fefffffa0000000
expected 4010000000000000 3fefffffc0000000
Subtest 7282 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cd0000000000000 3ff0000020000000, c=3fffffffffffffff
got 4010000000000000 bfefffffa0000000
expected 4010000000000000 bfefffffc0000000
Subtest 7291 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000020000000, b=3cd0000000000000 bff0000040000000, c=3fffffffffffffff
got 4010000000000000 3fefffffe0000000
expected 4010000000000000 3ff0000000000000
Subtest 7292 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000020000000, b=3cd0000000000000 3ff0000040000000, c=3fffffffffffffff
got 4010000000000000 bfefffffe0000000
expected 4010000000000000 bff0000000000000
Subtest 7299 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 bca0000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 7300 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff bff0000000000000, b=3cd0000000000000 3ca0000000000000, c=3fffffffffffffff
got 4010000000000000 bfffffffe0000000
expected 4010000000000000 c000000000000000
Subtest 7322 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3fffffffffffffff 3ff0000000000000, b=3cd0000000000000 b6a0000000000000, c=3fffffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 13286 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=0000000000000002 bff0000080000000, b=0000000000000001 8000000000000000, c=0000000000000003
got 0000000000000000 0000000000000000
expected 0000000000000000 8000000000000000
Subtest 13422 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=0000000000000001 bff0000080000000, b=8000000000000001 8000000000000000, c=0000000000000001
got 8000000000000000 0000000000000000
expected 8000000000000000 8000000000000000
Subtest 14374 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=7ff0000000000000 bff0000080000000, b=3ff0000000000000 8000000000000000, c=0000000000000001
got 7ff0000000000000 0000000000000000
expected 7ff0000000000000 8000000000000000
Subtest 15780 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 bff0000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15782 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c024000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15783 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 4024000000000000, c=47dffffffbffffff
got 46a0000000000000 c7dfffffe0000000
expected 46a0000000000000 c7e0000000000000
Subtest 15785 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 3ff0000000000000, c=47dffffffbffffff
got 46a0000000000000 c7dfffffe0000000
expected 46a0000000000000 c7e0000000000000
Subtest 15786 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 bff0000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15845 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 bc90000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15846 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 3c90000000000000, c=47dffffffbffffff
got 46a0000000000000 c7dfffffe0000000
expected 46a0000000000000 c7e0000000000000
Subtest 15847 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 bc90000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15848 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 3c90000000000000, c=47dffffffbffffff
got 46a0000000000000 c7dfffffe0000000
expected 46a0000000000000 c7e0000000000000
Subtest 15849 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 bff0000020000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15850 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 3ff0000020000000, c=47dffffffbffffff
got 46a0000000000000 c7dfffffe0000000
expected 46a0000000000000 c7e0000000000000
Subtest 15867 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 bca0000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15868 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 3ca0000000000000, c=47dffffffbffffff
got 46a0000000000000 c7dfffffe0000000
expected 46a0000000000000 c7e0000000000000
Subtest 15885 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 36a0000000000000, b=c7dffffe00000000 b6a0000000000000, c=47dffffffbffffff
got 46a0000000000000 3e8fffffe0000000
expected 46a0000000000000 3e90000000000000
Subtest 15886 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 36d0000000000000, b=c7dffffe00000000 b6c0000000000000, c=47dffffffbffffff
got 46a0000000000000 3ebfffffe0000000
expected 46a0000000000000 3ec0000000000000
Subtest 15888 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3800000000000000, b=c7dffffe00000000 b80010c840000000, c=47dffffffbffffff
got 46a0000000000000 3fefffffe0000000
expected 46a0000000000000 3ff0000000000000
Subtest 15890 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 b6a0000000000000, c=47dffffffbffffff
got 46a0000000000000 47dfffffe0000000
expected 46a0000000000000 47e0000000000000
Subtest 15893 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c7dffffe00000000, c=47dffffffbffffff
got 46a0000000000000 469f000000000000
expected 46a0000000000000 46a0000000000000
Subtest 15895 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c7dffffe00000000, c=47dffffffbffffff
got 46a0000000000000 469f000000000000
expected 46a0000000000000 46a0000000000000
Subtest 15897 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c7dffffe00000000, c=47dffffffbffffff
got 46a0000000000000 469f000000000000
expected 46a0000000000000 46a0000000000000
Subtest 16321 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 4000000000000000, b=c7dffffe00000000 3ff0000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffe0000000
expected 469f000000000000 7ff0000000000000
Subtest 16322 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3fe0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47cfffffe0000000
expected 469f000000000000 47d0000000000000
Subtest 16325 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16335 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3fe0000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16344 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 4000000000000000, b=c7dffffe00000000 3ff0000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffe0000000
expected 469f000000000000 7ff0000000000000
Subtest 16347 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 4000000000000000, b=c7dffffe00000000 3ff0000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffe0000000
expected 469f000000000000 7ff0000000000000
Subtest 16367 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3c90000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16368 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3ca0000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16369 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3cb0000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16370 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3c90000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16371 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3ca0000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16372 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3cb0000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16373 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3fffffffe0000000, b=c7dffffe00000000 3cc0000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffc0000000
expected 469f000000000000 47efffffe0000000
Subtest 16374 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3fffffffe0000000, b=c7dffffe00000000 3cd0000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffc0000000
expected 469f000000000000 47efffffe0000000
Subtest 16375 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16376 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3e60000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16377 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3e70000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16378 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3e80000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16379 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000020000000, b=c7dffffe00000000 3e60000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000000000000
expected 469f000000000000 47e0000020000000
Subtest 16380 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000020000000, b=c7dffffe00000000 3e70000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000000000000
expected 469f000000000000 47e0000020000000
Subtest 16381 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000020000000, b=c7dffffe00000000 3e80000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000000000000
expected 469f000000000000 47e0000020000000
Subtest 16382 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3fffffffe0000000, b=c7dffffe00000000 3e90000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffc0000000
expected 469f000000000000 47efffffe0000000
Subtest 16383 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3fffffffe0000000, b=c7dffffe00000000 3ea0000000000000, c=47dfffffefffffff
got 469f000000000000 47efffffc0000000
expected 469f000000000000 47efffffe0000000
Subtest 16384 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000020000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000000000000
expected 469f000000000000 47e0000020000000
Subtest 16385 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3c90000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16386 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 bc90000000000000, c=47dfffffefffffff
got 469f000000000000 c7dfffffe0000000
expected 469f000000000000 c7e0000000000000
Subtest 16387 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 3c90000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16388 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000000000000, b=c7dffffe00000000 bc90000000000000, c=47dfffffefffffff
got 469f000000000000 c7dfffffe0000000
expected 469f000000000000 c7e0000000000000
Subtest 16395 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000080000000, b=c7dffffe00000000 3e60000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000060000000
expected 469f000000000000 47e0000080000000
Subtest 16396 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000080000000, b=c7dffffe00000000 be60000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000060000000
expected 469f000000000000 c7e0000080000000
Subtest 16397 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000140000000, b=c7dffffe00000000 3e60000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000120000000
expected 469f000000000000 47e0000140000000
Subtest 16398 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000140000000, b=c7dffffe00000000 be60000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000120000000
expected 469f000000000000 c7e0000140000000
Subtest 16399 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000180000000, b=c7dffffe00000000 be60000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000160000000
expected 469f000000000000 47e0000180000000
Subtest 16400 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000180000000, b=c7dffffe00000000 3e60000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000160000000
expected 469f000000000000 c7e0000180000000
Subtest 16401 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff00000c0000000, b=c7dffffe00000000 be60000000000000, c=47dfffffefffffff
got 469f000000000000 47e00000a0000000
expected 469f000000000000 47e00000c0000000
Subtest 16402 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff00000c0000000, b=c7dffffe00000000 3e60000000000000, c=47dfffffefffffff
got 469f000000000000 c7e00000a0000000
expected 469f000000000000 c7e00000c0000000
Subtest 16403 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000020000000, b=c7dffffe00000000 bff0000040000000, c=47dfffffefffffff
got 469f000000000000 47e0000000000000
expected 469f000000000000 47e0000020000000
Subtest 16404 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000020000000, b=c7dffffe00000000 3ff0000040000000, c=47dfffffefffffff
got 469f000000000000 c7e0000000000000
expected 469f000000000000 c7e0000020000000
Subtest 16405 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000080000000, b=c7dffffe00000000 3ca0000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000060000000
expected 469f000000000000 47e0000080000000
Subtest 16406 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000080000000, b=c7dffffe00000000 bca0000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000060000000
expected 469f000000000000 c7e0000080000000
Subtest 16407 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000020000000, b=c7dffffe00000000 3ca0000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000000000000
expected 469f000000000000 47e0000020000000
Subtest 16408 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000020000000, b=c7dffffe00000000 bca0000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000000000000
expected 469f000000000000 c7e0000020000000
Subtest 16409 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000180000000, b=c7dffffe00000000 bca0000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000160000000
expected 469f000000000000 47e0000180000000
Subtest 16410 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000180000000, b=c7dffffe00000000 3ca0000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000160000000
expected 469f000000000000 c7e0000180000000
Subtest 16413 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000080000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000060000000
expected 469f000000000000 47e0000080000000
Subtest 16414 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000080000000, b=c7dffffe00000000 8000000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000060000000
expected 469f000000000000 c7e0000080000000
Subtest 16415 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000180000000, b=c7dffffe00000000 8000000000000000, c=47dfffffefffffff
got 469f000000000000 47e0000160000000
expected 469f000000000000 47e0000180000000
Subtest 16416 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 bff0000180000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 c7e0000160000000
expected 469f000000000000 c7e0000180000000
Subtest 16423 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16424 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 8000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16428 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 36b0000000000000, b=c7dffffe00000000 36a0000000000000, c=47dfffffefffffff
got 469f000000000000 3e9fffffe0000000
expected 469f000000000000 3ea0000000000000
Subtest 16431 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3810000000000000, b=c7dffffe00000000 380010c840000000, c=47dfffffefffffff
got 469f000000000000 3fffffffe0000000
expected 469f000000000000 4000000000000000
Subtest 16433 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 36a0000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16435 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 381fffffe0000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 400fffffc0000000
expected 469f000000000000 400fffffe0000000
Subtest 16437 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c7dffffe00000000, c=47dfffffefffffff
got 469f000000000000 469e000000000000
expected 469f000000000000 469f000000000000
Subtest 16439 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c7dffffe00000000, c=47dfffffefffffff
got 469f000000000000 469e000000000000
expected 469f000000000000 469f000000000000
Subtest 16441 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 c7dffffe00000000, c=47dfffffefffffff
got 469f000000000000 469e000000000000
expected 469f000000000000 469f000000000000
Subtest 16443 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16445 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16447 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3ff0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 47dfffffe0000000
expected 469f000000000000 47e0000000000000
Subtest 16455 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 3800000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 3fefffffe0000000
expected 469f000000000000 3ff0000000000000
Subtest 16456 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 36a0000000000000, b=c7dffffe00000000 0000000000000000, c=47dfffffefffffff
got 469f000000000000 3e8fffffe0000000
expected 469f000000000000 3e90000000000000
Subtest 16627 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fe0000000000000, b=0000000000000000 3ff0000000000000, c=000ffffffbffffff
got 0000000000000000 4007ffffe0000000
expected 0000000000000000 4008000000000000
Subtest 16722 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fdfffffe0000000, b=0000000000000000 0ff0123400000000, c=000ffffffbffffff
got 0000000000000000 3fffffffa0000000
expected 0000000000000000 3fffffffe0000000
Subtest 16724 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fefffffe0000000, b=0000000000000000 0ff0123400000000, c=000ffffffbffffff
got 0000000000000000 400fffffa0000000
expected 0000000000000000 400fffffe0000000
Subtest 16899 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fe0000000000000, b=0000000000000000 3ff0000000000000, c=000ffffff7ffffff
got 0000000000000000 4007ffffe0000000
expected 0000000000000000 4008000000000000
Subtest 16994 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fdfffffe0000000, b=0000000000000000 0ff0123400000000, c=000ffffff7ffffff
got 0000000000000000 3fffffffa0000000
expected 0000000000000000 3fffffffc0000000
Subtest 16996 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fefffffe0000000, b=0000000000000000 0ff0123400000000, c=000ffffff7ffffff
got 0000000000000000 400fffffa0000000
expected 0000000000000000 400fffffc0000000
Subtest 17171 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fe0000000000000, b=0000000000000000 3ff0000000000000, c=000fffffefffffff
got 0000000000000000 4007ffffe0000000
expected 0000000000000000 4008000000000000
Subtest 17266 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fdfffffe0000000, b=0000000000000000 0ff0123400000000, c=000fffffefffffff
got 0000000000000000 3fffffffa0000000
expected 0000000000000000 3fffffffc0000000
Subtest 17268 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3ff0000000000000 7fefffffe0000000, b=0000000000000000 0ff0123400000000, c=000fffffefffffff
got 0000000000000000 400fffffa0000000
expected 0000000000000000 400fffffc0000000
Subtest 17510 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=0010000000000000 0008000000000000, b=0ff0123400000000 8008000000000000, c=7fdfffffffffffff
got 4000000000000000 3fefffffe0000000
expected 4000000000000000 3ff0000000000000
Subtest 17782 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=0010000000000000 0008000000000000, b=0ff0123400000000 8008000000000000, c=7fefffffffffffff
got 4010000000000000 3fffffffe0000000
expected 4010000000000000 4000000000000000
Subtest 18054 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=0001000000000000 0008000000000000, b=0000000000000000 8008000000000000, c=7fdfffffffffffff
got 3fc0000000000000 3fefffffe0000000
expected 3fc0000000000000 3ff0000000000000
Subtest 18190 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=0000000000000001 0008000000000000, b=0000000000000000 8008000000000000, c=7fdfffffffffffff
got 3cc0000000000000 3fefffffe0000000
expected 3cc0000000000000 3ff0000000000000
Subtest 18326 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=3800000000000000 0008000000000000, b=0000000000000000 8008000000000000, c=7fdfffffffffffff
got 7ff0000000000000 3fefffffe0000000
expected 7ff0000000000000 3ff0000000000000
Subtest 18462 failed in C:/devkitPro/projects/hwtests/cputest/fma.cpp on line 1433:
Input: a=36a0000000000000 0008000000000000, b=0000000000000000 8008000000000000, c=7fdfffffffffffff
got 7ff0000000000000 3fefffffe0000000
expected 7ff0000000000000 3ff0000000000000
|
@Geotale You mentioned in a comment in Dolphin's interpreter that there are situations involving double denormals that the error-free transform isn't able to handle correctly. I've only been able to produce such failing cases with NI=1, where the problem is that denormal error terms get flushed to zero. Have you been able to come up with any cases involving denormals that fail with NI=0? |
Returns |
ea89f3b to
0c6757e
Compare
I used this to validate dolphin-emu/dolphin#13900. (That PR doesn't pass every single one of these tests, though.)