diff options
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/i386/i386.md | 2 | ||||
| -rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/i386-sse-8.c | 13 |
4 files changed, 24 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5176ee1..423ff63 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr> + + PR target/14343 + * config/i386/i386.md (movv2di_internal): Conditionalize on + TARGET_SSE, not TARGET_SSE2. + 2004-03-05 Chris Demetriou <cgd@broadcom.com> * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index e957552..2bee357 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18593,7 +18593,7 @@ (define_insn "movv2di_internal" [(set (match_operand:V2DI 0 "nonimmediate_operand" "=x,x,m") (match_operand:V2DI 1 "vector_move_operand" "C,xm,x"))] - "TARGET_SSE2" + "TARGET_SSE" { switch (which_alternative) { diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ee99b80..5d8136f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr> + * gcc.dg/i386-sse-8.c: New test. + +2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr> + PR c/14114 * gcc.dg/decl-5.c: New test. diff --git a/gcc/testsuite/gcc.dg/i386-sse-8.c b/gcc/testsuite/gcc.dg/i386-sse-8.c new file mode 100644 index 0000000..d6e1056 --- /dev/null +++ b/gcc/testsuite/gcc.dg/i386-sse-8.c @@ -0,0 +1,13 @@ +/* PR target/14313 */ +/* Origin: <Pawe Sikora <pluto@ds14.agh.edu.pl> */ + +/* { dg-do compile } */ +/* { dg-options "-march=pentium3" { target i?86-*-* x86_64-*-* } } */ + +int main() +{ + typedef int v __attribute__ ((mode(V2DI))); + v a, b; + a = b; + return 0; +} |
