Re: [3/8] Add narrow_bit_field_mem

2012-11-10 Thread Eric Botcazou
Tested as described in the covering note. OK to install? Richard gcc/ * expmed.c (narrow_bit_field_mem): New function. (store_bit_field_using_insv, store_bit_field_1, store_fixed_bit_field) (extract_bit_field_1): Use it. This looks better now, thanks. -- Eric

[3/8] Add narrow_bit_field_mem

2012-11-03 Thread Richard Sandiford
This patch is the return of narrow_bit_field_mem, originally posted as part of the preliminary patches. This time I've used a pointer rather than a reference for the final parameter. (I agree consistency is good.) The new version also takes the size of the field as a parameter and handles