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 target/97521] [11 Regression] wrong code with -mno-sse2 since r11-3394
Date: Thu, 22 Oct 2020 10:59:47 +0000	[thread overview]
Message-ID: <bug-97521-4-ZsTck0aGXS@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-97521-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:b960a9c83a93b58a84a7a370002990810675ac5d

commit r11-4226-gb960a9c83a93b58a84a7a370002990810675ac5d
Author: Richard Biener <rguenther@suse.de>
Date:   Thu Oct 22 09:29:47 2020 +0200

    middle-end/97521 - fix VECTOR_CST expansion

    This fixes expansion of VECTOR_BOOLEAN_TYPE_P VECTOR_CSTs which
    when using an integer mode are not always "mask-mode" but may
    be using an integer mode when there's no supported vector mode.

    The patch makes sure to only go the mask-mode expansion if
    the elements do not line up to cover the full integer mode
    (when they do and the mode was an actual mask-mode there's
    no actual difference in both expansions).

    2020-10-22  Richard Biener  <rguenther@suse.de>

            PR middle-end/97521
            * expr.c (expand_expr_real_1): Be more careful when
            expanding a VECTOR_BOOLEAN_TYPE_P VECTOR_CSTs.

            * gcc.target/i386/pr97521.c: New testcase.

  parent reply	other threads:[~2020-10-22 10:59 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-21 16:27 [Bug target/97521] New: [11 Regression] wrong code with -mno-sse2 zsojka at seznam dot cz
2020-10-21 16:37 ` [Bug target/97521] [11 Regression] wrong code with -mno-sse2 since r11-3394 jakub at gcc dot gnu.org
2020-10-21 16:56 ` jakub at gcc dot gnu.org
2020-10-21 17:07 ` jakub at gcc dot gnu.org
2020-10-21 18:33 ` marxin at gcc dot gnu.org
2020-10-22  7:19 ` rguenth at gcc dot gnu.org
2020-10-22  7:25 ` jakub at gcc dot gnu.org
2020-10-22  8:32 ` crazylht at gmail dot com
2020-10-22  8:45 ` rguenther at suse dot de
2020-10-22  8:52 ` jakub at gcc dot gnu.org
2020-10-22  8:58 ` jakub at gcc dot gnu.org
2020-10-22  9:00 ` crazylht at gmail dot com
2020-10-22  9:01 ` jakub at gcc dot gnu.org
2020-10-22  9:50 ` rguenther at suse dot de
2020-10-22 10:59 ` cvs-commit at gcc dot gnu.org [this message]
2020-10-22 11:11 ` rguenth at gcc dot gnu.org
2020-10-23  6:04 ` rguenth at gcc dot gnu.org
2020-10-23  6:21 ` rguenth at gcc dot gnu.org
2020-10-23  6:23 ` cvs-commit at gcc dot gnu.org
2020-10-23  6:58 ` rguenth at gcc dot gnu.org
2020-10-23  7:00 ` rguenth at gcc dot gnu.org
2020-10-23  7:06 ` rguenth at gcc dot gnu.org
2020-10-23  8:28 ` ams at gcc dot gnu.org
2020-10-23  8:47 ` ams at gcc dot gnu.org
2020-10-26 11:28 ` cvs-commit at gcc dot gnu.org
2020-10-26 11:28 ` rguenth 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-97521-4-ZsTck0aGXS@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).