This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Exploit vnmsubfp instruction
ClosedPublic

Authored by qiucf on May 27 2020, 3:10 AM.

Details

Summary

On PowerPC, we have vnmsubfp Altivec instruction for fnmsub operation on v4f32 type. Default pattern for this instruction never works since we don't have legal fneg for v4f32 when VSX disabled.

This is based on new opcodes D76585 added.

Diff Detail

Event Timeline

qiucf created this revision.May 27 2020, 3:10 AM
steven.zhang accepted this revision.Jun 4 2020, 8:58 PM

LGTM. Thank you for adding this.

This revision is now accepted and ready to land.Jun 4 2020, 8:58 PM
This revision was automatically updated to reflect the committed changes.