Skip to content

Commit

Permalink
Fix the argument type of svluti4_lane_zt_s16_x4
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rsandifo-arm committed Feb 2, 2024
1 parent 3ccdc79 commit 99ad1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/acle.md
Original file line number Diff line number Diff line change
Expand Up @@ -11464,7 +11464,7 @@ Lookup table read with 2-bit and 4-bit indexes

// Variants are also available for _zt_u16, _zt_f16, _zt_bf16, _zt_s32,
// _zt_u32 and _zt_f32
svint16x4_t svluti4_lane_zt_s16_x4(uint64_t zt, svuint16_t zn,
svint16x4_t svluti4_lane_zt_s16_x4(uint64_t zt, svuint8_t zn,
uint64_t imm_idx)
__arm_streaming __arm_in("zt0");
```
Expand Down

0 comments on commit 99ad1c6

Please sign in to comment.