OSDN Git Service

2011-05-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1415134..7bd3193 100644 (file)
@@ -1,3 +1,82 @@
+2011-05-27  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+           Uros Bizjak <ubizjak@gmail.com>
+
+       * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check for @tlsgdplt
+       (HAVE_AS_IX86_TLSGDPTL): Define.
+       (gcc_cv_as_ix86_tlsldmplt): Check for @tlsldmplt.
+       (HAVE_AS_IX86_TLSLDMPLT): Define.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * config/i386/i386.c (ix86_print_operand): Handle code 'p'.
+       * config/i386/i386.md (*tls_global_dynamic_32_gnu): If
+       TARGET_SUN_TLS, use @tlsgdplt or @plt.
+       (*tls_global_dynamic_64): Use @plt if TARGET_SUN_TLS.
+       (*tls_local_dynamic_base_32_gnu): If TARGET_SUN_TLS, use
+       @tlsldmplt or @plt.
+       (*tls_local_dynamic_base_64): Use @plt if TARGET_SUN_TLS.
+
+2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * sched-int.h (struct _haifa_deps_insn_data): New members cond
+       and reverse_cond.
+       (INSN_COND, INSN_REVERSE_COND): New macros.
+       * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev
+       once.
+       (sched_get_condition_with_rev): Cache the results, and look them up
+       if possible.
+       (sched_analyze_insn): Destroy INSN_COND of previous insns if they
+       are clobbered by the current insn.
+       * target.def (exposed_pipline): New sched data hook.
+       * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook.
+       * doc/tm.texi: Regenerate.
+
+2011-05-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       PR tree-optimization/49170
+       * tree-ssa-math-opts.c (execute_cse_sincos):  Add checks for
+       sincos or cexp.
+
+2011-05-27  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/49189
+       * fold-const.c (fold_unary_loc): Do not re-fold folding conversions
+       of comparisons.
+
+2011-05-27  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * haifa-sched.c (sched_scan_info): Remove.
+       (schedule_block): Call sched_extend_luids rather than sched_init_luids
+       with NULL args.
+       (extend_bb, init_bb, extend_insn, init_insn, init_insns_in_bb):
+       Remove functions.
+       (sched_scan): Remove.
+       (sched_extend_luids): Renamed from luids_extend_insn and no longer
+       static.  All callers changed.
+       (sched_init_insn_luid): Renamed from luids_init_insn and no longer
+       static.  All callers changed.
+       (sched_init_luids): Remove all arguments except the first.  All
+       callers changed.  Don't use sched_scan.
+       (haifa_init_h_i_d): Likewise.
+       (haifa_init_insn): Call sched_extend_luids and sched_init_insn_luid
+       manually rather than using sched_init_luids.  Likewise with
+       extend_h_i_d, init_h_i_d and haifa_init_h_i_d.
+       * sel-sched.c (sel_region_target_finish): Call sched_extend_luids
+       rather than sched_init_luids with NULL args.
+       * sel-sched-ir.c (new_insns): Remove variable.
+       (sched_scan): New static function, previously in haifa-sched.c.  Remove
+       all arguments but the first two; all callers changed.
+       (sel_init_new_insn): Call sched_extend_luids and sched_init_insn_luid
+       rather than sched_init_luids.
+       (sel_init_bbs): Remove second argument.  All callers changed.
+       (sel_add_bb): Call sched_extend_luids rather than sched_init_luids
+       with NULL arguments.
+       (create_insn_rtx_from_pattern): Likewise.
+       * sel-sched-ir.h (sel_init_bbs): Adjust declaration.
+       * sched-int.h (sched_init_luids, haifa_init_h_i_d): Likewise.
+       (sched_init_insn_luid, sched_extend_luids): Declare.
+       (sched_scan_info_def, sched_scan_info, sched_scan): Remove
+       declarations.
+
 2011-05-27  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/49177