This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242286 - /branches/ARM/sve-branch/gcc/tree-vec...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 11 Nov 2016 17:34:00 -0000
- Subject: r242286 - /branches/ARM/sve-branch/gcc/tree-vec...
Author: rsandifo
Date: Fri Nov 11 17:34:00 2016
New Revision: 242286
URL: https://gcc.gnu.org/viewcvs?rev=242286&root=gcc&view=rev
Log:
Fix vectorizable_live_operation handling of vector booleans
vectorizable_live_operation needs to use BIT_FIELD_REF to extract one
element of a vector. For a packed vector boolean type, the number of
bits to extract should be taken from TYPE_PRECISION rather than TYPE_SIZE.
This is shown by existing tests once SVE is added.
Modified:
branches/ARM/sve-branch/gcc/tree-vect-loop.c