public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
[not found] <bug-42835-4@http.gcc.gnu.org/bugzilla/>
@ 2011-02-01 1:05 ` ramana at gcc dot gnu.org
2011-02-01 1:11 ` bernds at gcc dot gnu.org
1 sibling, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-02-01 1:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ramana at gcc dot gnu.org
--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-02-01 01:04:59 UTC ---
Bernd, can this now be marked as fixed for 4.6.0 ?
Ramana
Trunk today generates for the options provided the following sequence of code.
cmp r1, #0
bge .L2
ldr r0, [r0, #0]
cmp r0, #1
b .L5
.L2:
beq .L4
ldr r0, [r0, #0]
cmp r0, #2
.L5:
ite ne
movne r0, #0
moveq r0, #1
bx lr
.L4:
mov r0, r1
bx lr
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
[not found] <bug-42835-4@http.gcc.gnu.org/bugzilla/>
2011-02-01 1:05 ` [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks ramana at gcc dot gnu.org
@ 2011-02-01 1:11 ` bernds at gcc dot gnu.org
1 sibling, 0 replies; 6+ messages in thread
From: bernds at gcc dot gnu.org @ 2011-02-01 1:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
Bernd Schmidt <bernds at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bernds at gcc dot gnu.org
Resolution| |FIXED
--- Comment #6 from Bernd Schmidt <bernds at gcc dot gnu.org> 2011-02-01 01:10:36 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
2010-01-21 21:01 [Bug target/42835] New: " carrot at google dot com
` (2 preceding siblings ...)
2010-02-08 16:51 ` rearnsha at gcc dot gnu dot org
@ 2010-07-02 16:23 ` bernds at gcc dot gnu dot org
3 siblings, 0 replies; 6+ messages in thread
From: bernds at gcc dot gnu dot org @ 2010-07-02 16:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bernds at gcc dot gnu dot org 2010-07-02 16:23 -------
Subject: Bug 42835
Author: bernds
Date: Fri Jul 2 16:22:33 2010
New Revision: 161725
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161725
Log:
PR target/42835
* config/arm/arm-modes.def (CC_NOTB): New mode.
* config/arm/arm.c (get_arm_condition_code): Handle it.
* config/arm/thumb2.md (thumb2_compare_scc): Delete pattern.
* config/arm/arm.md (subsi3_compare0_c): New pattern.
(compare_scc): Now a define_and_split. Add a number of extra
splitters before it.
testsuite/
PR target/42835
* gcc.target/arm/pr42835.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/arm/pr42835.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm-modes.def
trunk/gcc/config/arm/arm.c
trunk/gcc/config/arm/arm.md
trunk/gcc/config/arm/thumb2.md
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
2010-01-21 21:01 [Bug target/42835] New: " carrot at google dot com
2010-01-22 11:23 ` [Bug rtl-optimization/42835] " rguenth at gcc dot gnu dot org
2010-02-08 12:14 ` steven at gcc dot gnu dot org
@ 2010-02-08 16:51 ` rearnsha at gcc dot gnu dot org
2010-07-02 16:23 ` bernds at gcc dot gnu dot org
3 siblings, 0 replies; 6+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-02-08 16:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from rearnsha at gcc dot gnu dot org 2010-02-08 16:50 -------
Best to do it post RA, so that we can issue the best sequences of insns. I
have some better sequences that could be generated for Thumb2 which would avoid
the need for an IT instruction in many cases.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
2010-01-21 21:01 [Bug target/42835] New: " carrot at google dot com
2010-01-22 11:23 ` [Bug rtl-optimization/42835] " rguenth at gcc dot gnu dot org
@ 2010-02-08 12:14 ` steven at gcc dot gnu dot org
2010-02-08 16:51 ` rearnsha at gcc dot gnu dot org
2010-07-02 16:23 ` bernds at gcc dot gnu dot org
3 siblings, 0 replies; 6+ messages in thread
From: steven at gcc dot gnu dot org @ 2010-02-08 12:14 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from steven at gcc dot gnu dot org 2010-02-08 12:14 -------
Richard, can we split thumb2_compare_scc? If so, when/how would you do this?
(I'm thinking of a post-RA splitter, but perhaps it could be done earlier.)
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks
2010-01-21 21:01 [Bug target/42835] New: " carrot at google dot com
@ 2010-01-22 11:23 ` rguenth at gcc dot gnu dot org
2010-02-08 12:14 ` steven at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-22 11:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-22 11:23 -------
Probably a missed cross-jumping opportunity
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Component|target |rtl-optimization
Keywords| |missed-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42835
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-01 1:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-42835-4@http.gcc.gnu.org/bugzilla/>
2011-02-01 1:05 ` [Bug rtl-optimization/42835] Missed merging common code sequence at the end of two basic blocks ramana at gcc dot gnu.org
2011-02-01 1:11 ` bernds at gcc dot gnu.org
2010-01-21 21:01 [Bug target/42835] New: " carrot at google dot com
2010-01-22 11:23 ` [Bug rtl-optimization/42835] " rguenth at gcc dot gnu dot org
2010-02-08 12:14 ` steven at gcc dot gnu dot org
2010-02-08 16:51 ` rearnsha at gcc dot gnu dot org
2010-07-02 16:23 ` bernds at gcc dot gnu dot org
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).