combine.c (combine_simplify_rtx): Attempt to simplify a*(b/c) as (a*b)/c for floats...
authorJan Hubicka <jh@suse.cz>
Tue, 17 Jul 2001 15:11:56 +0000 (17:11 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 17 Jul 2001 15:11:56 +0000 (15:11 +0000)
commit4ba5f92543efd538baa20eb7624cce7066fdbbb7
tree9897d533a511d33bdf87b391d045985a0131d4ea
parent3aa8ab7bfa8e38b018aa6eccf474d5d49643c49e
combine.c (combine_simplify_rtx): Attempt to simplify a*(b/c) as (a*b)/c for floats in unsafe_math mode.

* combine.c (combine_simplify_rtx): Attempt to simplify
a*(b/c) as (a*b)/c for floats in unsafe_math mode.

* simplify-rtx.c (avoid_constatn_pool_reference): New static function.
(simplify_binary_operation, simplify_unary_operation,
 simplify_relational_operation): Use it.

* combine.c (combine_simplify_rtx): Don't do associative law
on divisions; allow associative law on floats.

From-SVN: r44073
gcc/ChangeLog
gcc/combine.c
gcc/simplify-rtx.c