2005-08-29 Geoffrey Keating <geoffk@apple.com>
* config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify
parts of 'vals'.
Index: testsuite/ChangeLog
2005-08-30 Geoffrey Keating <geoffk@apple.com>
* g++.dg/other/i386-1.C: New.
From-SVN: r103632
+2005-08-29 Geoffrey Keating <geoffk@apple.com>
+
+ * config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify
+ parts of 'vals'.
+
2005-08-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/23408
enum machine_mode wmode;
rtx const_vec, x;
- XVECEXP (vals, 0, one_var) = CONST0_RTX (GET_MODE_INNER (mode));
- const_vec = gen_rtx_CONST_VECTOR (mode, XVEC (vals, 0));
+ const_vec = copy_rtx (vals);
+ XVECEXP (const_vec, 0, one_var) = CONST0_RTX (GET_MODE_INNER (mode));
switch (mode)
{
+2005-08-30 Geoffrey Keating <geoffk@apple.com>
+
+ * g++.dg/other/i386-1.C: New.
+
2005-08-30 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/20348
--- /dev/null
+/* { dg-do run { target i?86-*-* } } */
+/* { dg-options "-march=pentium4" } */
+
+#include <xmmintrin.h>
+#include <stdio.h>
+
+int main(int argc, char** argv) {
+ float a = 1.0f;
+ float b = 2.0f;
+ float c = 3.0f;
+ float r;
+
+ __m128 v = _mm_set_ps(a, b, c, 0);
+
+ v = (__m128)_mm_srli_si128((__m128i)v, 4);
+ _mm_store_ss(&r, v);
+ if (r != 3.0f)
+ abort ();
+ exit (0);
+}