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

ktkachov at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2022-12-24 00:00:00         |2026-6-17
                 CC|                            |ktkachov at gcc dot gnu.org

--- Comment #2 from ktkachov at gcc dot gnu.org ---
This has been masked on trunk by the fix for PR112787 but I can still reproduce
this with:

typedef signed char vnx16qi __attribute__((vector_size (32)));

void
vdiv_vnx16qi (vnx16qi *x, vnx16qi y, vnx16qi z)
{
  register vnx16qi dst  asm ("z0");
  register vnx16qi src1 asm ("z2");
  register vnx16qi src2 asm ("z4");

  dst = *x;
  src1 = y;
  src2 = z;
  asm volatile ("" :: "w" (dst), "w" (src1), "w" (src2));
  dst = src2 - (dst / src1);
  asm volatile ("" :: "w" (dst));
  *x = dst;
}

with  -O2  -fno-split-wide-types on aarch64

Reply via email to