public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/103074] [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 since r11-5066-gbe39636d9f68c437
Date: Tue, 23 Nov 2021 10:48:31 +0000 [thread overview]
Message-ID: <bug-103074-4-itiGBzLiQf@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103074-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103074
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Jakub Jelinek from comment #3)
> Ah, actually what I see is that sched1 swaps the order of:
> (insn 22 21 23 4 (parallel [
> (set (reg:SI 88)
> (ashiftrt:SI (reg/v:SI 84 [ a ])
> (const_int 32 [0x20])))
> (clobber (reg:CC 17 flags))
> ]) "pr103074.c":10:7 735 {*ashrsi3_1}
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (nil)))
> (insn 23 22 24 4 (set (reg:SI 2 cx)
> (reg/v:SI 84 [ a ])) "pr103074.c":10:7 77 {*movsi_internal}
> (expr_list:REG_DEAD (reg/v:SI 84 [ a ])
> (nil)))
> and doing a shift when cx is live isn't an option because the shift needs
> the hard register for this shift amount (the constraints are Ic and I is
> 0..31 constant, c is %cx register).
Schedulers should not move insns that set TARGET_CLASS_LIKELY_SPILLED_P (that
includes CREG) before reload. See the comment in sched-rgn.c,
add_branch_dependencies.
next prev parent reply other threads:[~2021-11-23 10:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-04 4:03 [Bug target/103074] New: [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 asolokha at gmx dot com
2021-11-04 9:06 ` [Bug target/103074] [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 since r11-5066-gbe39636d9f68c437 marxin at gcc dot gnu.org
2021-11-04 9:12 ` rguenth at gcc dot gnu.org
2021-11-22 18:07 ` jakub at gcc dot gnu.org
2021-11-22 18:18 ` jakub at gcc dot gnu.org
2021-11-23 10:48 ` ubizjak at gmail dot com [this message]
2022-03-10 21:17 ` cvs-commit at gcc dot gnu.org
2022-04-21 7:50 ` rguenth at gcc dot gnu.org
2022-07-23 7:02 ` [Bug target/103074] [11 " asolokha at gmx dot com
2023-05-29 10:06 ` jakub 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-103074-4-itiGBzLiQf@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).