[PATCH] D141765: [FPEnv] Fix complex operations in strictfp mode
Serge Pavlov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 18 02:58:52 PST 2023
sepavloff added a comment.
In D141765#4059214 <https://reviews.llvm.org/D141765#4059214>, @kpn wrote:
> Are we testing _Complex multiply or subtraction anywhere? I have a vague memory of multiply not working correctly.
There is a test `clang/test/CodeGen/complex-math.c` that checks complex operations including subtraction and multiplication. The check for multiplication is not thorough however. And only default FP environment is checked.
IIRC spec2017 contains a test that uses C99 complex numbers. If there were issues, I think they would be reported.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141765/new/
https://reviews.llvm.org/D141765
More information about the cfe-commits
mailing list