This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45726] Thumb2 instruction emitted for incompatible CPU
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Sep 2010 16:13:15 -0000
- Subject: [Bug target/45726] Thumb2 instruction emitted for incompatible CPU
- References: <bug-45726-19712@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from rearnsha at gcc dot gnu dot org 2010-09-20 16:13 -------
(In reply to comment #13)
> Is there something wrong with the first hunk of the patch (arm_movt) ?
>
Nothing really. I missed that bit.
I think in practice the compiler will never end up matching that pattern (as
lo_sum isn't something the compiler spontaneously generates -- it means
different things on each architecture that supports it, so the generic parts of
the compiler will only use it if they are transforming something that already
uses it), but it should probably be on the trunk version as the current code is
clearly too liberal.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45726