ARM-software / acle

Arm C Language Extensions (ACLE)
Other
88 stars 54 forks source link

Fix the argument type of svluti4_lane_zt_s16_x4 #300

Closed rsandifo-arm closed 8 months ago

rsandifo-arm commented 8 months ago

The zn arguments to the svluti* intrinsics contain 4-bit indices. We'd decided to use svuint8_t for all such arguments, but a typo in svluti4_lane_zt_s16_x4 meant that it used svuint16_t instead.

Both Clang and GCC implement the patched behaviour.


name: Pull request about: Technical issues, document format problems, bugs in scripts or feature proposal.


Thank you for submitting a pull request!

If this PR is about a bugfix:

Please use the bugfix label and make sure to go through the checklist below.

If this PR is about a proposal:

We are looking forward to evaluate your proposal, and if possible to make it part of the Arm C Language Extension (ACLE) specifications.

We would like to encourage you reading through the contribution guidelines, in particular the section on submitting a proposal.

Please use the proposal label.

As for any pull request, please make sure to go through the below checklist.

Checklist: (mark with X those which apply)

rsandifo-arm commented 8 months ago

I haven't added a changelog entry because these intrinsics were added after the previous release.