OSDN Git Service

2008-10-13 Matthias Klose <doko@ubuntu.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a7da214..ef4ce0b 100644 (file)
@@ -1,3 +1,136 @@
+2008-10-13  Matthias Klose  <doko@ubuntu.com>
+
+       * gcc/config/pa/linux-atomic.c: Work around missing header file
+       for hppa64-linux-gnu targets.
+
+2008-10-13  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+            Kaushal Kantawala <Kaushal_Kantawala@playstation.sony.com>
+            Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+            Grace Cao  <grace_cao@playstation.sony.com>
+
+       * doc/invoke.texi (-mgen-cell-microcode): Document.
+       (-mwarn-cell-microcode): Document.
+       * cfglayout.c (locator_location): Export.
+       * rtl.h (locator_location): Define prototype.
+       * config/rs6000/predicates.md (cc_reg_not_micro_cr0_operand): New predicate.
+       * rs6000/rs6000-protos.h (rs6000_final_prescan_insn): Define prototype.
+       * config/rs6000/rs6000.opt (mgen-cell-microcode): New option.
+       (mwarn-cell-microcode): New option.
+       * rs6000/rs6000.c (rs6000_cell_dont_microcode): Delete unused variable.
+       (rs6000_override_options): Set rs6000_gen_cell_microcode if tuning for
+       cell and not already set.
+       Turn off string instructions if not generating cell microcode.
+       (rs6000_final_prescan_insn): New function that warns about microcoded
+       instructions.
+       * config/rs6000/rs6000.h (FINAL_PRESCAN_INSN): Define.
+       * config/rs6000/rs6000.md
+       Replace cc_reg_not_cr0_operand with cc_reg_not_micro_cr0_operand if
+       the instruction would have been microcoded on the Cell.
+       Set cell_micro to always on unnamed patterns for the string instructions.
+       (cell_micro): Update definition, remove load/store conditional microcoded.
+       (sign_extend:DI): Define new pattern for non microcoded version.
+       (sign_extend:SI): Likewise.
+       (compare (div:P)): Set cell_micro to not.
+       (andsi3): Define as an expand.
+       (andsi3_mc): New pattern.
+       (andsi3_nomc): New pattern.
+       (andsi3_internal0_nomc): New pattern.
+       (andsi3_internal2): Rename to ...
+       (andsi3_internal2_mc): this and enable iff generating microcode.
+       (andsi3_internal3): Rename to ...
+       (andsi3_internal3_mc): this and enable iff generating microcode.
+       (andsi3_internal4): Enable iif generating microcode.
+       (andsi3_internal5): Rename to ..
+       (andsi3_internal5_mc): this and enable iff generating microcode.
+       (andsi3_internal5_nomc): New pattern.
+       (extzvdi_internal1): Enable iff generating microcode.
+       (extzvdi_internal2): Likewise.
+       (rotlsi3_internal7): Set cell_micro to always if non immediate form.
+       (anddi3): Change to expand.
+       (anddi3_mc): Rename from anddi3.
+       (anddi3_no_mc): New pattern.
+       (anddi3_internal2): Rename to ..
+       (anddi3_internal2_mc): this and enable iff generating microcode.
+       (anddi3_internal2_nomc): New pattern.
+       (anddi3_internal3): Rename to ..
+       (anddi3_internal3_mc): this and enable iff generating microcode.
+       (anddi3_internal3_nomc): New pattern.
+       (movti_string): Set cell_micro to always if TARGET_STRING.
+       (stmsi8): Set cell_micro to always.
+       (stmsi7): Likewise.
+       (stmsi6): Likewise.
+       (stmsi5): Likewise.
+       (stmsi4): Likewise.
+       (stmsi3): Likewise.
+       (stmsi8_power): Likewise.
+       (stmsi7_power): Likewise.
+       (stmsi6_power): Likewise.
+       (stmsi5_power): Likewise.
+       (stmsi4_power): Likewise.
+       (stmsi3_power): Likewise.
+       (movsi_update2): Enable iff generating microcode.
+       (movhi_update3): Likewise.
+       (lmw): Set cell_micro to always.
+
+2008-10-13  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/s390/s390.md (UNSPEC_POOL_OFFSET): New constant.
+       * config/s390/s390.c (machine_function): Remove
+       decomposed_literal_pool_addresses_ok_p.
+       (s390_decompose_address): Check for UNSPEC_POOL_OFFSET instead of
+       the difference of two labels.
+       (s390_output_addr_const_extra): Handle UNSPEC_POOL_OFFSET.
+       (s390_pool_offset): New function.
+       (s390_find_constant, s390_find_execute, s390_dump_pool): Use it.
+       (s390_reorg): Don't set decomposed_literal_pool_addresses_ok_p.
+
+2008-10-13  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * doc/install.texi (powerpc-*-*): Require binutils 2.15.
+       (powerpc*-*-linux-gnu*): Describe.
+       * config/rs6000/ppc-asm.h (HIDDEN_FUNC): New macro.
+       * config/rs6000/crtresfpr.asm, config/rs6000/crtresgpr.asm,
+       config/rs6000/crtresxfpr.asm, config/rs6000/crtresxgpr.asm,
+       config/rs6000/crtsavfpr.asm, config/rs6000/crtsavgpr.asm,
+       config/rs6000/e500crtres32gpr.asm,
+       config/rs6000/e500crtres64gpr.asm,
+       config/rs6000/e500crtres64gprctr.asm,
+       config/rs6000/e500crtrest32gpr.asm,
+       config/rs6000/e500crtrest64gpr.asm,
+       config/rs6000/e500crtresx32gpr.asm,
+       config/rs6000/e500crtresx64gpr.asm,
+       config/rs6000/e500crtsav32gpr.asm,
+       config/rs6000/e500crtsav64gpr.asm,
+       config/rs6000/e500crtsav64gprctr.asm,
+       config/rs6000/e500crtsavg32gpr.asm,
+       config/rs6000/e500crtsavg64gpr.asm,
+       config/rs6000/e500crtsavg64gprctr.asm: Use it.
+       * config/rs6000/crtsavres.asm: Really remove.
+
+2008-10-13  Kai Tietz  <kai.tietz@onevision.com>
+
+       Fix PR/25502
+       * c-format.c (convert_format_name_to_system_name): Use
+       TARGET_OVERRIDES_FORMAT_INIT.
+       * config.gcc (extra_options): Add for mingw targets mingw.opt.
+       * config/i386/mingw.opt: New.
+       * config/i386/mingw32.h (TARGET_OVERRIDES_FORMAT_INIT): New.
+       * config/i386/msformat-c.c (TARGET_OVERRIDES_FORMAT_INIT): New.
+       (ms_printf_length_specs): Removed const specifier.
+       * doc/tm.texi (TARGET_OVERRIDES_FORMAT_INIT): New.
+       * doc/invoke.texi (Wno-pedantic-ms-format): New.
+
+2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c: Remove MPFR_VERSION_NUM(2,3,0) conditionals.
+       * doc/install.texi: Bump recommended MPFR to 2.3.2.
+
+2008-10-12  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       PR middle-end/37808
+       * df-scan.c (df_ref_change_reg_with_loc_1): Added test to make
+       sure that ref has valid bb.
+       
 2008-10-12  Richard Henderson  <rth@redhat.com>
 
        PR middle-end/37447