diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2004-03-06 11:13:19 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2004-03-06 10:13:19 +0000 |
commit | 84289c7622448d32c3ebd837c984580640d70a68 (patch) | |
tree | 47d0f8c5754ba8115f2e99b0177555af18338050 | |
parent | 64a3ee6bd9f60bc86472b21fadef0c1287a3d314 (diff) | |
download | gcc-84289c7622448d32c3ebd837c984580640d70a68.zip gcc-84289c7622448d32c3ebd837c984580640d70a68.tar.gz gcc-84289c7622448d32c3ebd837c984580640d70a68.tar.bz2 |
re PR target/14343 (internal error while using vector instructions [gcc 3.4.0 20040225 (prerelease)].)
PR target/14343
* config/i386/i386.md (movv2di_internal): Conditionalize on
TARGET_SSE, not TARGET_SSE2.
From-SVN: r79016
-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; +} |