This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19154] miss-optimization of (x & pow2C) avr conditionals returning bool equivalent values
- From: "hutchinsonandy at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2009 15:36:59 -0000
- Subject: [Bug middle-end/19154] miss-optimization of (x & pow2C) avr conditionals returning bool equivalent values
- References: <bug-19154-9497@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from hutchinsonandy at gcc dot gnu dot org 2009-10-24 15:36 -------
Subject: Bug 19154
Author: hutchinsonandy
Date: Sat Oct 24 15:36:40 2009
New Revision: 153530
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153530
Log:
PR middle-end/19154
* avr.md (QIDI): Add new mode iterator.
(sbrx_branch<mode>): Create new zero extract bit, test and jump
patterns for all QI-DI modes combinations.
(sbrx_and_branch<mode>): Create new and based bit test and jump
patterns for QI-SI modes.
avr.c (avr_out_sbxx_branch): Use only bit number.
Modified:
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19154