Skip to content

Conversation

@rockdreamer
Copy link
Contributor


name: Add alpha support for 9.7 data processing intrinsics
about: feature proposal.


This change adds intrinsics for the following architectural features:

  • FEAT_F16F32DOT
  • FEAT_F16F32MM
  • FEAT_F16MM
  • FEAT_SVE_B16MM
  • FEAT_SVE2p3
  • FEAT_SME2p3

Checklist: (mark with X those which apply)

  • If an issue reporting the bug exists, I have mentioned it in the
    PR (do not bother creating the issue if all you want to do is
    fixing the bug yourself).
  • I have added/updated the SPDX-FileCopyrightText lines on top
    of any file I have edited. Format is SPDX-FileCopyrightText: Copyright {year} {entity or name} <{contact informations}>
    (Please update existing copyright lines if applicable. You can
    specify year ranges with hyphen , as in 2017-2019, and use
    commas to separate gaps, as in 2018-2020, 2022).
  • I have updated the Copyright section of the sources of the
    specification I have edited (this will show up in the text
    rendered in the PDF and other output format supported). The
    format is the same described in the previous item.
  • I have run the CI scripts (if applicable, as they might be
    tricky to set up on non-*nix machines). The sequence can be
    found in the contribution
    guidelines
    . Don't
    worry if you cannot run these scripts on your machine, your
    patch will be automatically checked in the Actions of the pull
    request.
  • I have added an item that describes the changes I have
    introduced in this PR in the section Changes for next
    release
    of the section Change Control/Document history
    of the document. Create Changes for next release if it does
    not exist. Notice that changes that are not modifying the
    content and rendering of the specifications (both HTML and PDF)
    do not need to be listed.
  • When modifying content and/or its rendering, I have checked the
    correctness of the result in the PDF output (please refer to the
    instructions on how to build the PDFs
    locally
    ).
  • The variable draftversion is set to true in the YAML header
    of the sources of the specifications I have modified.
  • Please DO NOT add my GitHub profile to the list of contributors
    in the README page of the project.

This change adds intrinsics for the following architectural features:
- FEAT_F16F32DOT
- FEAT_F16F32MM
- FEAT_F16MM
- FEAT_SVE_B16MM
- FEAT_SVE2p3
- FEAT_SME2p3
Add pairwise within quadword vector segments.

``` c
// Variants are also available for _s16, _s32 and _s64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also have unsigned variants here.

Add subtract pairwise.

``` c
// Variants are also available for _s16, _s32 and _s64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also have unsigned variants here?


#### SDOT, UDOT (vectors)

Integer dot-product (2-way, vectors).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"2-way" vs "two-way" are used inconsistently, pick one? Personal preference for the latter, but fine with either.

svfloat16_t svcvtb_f16[_s8](svint8_t zn);
```

#### SDOT, UDOT (vectors)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should already be a section for the _s32_s16 etc variant of this added with FEAT_SVE2p1 somewhere else in this doc, should this be merged into that?


``` c
// Variants are also available for
// _u16[_u32_x2]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rework this so that signed/unsigned are on their own lines instead of grouping by 8/16, then we can fix the alignment here?

Subtract pairwise.

``` c
// Variants are also available for _s16, _s32 and _s64
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have unsigned variants?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants