This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][SME] Split up SME features.
AbandonedPublic

Authored by sdesmalen on Feb 21 2022, 9:43 AM.

Details

Summary

This patch splits +sme feature into three separate features:

  • +streaming-sve
  • +streaming-agnostic-sme
  • +sme-za

+streaming-sve enables instructions that are valid in Streaming SVE
mode (PSTATE.SM == 1).

+streaming-agnostic-sme enables SME instructions that are valid
outside of Streaming SVE mode (PSTATE.SM == 0).

+sme-za enables SME instructions that are valid when access to the
accumulator array has been enabled (PSTATE.ZA == 1). This feature is
orthogonal to Streaming mode (PSTATE.SM).

Diff Detail

Event Timeline

sdesmalen created this revision.Feb 21 2022, 9:43 AM
sdesmalen requested review of this revision.Feb 21 2022, 9:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2022, 9:43 AM
sdesmalen updated this revision to Diff 412044.Mar 1 2022, 4:03 AM
sdesmalen edited the summary of this revision. (Show Details)
  • Replaced nonstreaming-compatible-sme with streaming-agnostic-sme
  • Replaced streaming-sme with streaming-sve.
Matt added a subscriber: Matt.May 25 2022, 2:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2022, 2:09 PM
sdesmalen abandoned this revision.Jun 1 2022, 5:21 AM

Abandoning this patch in favour of modelling this at a higher level as opposed to using feature flags. See also D125977.