This is an archive of the discontinued LLVM Phabricator instance.

[Power9] Exploit vector integer extend instructions
ClosedPublic

Authored by syzaara on May 24 2017, 11:13 AM.

Details

Summary

This patch adds build vector patterns to exploit the vector integer extend instructions:
vextsb2w - Vector Extend Sign Byte To Word
vextsb2d - Vector Extend Sign Byte To Doubleword
vextsh2w - Vector Extend Sign Halfword To Word
vextsh2d - Vector Extend Sign Halfword To Doubleword
vextsw2d - Vector Extend Sign Word To Doubleword

Diff Detail

Repository
rL LLVM

Event Timeline

syzaara created this revision.May 24 2017, 11:13 AM
kbarton accepted this revision.May 25 2017, 3:04 PM

LGTM

This revision is now accepted and ready to land.May 25 2017, 3:04 PM
This revision was automatically updated to reflect the committed changes.