This is an archive of the discontinued LLVM Phabricator instance.

[x86] favor vector constant load to avoid GPR to XMM transfer, part 1.5
AbandonedPublic

Authored by spatel on May 19 2020, 10:33 AM.

Details

Summary

This is the alternate solution discussed in D80131. We load a scalar constant with implicit zero-ing using VZEXT_LOAD instead of a full vector constant.
Either way seems to be an improvement over materializing in GPR and transferring inter-register to XMM.
I'll rebase that patch to be an top of this, so we can see the incremental test diffs and decide which, if any, is better.

Diff Detail

Event Timeline

spatel created this revision.May 19 2020, 10:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2020, 10:33 AM
spatel abandoned this revision.May 25 2020, 4:37 AM

Abandoning - we can use the vector constant load approach from D80131 without this intermediate step.