public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-102835-4-eh6MZoB73C@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102835-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Rainer Orth <ro@gcc.gnu.org>:

https://gcc.gnu.org/g:2243f6cf4d18f8793eb3e77c444a191763509285

commit r12-4712-g2243f6cf4d18f8793eb3e77c444a191763509285
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
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/x86:

    FAIL: gcc.target/i386/avx512fp16-trunchf.c scan-assembler-times vcvttsh2si[
    \\\\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  <ro@CeBiTec.Uni-Bielefeld.DE>

            gcc/testsuite:
            PR testsuite/102835
            * gcc.target/i386/avx512fp16-trunchf.c: Allow for %esp instead of
            %ebp.

  parent reply	other threads:[~2021-10-26 12:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 11:41 [Bug target/102835] New: " ro at gcc dot gnu.org
2021-10-19 11:42 ` [Bug target/102835] " ro at gcc dot gnu.org
2021-10-19 13:13 ` wwwhhhyyy333 at gmail dot com
2021-10-25 13:54 ` [Bug testsuite/102835] " ro at gcc dot gnu.org
2021-10-26 12:28 ` cvs-commit at gcc dot gnu.org [this message]
2021-10-26 12:29 ` ro at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-102835-4-eh6MZoB73C@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).