2011-06-07 Sergey Grechanik <mouseentity@ispras.ru>
* config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for
constant vectors.
testsuite:
* gcc.target/arm/neon-reload-class.c: New test.
From-SVN: r174749
+2011-06-07 Sergey Grechanik <mouseentity@ispras.ru>
+
+ * config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for
+ constant vectors.
+
2011-06-07 Richard Guenther <rguenther@suse.de>
* stor-layout.c (initialize_sizetypes): Initialize all
/* The neon move patterns handle all legitimate vector and struct
addresses. */
if (TARGET_NEON
- && MEM_P (x)
+ && (MEM_P (x) || GET_CODE (x) == CONST_VECTOR)
&& (GET_MODE_CLASS (mode) == MODE_VECTOR_INT
|| GET_MODE_CLASS (mode) == MODE_VECTOR_FLOAT
|| VALID_NEON_STRUCT_MODE (mode)))
+2011-06-07 Sergey Grechanik <mouseentity@ispras.ru>
+
+ * gcc.target/arm/neon-reload-class.c: New test.
+
2011-06-07 Dodji Seketeli <dodji@redhat.com>
PR debug/49130
--- /dev/null
+/* { dg-do compile } */
+/* { dg-require-effective-target arm_neon_ok } */
+/* { dg-options "-O2 -ftree-vectorize" } */
+/* { dg-add-options arm_neon } */
+
+
+void
+_op_blend_p_caa_dp(unsigned *s, unsigned* e, unsigned *d, unsigned c) {
+ while (d < e) {
+ *d = ( (((((*s) >> 8) & 0x00ff00ff) * (c)) & 0xff00ff00) + (((((*s) & 0x00ff00ff) * (c)) >> 8) & 0x00ff00ff) );
+ d++;
+ s++;
+ }
+}
+
+/* These constants should be emitted as immediates rather than loaded from memory. */
+
+/* { dg-final { scan-assembler-not "(\\.d?word|mov(w|t))" } } */