Commit 12b3553f by Stuart Hastings Committed by Stuart Hastings

re PR target/28825 (return (vector float) { a, a, b, b } generates unwanted MMX insns)

	PR 28825
	* gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
	ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
	* gcc.target/i386/20060821-1.c: New.

From-SVN: r116356
parent b2742484
2006-08-23 Stuart Hastings <stuart@apple.com>
PR 28825
* gcc/config/i386/i386.c (ix86_expand_vector_init_duplicate,
ix86_expand_vector_init_one_nonzero): Remove TARGET_SSE test.
2006-08-21 Geoffrey Keating <geoffk@apple.com>
PR debug/28692
......
......@@ -17928,7 +17928,7 @@ ix86_expand_vector_init_duplicate (bool mmx_ok, enum machine_mode mode,
{
case V2SImode:
case V2SFmode:
if (!mmx_ok && !TARGET_SSE)
if (!mmx_ok)
return false;
/* FALLTHRU */
......@@ -18067,7 +18067,7 @@ ix86_expand_vector_init_one_nonzero (bool mmx_ok, enum machine_mode mode,
{
case V2SFmode:
case V2SImode:
if (!mmx_ok && !TARGET_SSE)
if (!mmx_ok)
return false;
/* FALLTHRU */
......
2006-08-23 Stuart Hastings <stuart@apple.com>
PR 28825
* gcc.target/i386/20060821-1.c: New.
2006-08-23 Danny Smith <dannysmith@users.sourceforge.net>
gcc.dg/attr-invalid.c: Insert an " |directive" substitution into
/* { dg-do compile } */
/* { dg-options "-O2 -msse3 -S" } */
/* { dg-final { scan-assembler-not "%mm" } } */
/* PR 28825 */
#include <pmmintrin.h>
__m128 ggg(float* m)
{
return (__m128) {m[0], m[5], m[10], m[10]};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment