r242287 - /branches/ARM/sve-branch/gcc/expmed.c
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Nov 11 17:34:00 GMT 2016
Author: rsandifo
Date: Fri Nov 11 17:34:11 2016
New Revision: 242287
URL: https://gcc.gnu.org/viewcvs?rev=242287&root=gcc&view=rev
Log:
Use extract_bit_field_as_subreg for vectors
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 vector from an LD2 result).
Modified:
branches/ARM/sve-branch/gcc/expmed.c
More information about the Gcc-cvs
mailing list