From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DD75D3858413; Tue, 26 Oct 2021 12:28:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DD75D3858413 From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/102835] gcc.target/i386/avx512fp16-trunchf.c FAILs Date: Tue, 26 Oct 2021 12:28:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ro 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: Tue, 26 Oct 2021 12:28:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102835 --- Comment #3 from CVS Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:2243f6cf4d18f8793eb3e77c444a191763509285 commit r12-4712-g2243f6cf4d18f8793eb3e77c444a191763509285 Author: Rainer Orth Date: Tue Oct 26 14:23:06 2021 +0200 testsuite: i386: Fix gcc.target/i386/avx512fp16-trunchf.c on Solaris [PR102835] The gcc.target/i386/avx512fp16-trunchf.c test FAILs on 32-bit Solaris/x= 86: FAIL: gcc.target/i386/avx512fp16-trunchf.c scan-assembler-times vcvttsh= 2si[ \\\\t]+[^{\\n]*(?:%xmm[0-9]|\\\\(%esp\\\\))+, %eax(?:\\n|[ \\\\t]+#) 3 FAIL: gcc.target/i386/avx512fp16-trunchf.c scan-assembler-times vcvttsh2usi[ \\\\t]+[^{\\n]*(?:%xmm[0-9]|\\\\(%esp\\\\))+, %eax(?:\\n|[ \\\\t]+#) 2 This happens because Solaris defaults to -fno-omit-frame-pointer, so it uses %ebp instead of the expected %esp. As Hongyu Wang suggested in the PR, this can be fixed by accepting both forms, which this patch does. Tested on i386-pc-solaris2.11 and x86_64-pc-linux-gnu. 2021-10-20 Rainer Orth gcc/testsuite: PR testsuite/102835 * gcc.target/i386/avx512fp16-trunchf.c: Allow for %esp instead = of %ebp.=