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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |15.2.0, 16.0
            Summary|internal compiler error: in |[14/15 Regression] internal
                   |new_binary_operation, at    |compiler error: in
                   |vector-builder.h:300        |new_binary_operation, at
                   |compiling highway gtest on  |vector-builder.h:300
                   |LoongArch with -O2 -mlasx   |compiling highway gtest on
                   |                            |LoongArch with -O2 -mlasx
      Known to work|                            |14.3.0

--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Manually reduced more:

typedef short v8i16 __attribute__ ((vector_size (16)));
typedef int v4i32 __attribute__ ((vector_size (16)));
typedef long __m128i __attribute__ ((__vector_size__ (16)));
__m128i x, y;

__m128i
WidenMulPairwiseAdd (__m128i a, __m128i b)
{
  y = (__m128i)__builtin_lsx_vmaddwod_w_h ((v4i32)x, (v8i16){}, (v8i16){});
  return y;
}

Reply via email to