This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Make more use of register insv and ext*v expanders
- From: Roman Zippel <zippel at linux-m68k dot org>
- To: Richard Sandiford <richard at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 18 Jul 2007 22:41:53 +0200 (CEST)
- Subject: Re: Make more use of register insv and ext*v expanders
- References: <87d4ypzxba.fsf@firetop.home>
Hi,
On Wed, 18 Jul 2007, Richard Sandiford wrote:
> ...on targets that also have limited memory expanders.
>
> The insv, extv and extzv patterns can ask for the structure operand
> to be a register, a memory, or either. If the predicate rejects a
> memory operand, store_bit_field and extract_bit_field try using a
> register operand instead.
Hmm, I already wanted to get the patch reverted I mentioned here:
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01169.html
The problem is that this would conflict with your patch and since you
already work in this area I hope you can give some help how to resolve
this. :)
Any idea how I can get gcc again to use and/or instructions for constant
single-bit bitfields instead of bitfield instructions? Should I just
reject this in the expander or is there something better?
bye, Roman