From 8559c8c0435032e4aceb4fe0f773c11bbe5a6a38 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 15 Jan 2002 07:17:04 +0100 Subject: [PATCH] config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. for testsuite: * gcc.dg/i386-mmx-1.c: Also run on x86-64. * gcc.dg/i386-mmx-2.c: Likewise. * gcc.dg/i386-sse-1.c: Likewise. * gcc.dg/i386-sse-2.c: Likewise. * gcc.dg/i386-sse-3.c: Likewise. From-SVN: r48864 --- gcc/ChangeLog | 16 ++++++++++------ gcc/config.gcc | 1 + gcc/testsuite/ChangeLog | 10 +++++++++- gcc/testsuite/gcc.dg/i386-mmx-1.c | 2 +- gcc/testsuite/gcc.dg/i386-mmx-2.c | 2 +- gcc/testsuite/gcc.dg/i386-sse-1.c | 2 +- gcc/testsuite/gcc.dg/i386-sse-2.c | 2 +- gcc/testsuite/gcc.dg/i386-sse-3.c | 2 +- 8 files changed, 25 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60f1673a7db..630ed957f0d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-01-15 Andreas Jaeger + + * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h. + 2002-01-15 Kazu Hirata * mips-tfile.c: Fix formatting. @@ -86,12 +90,12 @@ Mon Jan 14 20:18:19 CET 2002 Jan Hubicka (extendsidi2, zero_extendsidi2): Remove no-conflict blocks. - (movti splitter): Never use register 0 as base register. + (movti splitter): Never use register 0 as base register. 2002-01-14 Hartmut Penner - * combine.c (simplify_shift_const): Always generate new rtx - for shift expression instead of reusing given expression. + * combine.c (simplify_shift_const): Always generate new rtx + for shift expression instead of reusing given expression. Mon Jan 14 07:08:55 2002 Richard Kenner @@ -130,7 +134,7 @@ Sun Jan 13 06:55:31 2002 Richard Kenner 2002-01-12 Tom Rix - * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for + * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for TARGET_POWERPC64. 2002-01-12 Richard Henderson @@ -153,7 +157,7 @@ Sat Jan 12 08:54:51 2002 Richard Kenner offsets, and change line folding. * optabs.c (expand_binop): Remove warnings. * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning. - + 2002-01-12 Graham Stott * attribs.c (handle_deprecated_attribute): constify WHAT. @@ -209,7 +213,7 @@ Sat Jan 12 08:54:51 2002 Richard Kenner * conflict.c (conflict_graph_compute): Free regsets when finished. * ssa.c (compute_coalesced_reg_partition): Likewise. - + 2002-01-12 Herman A.J. ten Brugge * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED diff --git a/gcc/config.gcc b/gcc/config.gcc index e87e7595ff6..ffb1e857707 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -235,6 +235,7 @@ i[34567]86-*-*) ;; x86_64-*-*) cpu_type=i386 + extra_headers="mmintrin.h xmmintrin.h" ;; ia64-*-*) extra_headers=ia64intrin.h diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c7ce71f5b21..5a8c11d2e5d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2002-01-15 Andreas Jaeger + + * gcc.dg/i386-mmx-1.c: Also run on x86-64. + * gcc.dg/i386-mmx-2.c: Likewise. + * gcc.dg/i386-sse-1.c: Likewise. + * gcc.dg/i386-sse-2.c: Likewise. + * gcc.dg/i386-sse-3.c: Likewise. + 2001-01-14 David Billinghurst * g77.f-torture/execute/intrinsic-unix-bessel.f: @@ -23,7 +31,7 @@ Fri Jan 11 12:13:30 2002 Nicola Pero 2002-01-08 Aldy Hernandez - * gcc.dg/altivec-4.c: Add test for mtvscr, dssall, mfvscr, + * gcc.dg/altivec-4.c: Add test for mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst. 2002-01-09 Richard Henderson diff --git a/gcc/testsuite/gcc.dg/i386-mmx-1.c b/gcc/testsuite/gcc.dg/i386-mmx-1.c index 138c9e96beb..a658909853c 100644 --- a/gcc/testsuite/gcc.dg/i386-mmx-1.c +++ b/gcc/testsuite/gcc.dg/i386-mmx-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -mmmx" } */ /* Test that the intrinsics compile with optimization. All of them are diff --git a/gcc/testsuite/gcc.dg/i386-mmx-2.c b/gcc/testsuite/gcc.dg/i386-mmx-2.c index dc6d9613c63..0c38579f893 100644 --- a/gcc/testsuite/gcc.dg/i386-mmx-2.c +++ b/gcc/testsuite/gcc.dg/i386-mmx-2.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O0 -mmmx" } */ /* Test that the intrinsics compile without optimization. All of them are diff --git a/gcc/testsuite/gcc.dg/i386-sse-1.c b/gcc/testsuite/gcc.dg/i386-sse-1.c index a41a2697dbb..1f657e1f273 100644 --- a/gcc/testsuite/gcc.dg/i386-sse-1.c +++ b/gcc/testsuite/gcc.dg/i386-sse-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -msse" } */ /* Test that the intrinsics compile with optimization. All of them are diff --git a/gcc/testsuite/gcc.dg/i386-sse-2.c b/gcc/testsuite/gcc.dg/i386-sse-2.c index 7dbf72b7cbb..38e4e56acbe 100644 --- a/gcc/testsuite/gcc.dg/i386-sse-2.c +++ b/gcc/testsuite/gcc.dg/i386-sse-2.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O0 -msse" } */ /* Test that the intrinsics compile without optimization. All of them are diff --git a/gcc/testsuite/gcc.dg/i386-sse-3.c b/gcc/testsuite/gcc.dg/i386-sse-3.c index c5c0599bc14..d67a5910cdc 100644 --- a/gcc/testsuite/gcc.dg/i386-sse-3.c +++ b/gcc/testsuite/gcc.dg/i386-sse-3.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* } } */ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -msse" } */ /* Test that the intrinsics compile with optimization. These were not -- 2.30.2