This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]