public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/109807] [14 Regression] sse2-mmx-pmaddwd.c met ICE after commit r14-666-g608e7f3ab47 with march=cascadelake
Date: Sat, 13 May 2023 10:44:37 +0000 [thread overview]
Message-ID: <bug-109807-4-y2jVs5vLjm@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-109807-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109807
--- Comment #10 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Uroš Bizjak from comment #8)
> Fixed.
I don't think so. The code I gave seems still to crash the compiler:
$ ~/gcc/results/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/dcb38/gcc/results/bin/gcc
COLLECT_LTO_WRAPPER=/home/dcb38/gcc/results.20230513.asan.ubsan/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../trunk.year/configure
--prefix=/home/dcb38/gcc/results.20230513.asan.ubsan --disable-multilib
--disable-bootstrap --with-build-config=bootstrap-asan
--with-build-config=bootstrap-ubsan --with-pkgversion=1d339ce8d002920f
--enable-checking=df,extra,fold,rtl,yes --enable-languages=c,c++,fortran
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.0.0 20230513 (experimental) (1d339ce8d002920f)
$ ~/gcc/results/bin/gcc -c -O2 -march=znver1 bug919.c
during GIMPLE pass: slp
edid-parse.c: In function ‘decode_edid’:
edid-parse.c:521:14: internal compiler error: in ix86_widen_mult_cost, at
config
/i386/i386.cc:20444
0x11f3ab1 ix86_widen_mult_cost(processor_costs const*, machine_mode, bool)
../../trunk.year/gcc/config/i386/i386.cc:20444
I thought at first I hadn't picked up Uros's change, but:
$ git log | fgrep V4HI
fgrep: warning: fgrep is obsolescent; using grep -F
i386: Handle V4HI and V2SImode in ix86_widen_mult_cost [PR109807]
a widening mul operation to V4HI or V2SImode.
Handle V4HImode and V2SImode.
The operation ADDHN on V4SI, for example, is represented as (truncate:V4HI
((src1:V4SI + src2:V4SI) >> 16))
and RADDHN as (truncate:V4HI ((src1:V4SI + src2:V4SI + (1 << 15)) >> 16)).
$
next prev parent reply other threads:[~2023-05-13 10:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-11 6:25 [Bug target/109807] New: [14 Regression] sse2-mmx-pmaddwd.c met ICE after commit gcc-14-666-g608e7f3ab47 " haochen.jiang at intel dot com
2023-05-11 6:52 ` [Bug target/109807] [14 Regression] sse2-mmx-pmaddwd.c met ICE after commit r14-666-g608e7f3ab47 " haochen.jiang at intel dot com
2023-05-11 7:25 ` ubizjak at gmail dot com
2023-05-11 7:51 ` dcb314 at hotmail dot com
2023-05-11 7:53 ` haochen.jiang at intel dot com
2023-05-11 8:06 ` ubizjak at gmail dot com
2023-05-11 12:50 ` rguenth at gcc dot gnu.org
2023-05-11 15:42 ` ubizjak at gmail dot com
2023-05-11 18:55 ` cvs-commit at gcc dot gnu.org
2023-05-11 18:57 ` ubizjak at gmail dot com
2023-05-13 8:31 ` ubizjak at gmail dot com
2023-05-13 10:44 ` dcb314 at hotmail dot com [this message]
2023-05-13 10:50 ` ubizjak at gmail dot com
2023-05-14 19:53 ` cvs-commit at gcc dot gnu.org
2023-05-14 19:56 ` ubizjak at gmail dot com
2023-05-14 19:57 ` ubizjak at gmail dot com
2023-05-14 19:59 ` ubizjak at gmail 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-109807-4-y2jVs5vLjm@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).