This is an archive of the discontinued LLVM Phabricator instance.

[PPC64] Add vector quadword add/sub instructions for POWER8
ClosedPublic

Authored by kbarton on May 20 2015, 7:58 PM.

Details

Summary

Clang-related changes for http://reviews.llvm.org/D9081

Add builtins for the following vector quadword add/sub instructions introduced in POWER8:

  • vadduqm
  • vaddeuqm
  • vaddcuq
  • vaddecuq
  • vsubuqm
  • vsubeuqm
  • vsubcuq
  • vsubecuq

All builtins are added in altivec.h, and guarded with the POWER8_VECTOR and powerpc64 macros.

Diff Detail

Event Timeline

kbarton updated this revision to Diff 26201.May 20 2015, 7:58 PM
kbarton retitled this revision from to [PPC64] Add vector quadword add/sub instructions for POWER8.
kbarton updated this object.
kbarton edited the test plan for this revision. (Show Details)
kbarton added reviewers: hfinkel, wschmidt, seurer, nemanjai.
kbarton added a subscriber: Unknown Object (MLST).
wschmidt accepted this revision.May 21 2015, 8:25 AM
wschmidt edited edge metadata.

LGTM!

This revision is now accepted and ready to land.May 21 2015, 8:25 AM
kbarton closed this revision.May 25 2015, 8:56 AM

Committed revision 238145.