This is an archive of the discontinued LLVM Phabricator instance.

[x86] fix wrong maskload/store intrinsic definitions in avxintrin.h (follow up of D13776).
ClosedPublic

Authored by andreadb on Oct 19 2015, 5:20 AM.

Details

Summary

Hi,

This patch is a follow up of D13776.
According to the Intel documentation, the mask operand of a maskload and maskstore intrinsics is always a vector of packed integer/long integer values.
This patch introduces the following two changes:

  1. It fixes the avx maskload/store intrinsic definitions in avxintrin.h;
  2. It changes BuiltinsX86.def to match the correct gcc definitions for avx maskload/store (see D13776 for more details).

Please let me know if okay to submit.

Thanks,
Andrea

Diff Detail

Event Timeline

andreadb updated this revision to Diff 37741.Oct 19 2015, 5:20 AM
andreadb retitled this revision from to [x86] fix wrong maskload/store intrinsic definitions in avxintrin.h (follow up of D13776)..
andreadb updated this object.
andreadb added reviewers: bruno, mkuper, delena, qcolombet.
andreadb added a subscriber: cfe-commits.
This revision was automatically updated to reflect the committed changes.

LGTM

Thanks Elena!
Committed revision250816.