OSDN Git Service

PR target/34709
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2008 19:22:46 +0000 (19:22 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2008 19:22:46 +0000 (19:22 +0000)
        Revert:

        2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
        * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
        for TARGET_RECIP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131403 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index d163f6a..a3b360f 100644 (file)
@@ -1,7 +1,16 @@
+2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34709
+       Revert:
+
+       2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
+       * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
+       for TARGET_RECIP.       
+       
 2008-01-08  Jan Sjodin  <jan.sjodin@amd.com>
        
-       * config/i386/i386.c:
-       (k8_cost, amdfam10_cost): Branch costs for vectorization tuned.
+       * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
+       for vectorization tuned.
        
 2008-01-08  Richard Guenther  <rguenther@suse.de>
 
index 599f864..a8c8b72 100644 (file)
@@ -21449,7 +21449,7 @@ static tree
 ix86_builtin_reciprocal (unsigned int fn, bool md_fn,
                         bool sqrt ATTRIBUTE_UNUSED)
 {
-  if (! (TARGET_SSE_MATH && !optimize_size
+  if (! (TARGET_SSE_MATH && TARGET_RECIP && !optimize_size
         && flag_finite_math_only && !flag_trapping_math
         && flag_unsafe_math_optimizations))
     return NULL_TREE;