This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49799] gcc arm generates illegal sbfx instruction
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 21 Jul 2011 12:53:23 +0000
- Subject: [Bug target/49799] gcc arm generates illegal sbfx instruction
- Auto-submitted: auto-generated
- References: <bug-49799-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu.org
--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-07-21 12:53:19 UTC ---
It's triggered by:
Author: rearnsha
Date: Tue Jan 13 14:09:50 2009
New Revision: 143338
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143338
Log:
* arm.c (struct processors): Pass for speed down into cost helper
functions.
(const_ok_for_op): Handle COMPARE and inequality nodes.
(arm_rtx_costs_1): Rewrite.
(arm_size_rtx_costs): Update prototype.
(arm_rtx_costs): Pass speed down to helper functions.
(arm_slowmul_rtx_costs): Rework cost calculations.
(arm_fastmul_rtx_costs, arm_xscale_rtx_costs): Likewise.
(arm_9e_rtx_costs): Likewise.
It looks like the cost tweaks exposed a pre-existing bug.