+2018-02-08 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/84278
+ * tree-vect-stmts.c (vectorizable_store): When looking for
+ smaller vector types to perform grouped strided loads/stores
+ make sure the mode is supported by the target.
+ (vectorizable_load): Likewise.
+
2018-02-08 Wilco Dijkstra <wdijkstr@arm.com>
* config/aarch64/aarch64.c (aarch64_components_for_bb):
+2018-02-08 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/84278
+ * gcc.target/i386/pr84278.c: New testcase.
+
2018-02-08 Wilco Dijkstra <wdijkstr@arm.com>
PR rtl-optimization/84068
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O3 -msse2" } */
+
+float A[1024];
+float B[1024];
+int s;
+
+void foo(void)
+{
+ int i;
+ for (i = 0; i < 128; i++)
+ {
+ B[i*2+0] = A[i*s+0];
+ B[i*2+1] = A[i*s+1];
+ }
+}
+
+/* { dg-final { scan-assembler-not "\(%.sp\)" } } */
machine_mode vmode;
if (!mode_for_vector (elmode, group_size).exists (&vmode)
|| !VECTOR_MODE_P (vmode)
+ || !targetm.vector_mode_supported_p (vmode)
|| (convert_optab_handler (vec_extract_optab,
TYPE_MODE (vectype), vmode)
== CODE_FOR_nothing))
element size stores. */
if (mode_for_vector (elmode, lnunits).exists (&vmode)
&& VECTOR_MODE_P (vmode)
+ && targetm.vector_mode_supported_p (vmode)
&& (convert_optab_handler (vec_extract_optab,
vmode, elmode)
!= CODE_FOR_nothing))
machine_mode vmode;
if (mode_for_vector (elmode, group_size).exists (&vmode)
&& VECTOR_MODE_P (vmode)
+ && targetm.vector_mode_supported_p (vmode)
&& (convert_optab_handler (vec_init_optab,
TYPE_MODE (vectype), vmode)
!= CODE_FOR_nothing))
element loads of the original vector type. */
if (mode_for_vector (elmode, lnunits).exists (&vmode)
&& VECTOR_MODE_P (vmode)
+ && targetm.vector_mode_supported_p (vmode)
&& (convert_optab_handler (vec_init_optab, vmode, elmode)
!= CODE_FOR_nothing))
{