From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB3F63858C00; Thu, 23 Feb 2023 15:53:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB3F63858C00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677167622; bh=U0DLZ+k9MpG8qSAJNn4o61B6eflfoS2oNCECU60RLcM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gZvPf54Q07h0ilpPzxNVmrGSZcB0w9xEDSWryUlU3o/XdrjByG5Via9qtU2yz5wy9 LfgcMh1CVhxNmUJyWDDs5et+4Tyo+4dWkC5kSRTdntR7Y1nYCn/tJhVmKrViFvCE+3 wEPXOPujL2JzrBLSfadDOZS3FmygzQ3Ov/v6Qbe4= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108881] "__builtin_ia32_cvtne2ps2bf16_v16hi" compiled only with option -mavx512bf16 report ICE. Date: Thu, 23 Feb 2023 15:53:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108881 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crazylht at gmail dot com, | |marxin at gcc dot gnu.org --- Comment #1 from Martin Li=C5=A1ka --- Test-case: $ cat pr108881.i typedef float __m256 __attribute__((__vector_size__(32))); __attribute__((__vector_size__(16 * sizeof(short)))) short res2; __m256 x3, x4; avx512bf16_test() { res2 =3D __builtin_ia32_cvtne2ps2bf16_v16hi(x3, x4); } It has changed since r13-3565-g6913cad2a38bc406: gcc pr108881.c -c -mavx512bf16 pr108881.c: In function =E2=80=98avx512bf16_test=E2=80=99: pr108881.c:5:18: warning: implicit declaration of function =E2=80=98__builtin_ia32_cvtne2ps2bf16_v16hi=E2=80=99; did you mean =E2=80=98__builtin_ia32_cvtne2ps2bf16_v16bf=E2=80=99? [-Wimplicit-function-= declaration] 5 | res2 =3D __builtin_ia32_cvtne2ps2bf16_v16hi (x3, x4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | __builtin_ia32_cvtne2ps2bf16_v16bf pr108881.c:5:18: error: incompatible types when assigning to type =E2=80=98= __m256bh=E2=80=99 from type =E2=80=98int=E2=80=99=