This is an archive of the discontinued LLVM Phabricator instance.

[hexagon] Add {hvx,}hexagon_{protos,circ_brev...}
AcceptedPublic

Authored by bcain on Jun 25 2021, 2:15 PM.

Details

Reviewers
kparzysz
Summary

Add definitions for Hexagon, Hexagon circular/bit-reverse and HVX
intrinsics.

Diff Detail

Event Timeline

bcain created this revision.Jun 25 2021, 2:15 PM
bcain requested review of this revision.Jun 25 2021, 2:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2021, 2:15 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
bcain added a comment.Jun 25 2021, 3:41 PM

It occurs to me now that some of these are not very useful in the absence of hexagon_types.h. So I will add that one too and change the tests to use those definitions instead.

bcain updated this revision to Diff 354758.Jun 27 2021, 10:21 AM

Add hexagon_types.h and additional test cases. Updated existing test case to use types defined in hexagon_types.h.

Should I clang format the headers? I prefer keeping the historical formatting intact. But if the submission should conform then I suppose I'll just accept the wrapped text suggested by clang-format.

bcain updated this revision to Diff 355234.Jun 29 2021, 7:39 AM

Removed some unavailable instructions.

Added include order fix in hexagon_circ_brev

kparzysz accepted this revision.Jun 29 2021, 7:53 AM
This revision is now accepted and ready to land.Jun 29 2021, 7:53 AM