This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/41705] missed if conversion optimization
- From: "carrot at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2009 08:25:17 -0000
- Subject: [Bug target/41705] missed if conversion optimization
- References: <bug-41705-17659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from carrot at google dot com 2009-10-15 08:25 -------
>
> >
> > Target ARM has conditional execution capability, but thumb actually can't do
> > conditional execution. Do we have any method to let the compiler know this?
>
> Note that this is relevant only for Thumb1 and not for Thumb2. Thumb2 has
> conditional code generation and GCC does make an effort to generate conditional
> code for it.
>
> Can we work around this by undef'ing HAVE_conditional_execution in the backend
> headers and defining this to TARGET_THUMB1 ?
>
I will try this method, thank you.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41705