diff options
author | Murray Steele <murray.steele@arm.com> | 2021-12-22 15:55:58 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2023-01-18 11:58:14 +0000 |
commit | f54e31ddefe3ea7146624eabcb75b1c90dc59f1a (patch) | |
tree | 7ba29e333a252483384f453d95feac90c20f0a11 /libbacktrace | |
parent | a4b05944b7d409682197a9f50759a4ed97145e23 (diff) | |
download | gcc-f54e31ddefe3ea7146624eabcb75b1c90dc59f1a.zip gcc-f54e31ddefe3ea7146624eabcb75b1c90dc59f1a.tar.gz gcc-f54e31ddefe3ea7146624eabcb75b1c90dc59f1a.tar.bz2 |
arm: fix __arm_vld1q_z* and __arm_vst1q_p* intrinsics [PR108442]
The MVE ACLE allows for __ARM_MVE_PRESERVE_USER_NAMESPACE to be defined,
which removes definitions for intrinsic functions without the __arm_
prefix. __arm_vld1q_z* and __arm_vst1q_p* are currently implemented via
calls to vldr* and vstr*, which results in several compile-time errors when
__ARM_MVE_PRESERVE_USER_NAMESPACE is defined. This patch replaces these
with calls to their prefixed counterparts, __arm_vldr* and __arm_str*,
and adds a test covering the definition of __ARM_MVE_PRESERVE_USER_NAMESPACE.
gcc/ChangeLog:
PR target/108442
* config/arm/arm_mve.h (__arm_vst1q_p_u8): Use prefixed intrinsic
function.
(__arm_vst1q_p_s8): Likewise.
(__arm_vld1q_z_u8): Likewise.
(__arm_vld1q_z_s8): Likewise.
(__arm_vst1q_p_u16): Likewise.
(__arm_vst1q_p_s16): Likewise.
(__arm_vld1q_z_u16): Likewise.
(__arm_vld1q_z_s16): Likewise.
(__arm_vst1q_p_u32): Likewise.
(__arm_vst1q_p_s32): Likewise.
(__arm_vld1q_z_u32): Likewise.
(__arm_vld1q_z_s32): Likewise.
(__arm_vld1q_z_f16): Likewise.
(__arm_vst1q_p_f16): Likewise.
(__arm_vld1q_z_f32): Likewise.
(__arm_vst1q_p_f32): Likewise.
gcc/testsuite/ChangeLog:
* gcc.target/arm/mve/general/preserve_user_namespace_1.c: New test.
Diffstat (limited to 'libbacktrace')
0 files changed, 0 insertions, 0 deletions