Re: Use extract_bit_field_as_subreg for vectors

2017-11-19 Thread Jeff Law
On 11/03/2017 10:37 AM, Richard Sandiford wrote: > extract_bit_field_1 tries to use vec_extract to extract part of a > vector. However, if that pattern isn't defined or if the operands > aren't suitable, another good approach is to try a direct subreg > reference. This is particularly useful for

Use extract_bit_field_as_subreg for vectors

2017-11-03 Thread Richard Sandiford
extract_bit_field_1 tries to use vec_extract to extract part of a vector. However, if that pattern isn't defined or if the operands aren't suitable, another good approach is to try a direct subreg reference. This is particularly useful for multi-vector modes on SVE (e.g. when extracting one vecto