This is an archive of the discontinued LLVM Phabricator instance.

AVX-512: Fixed a bug in FSUB lowering
ClosedPublic

Authored by delena on Sep 10 2015, 2:39 AM.

Details

Summary

The compiler failed to lower X86ISD::FXOR node for 512-bit data type on KNL because VXORPS-zmm is supported in DQ instruction set.
The solution is using integer XOR - VPXOR*.

(The X86ISD::FOR is the same but nobody generates X86ISD::FOR for 512-bit data types).

Diff Detail

Repository
rL LLVM

Event Timeline

delena updated this revision to Diff 34420.Sep 10 2015, 2:39 AM
delena retitled this revision from to AVX-512: Fixed a bug in FSUB lowering.
delena updated this object.
delena added a reviewer: igorb.
delena set the repository for this revision to rL LLVM.
delena added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.