This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Enable TFmode for SSE2
On Sun, Jun 29, 2008 at 12:01:01PM +0000, Joseph S. Myers wrote:
> On Sun, 29 Jun 2008, Uros Bizjak wrote:
>
> > Please also remove "-mmmx" from gcc.dg/torture/fp-int-convert-float80.c and
> > gcc.dg/torture/fp-int-convert-float80-timode.c now that __float80 is defined
> > unconditionally.
>
> Other __float80 tests that can have the same done are
> gcc.dg/const-float80* and g++.dg/abi/mangle24.C.
>
Here is the updated patch.
H.J.
---
2008-06-29 H.J. Lu <hongjiu.lu@intel.com>
* g++.dg/abi/mangle24.C: Remove -mmmx.
* gcc.dg/const-float80-ped.c: Likewise.
* gcc.dg/const-float80.c: Likewise.
* gcc.dg/torture/fp-int-convert-float80.c: Likewise.
* g++.dg/abi/mangle25.C: Enable x86.
* gcc.dg/const-float128-ped.c: Likewise.
* gcc.dg/const-float128.c: Likewise.
* gcc.dg/torture/fp-int-convert-float128.c: Likewise.
* gcc.target/i386/pr32268.c: Likewise.
--- gcc/testsuite/g++.dg/abi/mangle24.C.quadtest 2006-09-27 22:35:18.000000000 -0700
+++ gcc/testsuite/g++.dg/abi/mangle24.C 2008-06-29 09:59:42.000000000 -0700
@@ -5,7 +5,6 @@
// Origin: Joseph Myers <joseph@codesourcery.com>
// { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
// { dg-options "" } */
-// { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
// { dg-final { scan-assembler "_Z1fe" { target i?86-*-* x86_64-*-* } } } */
// { dg-final { scan-assembler "_Z1fe" { target { ia64-*-* && { ! "ia64-*-hpux*" } } } } } */
// { dg-final { scan-assembler "_Z1fu9__float80" { target ia64-*-hpux* } } } */
--- gcc/testsuite/g++.dg/abi/mangle25.C.quadtest 2006-09-27 22:35:18.000000000 -0700
+++ gcc/testsuite/g++.dg/abi/mangle25.C 2008-06-28 16:59:46.000000000 -0700
@@ -4,7 +4,7 @@
// ia64-hpux where "long double" is "e" and __float128 is synonymous with
// "long double".
// Origin: Joseph Myers <joseph@codesourcery.com>
-// { dg-do compile { target { ia64-*-* || { { i?86-*-* x86_64-*-*} && lp64 } } } }
+// { dg-do compile { target { ia64-*-* || { i?86-*-* x86_64-*-* } } } }
// { dg-options "" } */
// { dg-final { scan-assembler "_Z1fg" { target i?86-*-* x86_64-*-* } } } */
// { dg-final { scan-assembler "_Z1fg" { target { ia64-*-* && { ! "ia64-*-hpux*" } } } } } */
--- gcc/testsuite/gcc.dg/const-float128-ped.c.quadtest 2007-08-29 08:49:56.000000000 -0700
+++ gcc/testsuite/gcc.dg/const-float128-ped.c 2008-06-28 16:57:53.000000000 -0700
@@ -1,5 +1,5 @@
/* Test 'q' suffix with -pedantic on __float128 type constants. */
-/* { dg-do compile { target { ia64-*-* || { { i?86-*-* x86_64-*-* } && lp64 } } } } */
+/* { dg-do compile { target { ia64-*-* || { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-pedantic" } */
__float128 a = 123.456789q; /* { dg-warning "non-standard suffix on floating constant" } */
--- gcc/testsuite/gcc.dg/const-float128.c.quadtest 2007-08-29 08:49:56.000000000 -0700
+++ gcc/testsuite/gcc.dg/const-float128.c 2008-06-28 16:58:06.000000000 -0700
@@ -1,5 +1,5 @@
/* Test 'q' and 'Q' suffixes on __float128 type constants. */
-/* { dg-do compile { target { ia64-*-* || { { i?86-*-* x86_64-*-* } && lp64 } } } } */
+/* { dg-do compile { target { ia64-*-* || { i?86-*-* x86_64-*-* } } } */
/* { dg-options "" } */
__float128 a = 123.456789q;
--- gcc/testsuite/gcc.dg/const-float80-ped.c.quadtest 2007-07-03 06:45:52.000000000 -0700
+++ gcc/testsuite/gcc.dg/const-float80-ped.c 2008-06-29 09:58:50.000000000 -0700
@@ -1,6 +1,5 @@
/* Test 'w' suffix with -pedantic on __float80 type constants. */
/* { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
/* { dg-options "-pedantic" } */
-/* { dg-options "-mmmx -pedantic" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
__float80 a = 123.456789w; /* { dg-warning "non-standard suffix on floating constant" } */
--- gcc/testsuite/gcc.dg/const-float80.c.quadtest 2007-07-03 06:45:52.000000000 -0700
+++ gcc/testsuite/gcc.dg/const-float80.c 2008-06-29 09:58:05.000000000 -0700
@@ -1,7 +1,6 @@
/* Test 'w' and 'W' suffixes on __float80 type constants. */
/* { dg-do compile { target i?86-*-* x86_64-*-* ia64-*-* } } */
/* { dg-options "" } */
-/* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
__float80 a = 123.456789W;
__float80 b = 123.456789w;
--- gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c.quadtest 2007-05-18 07:10:39.000000000 -0700
+++ gcc/testsuite/gcc.dg/torture/fp-int-convert-float128.c 2008-06-28 17:08:53.000000000 -0700
@@ -1,6 +1,6 @@
/* Test floating-point conversions. __float128 type. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
-/* { dg-do run { target { ia64-*-* || { { i?86-*-* x86_64-*-*} && lp64 } } } } */
+/* { dg-do run { target { ia64-*-* || { i?86-*-* x86_64-*-* } } } } */
/* { dg-options "" } */
#include "fp-int-convert.h"
--- gcc/testsuite/gcc.dg/torture/fp-int-convert-float80.c.quadtest 2006-09-27 22:34:04.000000000 -0700
+++ gcc/testsuite/gcc.dg/torture/fp-int-convert-float80.c 2008-06-29 09:58:26.000000000 -0700
@@ -2,7 +2,6 @@
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do run { target i?86-*-* x86_64-*-* ia64-*-* } } */
/* { dg-options "" } */
-/* { dg-options "-mmmx" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
#include "fp-int-convert.h"
--- gcc/testsuite/gcc.target/i386/pr32268.c.quadtest 2008-02-17 07:27:09.000000000 -0800
+++ gcc/testsuite/gcc.target/i386/pr32268.c 2008-06-28 16:58:48.000000000 -0700
@@ -1,5 +1,4 @@
/* { dg-do run { target *-*-linux* } } */
-/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2" } */
extern void abort(void);