public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/95229] [11 Regression] in mark_jump_label_1
Date: Wed, 20 May 2020 12:24:36 +0000	[thread overview]
Message-ID: <bug-95229-4-0gs4C9FFKD@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-95229-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #5)
> Built by
> 
> #5  0x00000000020c4504 in gen_rtx_fmt_ee_stat (code=VEC_SELECT, 
>     mode=E_V2SImode, arg0=0x0, arg1=0x7ffff6ad92e0) at ./genrtl.h:49
> #6  0x000000000211e242 in gen_sse4_1_zero_extendv2siv2di2 (
>     operand0=0x7ffff6ada4f8, operand1=0x0) at insn-emit.c:40857
> #7  0x0000000002207aa7 in gen_zero_extendv2siv2di2 (operand0=0x7ffff6ada4f8, 
>     operand1=0x7ffff6ada4c8) at ../../src/trunk/gcc/config/i386/sse.md:18012
> #8  0x00000000010cfe31 in insn_gen_fn::operator() (
>     this=0x3230928 <insn_data+325096>, a0=0x7ffff6ada4f8, a1=0x7ffff6ada4c8)
>     at ../../src/trunk/gcc/recog.h:317
> #9  0x00000000014aed21 in maybe_gen_insn
> (icode=CODE_FOR_zero_extendv2siv2di2, 
>     nops=2, ops=0x7fffffffa8d0) at ../../src/trunk/gcc/optabs.c:7444
> #10 0x00000000014a3c7d in maybe_emit_unop_insn (
>     icode=CODE_FOR_zero_extendv2siv2di2, target=0x7ffff6ada4f8, 
> --Type <RET> for more, q to quit, c to continue without paging--
>     op0=0x7ffff6ada4c8, code=ZERO_EXTEND) at
> ../../src/trunk/gcc/optabs.c:3597
> #11 0x00000000014a3d7f in emit_unop_insn
> (icode=CODE_FOR_zero_extendv2siv2di2, 
>     target=0x7ffff6ada4f8, op0=0x7ffff6ada4c8, code=ZERO_EXTEND)
>     at ../../src/trunk/gcc/optabs.c:3621
> #12 0x0000000001098d45 in convert_move (to=0x7ffff6ada4f8, 
>     from=0x7ffff6ada4c8, unsignedp=1) at ../../src/trunk/gcc/expr.c:260
> #13 0x000000000109bc1e in convert_modes (mode=E_V2DImode,
> oldmode=E_V2SImode, 
>     x=0x7ffff6ada4c8, unsignedp=1) at ../../src/trunk/gcc/expr.c:737
> #14 0x000000000109b220 in convert_to_mode (mode=E_V2DImode,
> x=0x7ffff6ada4c8, 
>     unsignedp=1) at ../../src/trunk/gcc/expr.c:662
> #15 0x00000000010bae75 in expand_expr_real_2 (ops=0x7fffffffb600,
> target=0x0, 
>     tmode=E_VOIDmode, modifier=EXPAND_NORMAL)
>     at ../../src/trunk/gcc/expr.c:8665
> 
> frame #7 looks OK while #6 is bogus.  Context:
> 
> 18009     if (!MEM_P (operands[1]))
> 18010       {
> 18011         operands[1] = simplify_subreg (V4SImode, operands[1],
> V2SImode, 0);
> 18012         emit_insn (gen_sse4_1_<code>v2siv2di2 (operands[0],
> operands[1]));
> 18013         DONE;
> 
> simplify_subreg returns NULL.  It is originally (reg:V2SI 90 [ vect__2.8 ]).
> Should that be simplify_gen_subreg?

That fixes the testcase.  But simplify_subreg is used in a lot more places
so leaving to Uros to match up with expectations.

  parent reply	other threads:[~2020-05-20 12:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20  8:16 [Bug c++/95229] New: ice " dcb314 at hotmail dot com
2020-05-20  8:37 ` [Bug middle-end/95229] " pinskia at gcc dot gnu.org
2020-05-20  8:41 ` dcb314 at hotmail dot com
2020-05-20  8:50 ` marxin at gcc dot gnu.org
2020-05-20  8:51 ` [Bug middle-end/95229] [11 Regression] " marxin at gcc dot gnu.org
2020-05-20 12:13 ` [Bug target/95229] " rguenth at gcc dot gnu.org
2020-05-20 12:20 ` rguenth at gcc dot gnu.org
2020-05-20 12:24 ` rguenth at gcc dot gnu.org [this message]
2020-05-20 13:28 ` ubizjak at gmail dot com
2020-05-20 17:01 ` cvs-commit at gcc dot gnu.org
2020-05-21 12:21 ` cvs-commit at gcc dot gnu.org
2020-05-21 18:17 ` 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-95229-4-0gs4C9FFKD@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).