- 03 Jan, 2011 1 commit
-
-
From-SVN: r168438
Jakub Jelinek committed
-
- 31 Dec, 2010 8 commits
-
-
PR target/47084 * config/mn10300/linux.h (PRINT_OPERAND): Update for name changes to mn10300_print_operand / mn10300_print_operand_address. From-SVN: r168378
Joern Rennecke committed -
PR target/47114 * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add ATTRIBUTE_UNUSED to declaration. (rs6000_elf_asm_out_destructor): Likewise. From-SVN: r168377
Joern Rennecke committed -
PR target/47135 * config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change type to match target.def . From-SVN: r168376
Joern Rennecke committed -
gcc/ 2010-12-15 Ken Werner <ken.werner@de.ibm.com> * config/arm/sync.md (sync_clobber, sync_t2_reqd): New code attribute. (arm_sync_old_<sync_optab>si, arm_sync_old_<sync_optab><mode>): Use the sync_clobber and sync_t2_reqd code attributes. * config/arm/arm.c (arm_output_sync_loop): Reverse the operation if the t2 argument is NULL. From-SVN: r168375
Ken Werner committed -
PR target/47112 * config/mips/r3900.h: Update Copyright years. (MIPS_CPU_STRING_DEFAULT): Undef before defining. (MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise. From-SVN: r168369
Joern Rennecke committed -
* config/pdp11/pdp11.h (PRINT_OPERAND): Delete. * config/pdp11/pdp11.c (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define (pdp11_asm_print_operand, pdp11_asm_print_operand_punct_valid_p): New function. * config/pdp11/pdp11.md (tablejump): Fix generated assembly. From-SVN: r168368
Paul Koning committed -
PR target/47111 * config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining. From-SVN: r168365
Joern Rennecke committed -
From-SVN: r168364
Mingjie Xing committed
-
- 30 Dec, 2010 10 commits
-
-
* config/openbsd.opt: New. * config.gcc (alpha*-*-openbsd*, i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123], i[34567]86-*-openbsd*, m68k*-*-openbsd*, mips*-*-openbsd*, sparc64-*-openbsd*, vax-*-openbsd*): Use openbsd.opt. From-SVN: r168358
Joseph Myers committed -
* config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean patterns. From-SVN: r168352
John David Anglin committed -
PR target/47038 * config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section on the GOT helper if USE_HIDDEN_LINKONCE. From-SVN: r168351
Eric Botcazou committed -
PR target/47097 * config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid mixing signed and unsigned types in conditional expression. From-SVN: r168349
Joern Rennecke committed -
PR target/47063 * config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define. (MALLOC_ABI_ALIGNMENT): Undef / define. From-SVN: r168345
Joern Rennecke committed -
2010-12-30 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (upper_128bits_state): Remove comments. (block_info_def): Add unchanged. (move_or_delete_vzeroupper_2): Short circuit if upper 128bits are unchanged in the block. From-SVN: r168343
H.J. Lu committed -
gcc/ 2010-12-30 H.J. Lu <hongjiu.lu@intel.com> PR target/46519 * config/i386/i386.c (block_info_def): Remove referenced, count and rescanned. (move_or_delete_vzeroupper_2): Updated. (move_or_delete_vzeroupper_1): Rewritten to avoid recursive call. (rescan_move_or_delete_vzeroupper): Removed. (move_or_delete_vzeroupper): Repeat processing all basic blocks until no basic block state is changed to used at exit. gcc/testsuite/ 2010-12-30 H.J. Lu <hongjiu.lu@intel.com> PR target/46519 * gfortran.dg/pr46519-2.f90: New. From-SVN: r168342
H.J. Lu committed -
* config/pdp11/pdp11.md (movmemhi, movmemhi1): Correct constraints. * config/pdp11/pdp11.c (output_block_move): Rewrite. From-SVN: r168338
Paul Koning committed -
* config/pdp11/pdp11-protos.h (pdp11_asm_output_var): Declare. * config/pdp11/pdp11.c (pdp11_asm_output_var): New function. * config/pdp11/pdp11.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL): New macros. (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. From-SVN: r168333
Paul Koning committed -
PR target/47129 * config/ia64/ia64.c: Include "dwarf2out.h" . From-SVN: r168332
Joern Rennecke committed
-
- 28 Dec, 2010 2 commits
-
-
gcc/ 2010-12-28 H.J. Lu <hongjiu.lu@intel.com> Uros Bizjak <ubizjak@gmail.com> * config/i386/i386-builtin-types.def (PUSHORT): New. (INT_FTYPE_PUSHORT): Likewise. (INT_FTYPE_PUNSIGNED): Likewise. (INT_FTYPE_PULONGLONG): Likewise. Remove "DEF_FUNCTION_TYPE (UINT16)". * config/i386/i386.c (ix86_builtins): Remove IX86_BUILTIN_RDRAND16, IX86_BUILTIN_RDRAND32 and IX86_BUILTIN_RDRAND64. Add IX86_BUILTIN_RDRAND16_STEP, IX86_BUILTIN_RDRAND32_STEP and IX86_BUILTIN_RDRAND64_STEP. (bdesc_special_args): Remove IX86_BUILTIN_RDRAND16, IX86_BUILTIN_RDRAND32 and IX86_BUILTIN_RDRAND64. (ix86_init_mmx_sse_builtins): Handle IX86_BUILTIN_RDRAND16_STEP, IX86_BUILTIN_RDRAND32_STEP and IX86_BUILTIN_RDRAND64_STEP. (ix86_expand_builtin): Likewise. (ix86_expand_special_args_builtin): Remove UINT16_FTYPE_VOID. * config/i386/i386.md (UNSPEC_RDRAND): New. (UNSPECV_RDRAND): Removed. (rdrand<mode>): Likewise. (rdrand<mode>_1): Also set FLAGS_REG. Replace UNSPECV_RDRAND with UNSPEC_RDRAND. * config/i386/immintrin.h (_rdrand_u16): Removed. (_rdrand_u32): Likewise. (_rdrand_u64): Likewise. (_rdrand16_step): New. (_rdrand32_step): Likewise. (_rdrand64_step): Likewise. * doc/extend.texi (__builtin_ia32_rdrand16): Removed. (__builtin_ia32_rdrand32): Likewise. (__builtin_ia32_rdrand64): Likewise. (__builtin_ia32_rdrand16_step): New. (__builtin_ia32_rdrand32_step): Likewise. (__builtin_ia32_rdrand64_step): Likewise. gcc/testsuite/ 2010-12-28 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/rdrand-1.c: Updated. * gcc.target/i386/rdrand-2.c: Likewise. * gcc.target/i386/rdrand-3.c: Likewise. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r168298
H.J. Lu committed -
* config/pdp11/pdp11.md: Correct length attribute for float literal case. From-SVN: r168295
Paul Koning committed
-
- 27 Dec, 2010 1 commit
-
-
* config/freebsd.opt (assert=, defsym=, profile, pthread, rpath-link=, rpath=, soname=): New Driver options. From-SVN: r168278
Joseph Myers committed
-
- 26 Dec, 2010 1 commit
-
-
From-SVN: r168253
Andreas Schwab committed
-
- 23 Dec, 2010 1 commit
-
-
* configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for --eh-frame-hdr. Check for working Sun ld version. (HAVE_LD_EH_FRAME_HDR): Adapt comment. (glibc_header_dir): Set only once. Rename to ... (target_header_dir): ... this. Adapt users. (gcc_cv_target_dl_iterate_frame_hdr): Check on *-*-solaris2*. (TARGET_DL_ITERATE_PHDR): Define if present. * configure: Regenerate. * config.in: Likewise. * config/t-sol2 (LIB2ADDEH, LIB2ADDEHDEP): Define. * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for recent Solaris 11 with linker support and dl_iterate_phdr. * unwind-dw2-fde-glibc.c (USE_PT_GNU_EH_FRAME): Likewise. (_Unwind_IteratePhdrCallback) [PT_SUNW_UNWIND]: Also accept PT_SUNW_UNWIND .eh_frame_hdr sections. [CRT_GET_RFIB_DATA && __i386__ && __sun__ && __svr4__]: Add load_base to data->dbase. [CRT_GET_RFIB_DATA && __x86_64__ && __sun__ && __svr4__]: Handle 64-bit Solaris 10+/x86. * config/sol2-gld.h [TARGET_DL_ITERATE_PHDR && HAVE_LD_EH_FRAME_HDR] (LINK_EH_SPEC): Define. From-SVN: r168204
Rainer Orth committed
-
- 22 Dec, 2010 4 commits
-
-
gcc/ * c-aux-info.c (gen_formal_list_for_type): Use prototype_p. * c-decl.c (diagnose_arglist_conflict): Likewise. (diagnose_mismatched_decls, merge_decls): Likewise. (c_builtin_function, c_builtin_function_ext_scope): Likewise. (start_decl, start_function): Likewise. * c-tree.h (C_DECL_ISNT_PROTOTYPED): Likewise. * config/ia64/ia64.h (INIT_CUMULATIVE_ARGS): Likewise. * config/mep/mep.c (mep_validate_interrupt): Likewise. * config/pa/pa.h (INIT_CUMULATIVE_ARGS): Likewise. * config/rs6000/rs6000.c (init_cumulative_args): Likewise. * config/sh/sh.c (sh_init_cumulative_args): Likewise. * config/sparc/sparc.c (init_cumulative_args): Likewise. * dwarf2out.c (add_prototyped_attribute): Likewise. (gen_subprogram_die): Likewise. * ipa-type-escape.c (check_function_parameter_and_return_types): Likewise. (check_call): Likewise. * tree-ssa.c (useless_type_conversion_p): Likewise. gcc/ada/ * gcc-interface/utils.c (handle_nonnull_attribute): Use prototype_p. (handle_sentinel_attribute): Likewise. gcc/c-family/ * c-common.c (handle_nonnull_attribute, handle_sentinel_attribute): Use prototype_p. gcc/cp/ * decl.c (decls_match, duplicate_decls): Use prototype_p. * pt.c (push_template_decl_real): Likewise. gcc/lto/ * lto-lang.c (handle_nonnull_attribute, handle_sentinel_attribute): Use prototype_p. gcc/objc/ * objc-act.c (next_sjlj_build_enter_and_setjmp): Use prototype_p. From-SVN: r168181
Nathan Froyd committed -
* config/spu/spu.md ("mov<mode>"): Use nonimmediate_operand predicate for destination operand. * config/spu/spu.c (spu_expand_mov): If move destination is an invalid subreg, perform move in the subreg's inner mode instead. From-SVN: r168169
Ulrich Weigand committed -
* config/svr4.h: Remove. * system.h (USING_SVR4_H, SVR4_ASM_SPEC): Poison. * config.gcc, config/bfin/bfin.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h, config/i386/openbsdelf.h, config/i386/vx-common.h, config/ia64/elf.h, config/ia64/ia64.h, config/ia64/sysv4.h, config/iq2000/iq2000.h, config/m68k/linux.h, config/m68k/m68kelf.h, config/mips/mips.h, config/mips/vxworks.h, config/moxie/moxie.h, config/netbsd-aout.h, config/openbsd.h, config/rs6000/sysv4.h, config/sh/elf.h, config/sh/sh.h, config/sol2.h, config/sparc/sysv4.h, config/stormy16/stormy16.h, config/v850/v850.h, config/vxworks.h: Remove or update comments referring to svr4.h. From-SVN: r168166
Joseph Myers committed -
arm.c (output_move_double): Update the comment above the function to reflect the current implementation. * config/arm/arm.c (output_move_double): Update the comment above the function to reflect the current implementation. From-SVN: r168159
Jie Zhang committed
-
- 21 Dec, 2010 4 commits
-
-
PR target/46880 * config/i386/sse.md (sse2_loadlpd, sse2_movsd): Fix shufpd source operand. * gcc.target/i386/pr46880.c: New test. From-SVN: r168135
Jakub Jelinek committed -
arm.c (require_pic_register): Set INSN_LOCATOR for all instructions injected into the prologue to... * config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all instructions injected into the prologue to prologue_locator. From-SVN: r168114
Ulrich Weigand committed -
From-SVN: r168106
Jie Zhang committed -
* config/sh/sh.h (PREFERRED_RELOAD_CLASS): Remove. * config/sh/sh-protos.h (secondary_reload_info, sh_secondary_reload): Remove forward declaration. * config/sh/sh.c (sh_preferred_reload_class): New function. (sh_secondary_reload): Make static. (TARGET_PREFERRED_RELOAD_CLASS): Define. From-SVN: r168104
Anatoly Sokolov committed
-
- 20 Dec, 2010 6 commits
-
-
* config/alpha/linux.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): Define differently if SINGLE_LIBC. * config/rs6000/linux.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config/rs6000/linux64.h (OPTION_GLIBC): Define differently if SINGLE_LIBC. * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu): Define SINGLE_LIBC instead of OPTION_GLIBC. (*-*-uclinux*): Define DEFAULT_LIBC and SINGLE_LIBC. (bfin*-uclinux*, moxie-*-uclinux*, m68k-*-uclinux*): Don't define DEFAULT_LIBC or use linux.opt. From-SVN: r168094
Joseph Myers committed -
* config/mn10300/mn10300.c (mn10300_legitimize_pic_address): Generate UNSPEC patterns by hand, with the proper mode; use gen_const_mem. * config/mn10300/mn10300.md (call, call_value): Generate UNSPEC_PLT by hand, with the proper mode. (symGOT2reg, symGOT2reg_i, symGOTOFF2reg): Remove. (symGOTOFF2reg_i, sym2PIC, sym2PLT): Remove. From-SVN: r168093
Richard Henderson committed -
2010-12-20 Sanjin Liu <scliu@faraday-tech.com> Mingfeng Wu <mingfeng@faraday-tech.com> * config/arm/arm-cores.def: Add Faraday CPU support - fa526/fa626/fa606te/fa626te/fmp626/fa726te. * config/arm/arm-tune.md: Regenerate. * config/arm/arm.c (arm_fa726te_tune): New tune_params for fa726te (fa726te_sched_adjust_cost): New cost function for fa726te. (arm_issue_rate): Add fa726te. * config/arm/arm.md (generic_sched): Add Faraday cores to generic_sched and include machine description files. * config/arm/bpabi.h (TARGET_FIX_V4BX_SPEC): Add fa526 and fa626. * config/arm/t-arm (MD_INCLUDES): Include machine description files for Faraday cores. * config/arm/t-arm-elf: Add multilib option for Faraday cores. * config/arm/t-linux-eabi: Add multilib option for Faraday cores except fa526 and fa626. * doc/invoke.texi: Document -mcpu for Faraday cores. * config/arm/fa526.md: New file. * config/arm/fa606te.md: New file. * config/arm/fa626te.md: New file. * config/arm/fmp626.md: New file. * config/arm/fa726te.md: New file. Co-Authored-By: Mingfeng Wu <mingfeng@faraday-tech.com> From-SVN: r168090
Sanjin Liu committed -
lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix condition on IT instruction for early termination. 2010-12-20 Yvan Roux <yvan.roux@st.com> * config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix condition on IT instruction for early termination. From-SVN: r168088
Yvan Roux committed -
* config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define. (DBX_REGISTER_NUMBER): Define. * config/rs6000/lynx.h (DBX_REGISTER_NUMBER): Define. * config/rs6000/netbsd.h (DBX_REGISTER_NUMBER): Define. * config/rs6000/sysv4.h (SIZE_TYPE): Define. (ASM_SPEC): Define without using SVR4_ASM_SPEC. (DBX_REGISTER_NUMBER): Undefine. * config.gcc (powerpc-*-eabispe*, powerpc-*-eabisimaltivec*, powerpc-*-eabisim*, powerpc-*-elf*, powerpc-*-eabialtivec*, powerpc-xilinx-eabi*, powerpc-*-eabi*, powerpc-*-rtems*, powerpc-*-linux* | powerpc64-*-linux*, powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, powerpc-wrs-vxworks|powerpc-wrs-vxworksae, powerpcle-*-elf*, powerpcle-*-eabisim*, powerpcle-*-eabi*): Don't use svr4.h. From-SVN: r168085
Joseph Myers committed -
re PR c++/46904 (g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9) PR c++/46904 PR middle-end/46916 PR target/46950 * config/darwin.c (generating_for_darwin_version): New var. (darwin_text_section): Remove. (darwin_rodata_section): Do not check function section here. (darwin_emit_unwind_label): Do not emit for Darwin >= 9. Emit distinct labels for successive calls for the same decl. (darwin_override_options): Set generating_for_darwin_version. Add FIXME and disable -freorder-blocks-and-partition. Suppress automatic asynchronous unwind tables for m32. Switch off -freorder-blocks-and-partition when unwind tables will be generated. Update to use generating_for_darwin_version. (darwin_function_section): Check for cases that need to be placed in coalesced sections. * config/darwin-sections.def: Define hot, cold, startup and exit sections for both coalesced and regular code. * config/darwin.h (USE_SELECT_SECTION_FOR_FUNCTIONS): Delete. * config/darwin10.h (TARGET_ASM_EMIT_UNWIND_LABEL): Delete. From-SVN: r168083
Iain Sandoe committed
-
- 19 Dec, 2010 2 commits
-
-
PR target/46729 * config/sparc/sparc.h (GLOBAL_OFFSET_TABLE_REGNUM): New macro. (PIC_OFFSET_TABLE_REGNUM): Rewrite in terms of above macro. * config/sparc/sparc.c (pic_helper_needed): Delete. (global_offset_table): Likewise. (pic_helper_symbol): Rename to... (got_helper_rtx): ...this. (global_offset_table_rtx): New global variable. (sparc_got_symbol): Likewise. (sparc_got): New static function. (check_pic): Use local variable and call sparc_got. (sparc_tls_symbol): Initialize to NULL_RTX. (sparc_tls_got): In non-PIC mode, reload the GOT register for Sun TLS and 32-bit ABI and copy the GOT symbol to a new register otherwise. (get_pc_thunk_name): Rename local variable. (gen_load_pcrel_sym): New wrapper around load_pcrel_sym{si,di}. (load_pic_register): Rename to... (load_got_register): ...this. Adjust and call gen_load_pcrel_sym. (sparc_expand_prologue): Do not test flag_pic. (sparc_output_mi_thunk): Use pic_offset_table_rtx directly. (sparc_file_end): Test got_helper_rtx instead of pic_helper_needed. Rename local variable and do not call get_pc_thunk_name again. * config/sparc/sparc.md (load_pcrel_sym): Add operand #3. From-SVN: r168049
Eric Botcazou committed -
2010-12-19 Chung-Lin Tang <cltang@codesourcery.com> gcc/ * config/arm/arm.c (arm_legitimate_index_p): Add VFP load/store index range case. Change to SF/DFmode tests to avoid capturing HFmode. (thumb2_legitimate_index_p): Same. gcc/testsuite/ * gcc.target/arm/vfp-1.c (test_ldst): New test for VFP load/store immediate indexes. From-SVN: r168045
Chung-Lin Tang committed
-