public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/38449]  New: delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately
@ 2008-12-08 19:34 amylaar at gcc dot gnu dot org
  2008-12-08 20:08 ` [Bug rtl-optimization/38449] " steven at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: amylaar at gcc dot gnu dot org @ 2008-12-08 19:34 UTC (permalink / raw)
  To: gcc-bugs

I see an assemble failure for gcc.dg/tree-prof/bb-reorg.c; compare-and-branch
instructions are modified to jump to another section.

Some jumps simply can't be made cross-section; one for the ones that can, it
is essential that the REG_CROSSING_JUMP note is added.

I have this patch:

        * hooks.c (hook_bool_const_rtx_const_rtx_true): New function.
        * hooks.h (hook_bool_const_rtx_const_rtx_true): Declare.
        * target.h (can_follow_jump): New hook.
        * target-def.h (TARGET_CAN_FOLLOW_JUMP): Define.
        (TARGET_INITIALIZER): Include it.
        * reorg.c (follow_jumps): New parameters jump and cp.
        Changed all callers.
        * config/arc/arc.c (arc_can_follow_jump): New function.
        (TARGET_CAN_FOLLOW_JUMP): Override.
        * config/arc/arc.md (jump_i): If a REG_CROSSING_JUMP is present,
        length is 4.

Which I can post with a tm.texi patch once our Copyright assignment has been
acknowledged.


-- 
           Summary: delay branch scheduling follows REG_CROSSING_JUMP jumps
                    indiscriminately
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: assemble-failure
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38449


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-38449-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2013-04-22 14:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-08 19:34 [Bug rtl-optimization/38449] New: delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately amylaar at gcc dot gnu dot org
2008-12-08 20:08 ` [Bug rtl-optimization/38449] " steven at gcc dot gnu dot org
2008-12-08 20:37 ` amylaar at gcc dot gnu dot org
2009-03-04 22:38 ` amylaar at gcc dot gnu dot org
2009-03-05  0:30 ` amylaar at gcc dot gnu dot org
     [not found] <bug-38449-4@http.gcc.gnu.org/bugzilla/>
2012-09-30 19:26 ` amylaar at gcc dot gnu.org
2013-04-18 21:49 ` steven at gcc dot gnu.org
2013-04-22 14:10 ` amylaar at gcc dot gnu.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).