This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242287 - /branches/ARM/sve-branch/gcc/expmed.c
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:34:12 -0000
- Subject: r242287 - /branches/ARM/sve-branch/gcc/expmed.c
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