From 99ad1c6942694774c48d4ef16c32b3ef67bd6c6b Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 2 Feb 2024 12:01:20 +0000 Subject: [PATCH] Fix the argument type of svluti4_lane_zt_s16_x4 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. --- main/acle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/acle.md b/main/acle.md index 9a76aff7..42881bfc 100644 --- a/main/acle.md +++ b/main/acle.md @@ -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"); ```