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

            Bug ID: 96313
           Summary: [AArch64] vqmovun* return types should be unsigned
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: e...@coeus-group.com
  Target Milestone: ---

GCC has signed return values for the vqmovun* functions, but they should be
unsigned.  See
https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=vqmovun

Trivial test case:

  #include <arm_neon.h>

  uint16_t foo(int32_t v) {
    return vqmovuns_s32(v);
  }

Reply via email to