]> gcc.gnu.org Git - gcc.git/commitdiff
re PR target/19235 (GCC generates SSE2 instructions for AthlonXP which doesn't suppor...
authorUros Bizjak <uros@kss-loka.si>
Mon, 3 Jan 2005 15:56:16 +0000 (16:56 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 3 Jan 2005 15:56:16 +0000 (16:56 +0100)
PR target/19235
* gcc.dg/pr19236-1.c: New test case.

From-SVN: r92855

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr19236-1.c [new file with mode: 0644]

index c291d1ed338ba9e96d3398c65dcc6944f5879cad..8c4ea6a4951835a11be85b2fa102977c74bfd82b 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-03  Uros Bizjak <uros@kss-loka.si>
+       PR target/19235
+       * gcc.dg/pr19236-1.c: New test case.
+
 2005-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
 
        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 (file)
index 0000000..77365aa
--- /dev/null
@@ -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); 
+}
This page took 0.087663 seconds and 5 git commands to generate.