public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "liuhongt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/114987] [14/15 Regression] floating point vector regression, x86, between gcc 14 and gcc-13 using -O3 and target clones on skylake platforms
Date: Fri, 10 May 2024 08:05:27 +0000 [thread overview]
Message-ID: <bug-114987-4-FEtQa3Xnrz@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-114987-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114987
--- Comment #6 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
> I tried to move "vmovdqa %xmm1,0xd0(%rsp)" before "vmovdqa %xmm0,0xe0(%rsp)"
> and rebuilt the binary and it will save half the regression.
57.93 │200: vaddps 0xc0(%rsp),%ymm3,%ymm5
11.11 │ vaddps 0xe0(%rsp),%ymm2,%ymm6
...
3.22 │ vmovdqa %xmm1,0xc0(%rsp)
│ vmovdqa %xmm5,0xd0(%rsp)
3.52 │ vmovdqa %xmm0,0xe0(%rsp)
│ vmovdqa %xmm6,0xf0(%rsp)
I guess there're specific patterns in SKX microarhitecture for STLF, the main
difference is instruction order of those xmm stores.
From compiler side, the worth thing to do is PR107916.
next prev parent reply other threads:[~2024-05-10 8:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-08 14:44 [Bug c/114987] New: " colin.king at intel dot com
2024-05-08 14:45 ` [Bug c/114987] " colin.king at intel dot com
2024-05-08 14:45 ` colin.king at intel dot com
2024-05-08 15:00 ` colin.king at intel dot com
2024-05-10 7:52 ` [Bug target/114987] [14/15 Regression] " rguenth at gcc dot gnu.org
2024-05-10 8:00 ` haochen.jiang at intel dot com
2024-05-10 8:05 ` liuhongt at gcc dot gnu.org [this message]
2024-05-10 8:42 ` haochen.jiang at intel dot com
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-114987-4-FEtQa3Xnrz@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).