This is an archive of the discontinued LLVM Phabricator instance.

[Clang][AArch64][SME] Add intrinsics for adding vector elements to ZA tile
ClosedPublic

Authored by bryanpkc on Sep 26 2022, 2:52 PM.

Details

Summary

This patch adds support for the following SME ACLE intrinsics (as defined
in https://arm-software.github.io/acle/main/acle.html):

  • svaddha_za32[_u32]_m // also for s32
  • svaddva_za32[_u32]_m // also for s32
  • svaddha_za64[_u64]_m // also for s64
  • svaddva_za64[_u64]_m // also for s64

The _za64 versions are available only when the sme-i16i64 feature is enabled.

Co-authored-by: Sagar Kulkarni <sagar.kulkarni1@huawei.com>

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2022, 2:52 PM
sagarkulkarni19 requested review of this revision.Sep 26 2022, 2:52 PM
bryanpkc commandeered this revision.Jan 21 2023, 2:23 PM
bryanpkc added a reviewer: sagarkulkarni19.
bryanpkc updated this revision to Diff 492682.Jan 27 2023, 2:51 AM
bryanpkc retitled this revision from [Clang][AArch64] Add SME svaddha and svaddva intrinsics to [Clang][AArch64][SME] Add intrinsics for adding vector elements to ZA tile.
bryanpkc edited the summary of this revision. (Show Details)

Rebased and cleaned up the patch.

bryanpkc updated this revision to Diff 492692.Jan 27 2023, 3:37 AM
bryanpkc edited the summary of this revision. (Show Details)

Added _m suffix to the intrinsics as required by the amendment in https://github.com/ARM-software/acle/pull/218.

bryanpkc updated this revision to Diff 526621.May 30 2023, 7:56 AM
bryanpkc updated this revision to Diff 526683.May 30 2023, 9:56 AM
bryanpkc updated this revision to Diff 540840.Jul 16 2023, 5:54 PM

Removed the attribute macro from tests, as @sdesmalen suggested.

sdesmalen accepted this revision.Jul 17 2023, 6:44 AM
This revision is now accepted and ready to land.Jul 17 2023, 6:44 AM
This revision was landed with ongoing or failed builds.Jul 20 2023, 2:58 AM
This revision was automatically updated to reflect the committed changes.