Revital1 Eres ERES@il.ibm.com
Mon Nov 27 12:24:00 GMT 2006


Based on the latest discussions about the definition of the flags;
I am resubmitting the patch.


2006-11-23  Revital Eres  <eres@il.ibm.com>
            Richard Guenther  <rguenther@suse.de>
            R. Clint Whaley  <whaley@cs.utsa.edu>

      * doc/invoke.texi: Document -fassociative-math and -freciprocal-math.
      * tree-tailcall.c (process_assignment): Use -fassociative-math
      when reodering operands of floating-point type.
      * fold-const.c (negate_expr_p, fold_comparison, fold_binary): Use
      and -freciprocal-math.
      * toplev.h (set_unsafe_math_optimizations_flags): Declare function.
      * tree-ssa-math-opts.c (gate_cse_reciprocals): Use -freciprocal-math
instead of
      * opts.c (common_handle_option): Call
      (set_fast_math_flags): Set -freciprocal-math and -fassociative-math
when -ffast-math is set.
      (set_unsafe_math_optimizations_flags): New Function to set
      and -fassociative-math when -funsafe-math-optimizations is set.
      * tree-vectorizer.c (vect_is_simple_reduction): Use
      when doing reduction on floats.
      * loop-unroll.c (analyze_insn_to_expand_var): Use -fassociative-math
      when expanding an accumulator of type float.
      * simplify-rtx.c (simplify_binary_operation_1): Use
      and -freciprocal-math when reodering operands of floating-point type.
      * combine.c (apply_distributive_law): Likewise.
      (combine_simplify_rtx): Use -freciprocal-math instead of
      -funsafe-math-optimizations in reciprocal operations.
      * tree-ssa-reassoc.c (break_up_subtract_bb, reassociate_bb):
      * common.opt: Declare new flags -fassociative-math and

(See attached file: patch_diff)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_diff
Type: application/octet-stream
Size: 18812 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20061127/1086153f/attachment.obj>

More information about the Gcc-patches mailing list