This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/38449] delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2008 20:36:23 -0000
- Subject: [Bug rtl-optimization/38449] delay branch scheduling follows REG_CROSSING_JUMP jumps indiscriminately
- References: <bug-38449-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from amylaar at gcc dot gnu dot org 2008-12-08 20:36 -------
(In reply to comment #1)
> What is target dependent about this, that you need a target hook for it?
Some jumps are OK to be made section crossing, while others are not.
And which ones are OK also depends on target options - the ARCompact
architecture has branches with 21 and 25 bit offset range. These may cross
section
boundaries if the binary is not too large.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38449