This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/51552] bfin generates bad assembly


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

Richard Henderson <rth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu.org

--- Comment #3 from Richard Henderson <rth at gcc dot gnu.org> 2011-12-21 17:51:30 UTC ---
Well, honestly the largest problem is that the bfin backend is
emitting bundles in a way that can't be split, but in separate insns.

The ia64 backend handles this case by supporting "debug labels"
in the assembler, which are understood not to break the bundle.

As far as the middle-end is concerned, it's doing absolutely nothing
wrong. I'll see what I can do to restore the kinda-sorta working state
that we had before, but you really ought to fix the backend to not
lie to the middle-end.

Consider implementing debug labels in the assembler.  Or failing
that, pack your insn bundles into sequences, or something.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]