[PATCH] D27144: [AVX-512] Correctly preserve the passthru semantics of the FMA scalar intrinsics

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 17:44:49 PST 2016


craig.topper added a comment.

Slava, you are correct not all possible intrinsics are implemented. Clang uses negation operators in the intrinsic header file to implement the rest. This is why fneg combining is important. We have the mask3 intrinsics on fmsub/fnmsub because the passthru argument for masking is the operand that needs to be negated.

See this review for the addition of the scalar versions of mask3 fmsub/fnmsub   https://reviews.llvm.org/D26019


https://reviews.llvm.org/D27144





More information about the llvm-commits mailing list