public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "crazylht at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/102543] -march=cascadelake performs odd alignment peeling
Date: Fri, 08 Oct 2021 09:04:17 +0000	[thread overview]
Message-ID: <bug-102543-4-KiINu1jHJQ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102543-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Richard Biener from comment #2)
> Caused by
> 
> commit 001e73373e6d2e7c756141e0d7ac8e24ae1574ad
> Author: Sergey Shalnov <Sergey.Shalnov@intel.com>
> Date:   Thu Feb 8 23:31:15 2018 +0100
> 
>     re PR target/83008 ([performance] Is it better to avoid extra
> instructions in data passing between loops?)
>     
>             PR target/83008
>             * config/i386/x86-tune-costs.h (skylake_cost): Fix cost of
>             storing integer register in SImode.  Fix cost of 256 and 512
>             byte aligned SSE register store.
>     
>             * config/i386/i386.c (ix86_multiplication_cost): Fix
>             multiplication cost for TARGET_AVX512DQ.

This patch looks like it is adjusting the cost of the vector and scalar stores,
but forgot to increase unalign sse store cost to at least the same as aligned
ones.

  parent reply	other threads:[~2021-10-08  9:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 10:13 [Bug target/102543] New: " rguenth at gcc dot gnu.org
2021-09-30 10:14 ` [Bug target/102543] " rguenth at gcc dot gnu.org
2021-10-06 15:00 ` rguenth at gcc dot gnu.org
2021-10-08  9:04 ` crazylht at gmail dot com [this message]
2021-10-08  9:49 ` crazylht at gmail dot com
2021-10-08 10:07 ` rguenther at suse dot de
2021-10-08 10:43 ` rguenth at gcc dot gnu.org
2021-10-11  2:19 ` crazylht at gmail dot com
2021-10-12 12:53 ` rguenth at gcc dot gnu.org
2021-10-13  1:20 ` crazylht at gmail dot com
2021-10-13  7:25 ` rguenther at suse dot de
2021-11-19  1:23 ` cvs-commit at gcc dot gnu.org
2023-11-30  8:53 ` liuhongt 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-102543-4-KiINu1jHJQ@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).