From: Uros Bizjak Date: Mon, 3 Jan 2005 15:56:16 +0000 (+0100) Subject: re PR target/19235 (GCC generates SSE2 instructions for AthlonXP which doesn't suppor... X-Git-Tag: releases/gcc-4.0.0~1801 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7db6be6f9b93a20c6b8183592ef954a4a00f3fa3;p=thirdparty%2Fgcc.git re PR target/19235 (GCC generates SSE2 instructions for AthlonXP which doesn't support them.) PR target/19235 * gcc.dg/pr19236-1.c: New test case. From-SVN: r92855 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c291d1ed338b..8c4ea6a49518 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-01-03 Uros Bizjak + PR target/19235 + * gcc.dg/pr19236-1.c: New test case. + 2005-01-03 Hans-Peter Nilsson PR rtl-optimization/12092 diff --git a/gcc/testsuite/gcc.dg/pr19236-1.c b/gcc/testsuite/gcc.dg/pr19236-1.c new file mode 100644 index 000000000000..77365aa40749 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr19236-1.c @@ -0,0 +1,14 @@ +/* PR target/19236 */ +/* { dg-do compile { target i?86-*-* } } */ +/* { dg-options "-ffast-math" } */ + +extern float log1pf (float); +extern double log1p (double); + +float testf (float __x) { + return log1pf(1.0); +} + +double test (double __x) { + return log1p(1.0); +}