https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108442

            Bug ID: 108442
           Summary: arm: MVE's vld1* and vst1* do not work when
                    __ARM_MVE_PRESERVE_USER_NAMESPACE is defined
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: avieira at gcc dot gnu.org
  Target Milestone: ---

When compiling:
$ cat t.c
#include <arm_mve.h>

uint32x4_t foo (uint32_t *p)
{
    return __arm_vld1q_u32 (p);
}

with:
$ arm-none-eabi-gcc -march=armv8.1-m.main+mve -mfloat-abi=hard
-D__ARM_MVE_PRESERVE_USER_NAMESPACE

it will fail to compile as __arm_vld1q_u32 is defined in arm_mve.h as calling
vldrwq_u32 which will not exist when __ARM_MVE_PRESERVE_USER_NAMESPACE is
defined.

Reply via email to