From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D9C623858C3A; Wed, 20 Oct 2021 01:14:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9C623858C3A From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102834] gcc.target/i386/avx512f-pr96891-3.c FAILs Date: Wed, 20 Oct 2021 01:14:07 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com 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: 12.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2021 01:14:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102834 --- Comment #2 from Hongtao.liu --- (In reply to Rainer Orth from comment #1) > Created attachment 51632 [details] > 32-bit avx512f-pr96891-3.s It relies on the existence of the pattern one_cmpldi2_doubleword, so that t= he avx512bw_cmpv64qi3 and one_cmpldi2_doubleword will be combined to avx512bw_cmpv64qi3 w/ adjustment of imm operand, but on 32-bit Solaris/x86= =20 one_cmpldi2_doubleword is not existed. (define_expand "one_cmpl2" [(set (match_operand:SWIM1248s 0 "nonimmediate_operand") (not:SWIM1248s (match_operand:SWIM1248s 1 "nonimmediate_operand")))] (define_mode_iterator SWIM1248s [(QI "TARGET_QIMODE_MATH") (HI "TARGET_HIMODE_MATH") SI (DI "TARGET_64BIT || (TARGET_STV && TARGET_SSE2)")]) mstv Target Mask(STV) Save Disable Scalar to Vector optimization pass transforming 64-bit integer computations into a vector ones. Guess stv is disabled on on 32-bit Solaris/x86, if that, the fail should be expected and xfail should be added for 32-bit Solaris/x86=