summaryrefslogtreecommitdiff
path: root/gcc/config
Commit message (Collapse)AuthorAgeFilesLines
* PR target/47084amylaar2010-12-311-2/+2
| | | | | | | | * config/mn10300/linux.h (PRINT_OPERAND): Update for name changes to mn10300_print_operand / mn10300_print_operand_address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168378 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47114amylaar2010-12-311-2/+2
| | | | | | | | | * config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): Add ATTRIBUTE_UNUSED to declaration. (rs6000_elf_asm_out_destructor): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168377 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47135amylaar2010-12-311-1/+1
| | | | | | | | * config/pdp11/pdp11.c (pdp11_asm_print_operand_punct_valid_p): Change type to match target.def . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168376 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/rsandifo2010-12-312-12/+56
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168375 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47112amylaar2010-12-311-1/+5
| | | | | | | | | * config/mips/r3900.h: Update Copyright years. (MIPS_CPU_STRING_DEFAULT): Undef before defining. (MULTILIB_DEFAULTS, MIPS_ABI_DEFAULT, SUBTARGET_CC1_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168369 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pdp11/pdp11.h (PRINT_OPERAND): Delete.pkoning2010-12-313-26/+55
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168368 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47111amylaar2010-12-311-0/+1
| | | | | | | * config/rtems.h (NO_IMPLICIT_EXTERN_C): Undef before defining. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168365 138bc75d-0d04-0410-961f-82ee72b054a4
* Update the the macro SHIFT_COUNT_TRUNCATED for loongson.xmj2010-12-312-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168364 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/openbsd.opt: New.jsm282010-12-301-0/+33
| | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168358 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pa/pa.md: Add ",*" condition to 64-bit add/subtract booleandanglin2010-12-301-9/+9
| | | | | | | | patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168352 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47038ebotcazou2010-12-301-0/+1
| | | | | | | | * config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section on the GOT helper if USE_HIDDEN_LINKONCE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168351 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47097amylaar2010-12-301-1/+1
| | | | | | | | * config/i386/lynx.h (DBX_REGISTER_NUMBER): Add cast to avoid mixing signed and unsigned types in conditional expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168349 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47063amylaar2010-12-301-2/+2
| | | | | | | | * config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define. (MALLOC_ABI_ALIGNMENT): Undef / define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168345 138bc75d-0d04-0410-961f-82ee72b054a4
* Short circuit if upper 128bits are unchanged in the block.hjl2010-12-301-12/+36
| | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168343 138bc75d-0d04-0410-961f-82ee72b054a4
* Repeat processing all basic blocks for vzeroupper optimization.hjl2010-12-301-103/+42
| | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168342 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pdp11/pdp11.md (movmemhi, movmemhi1): Correctpkoning2010-12-302-200/+121
| | | | | | | constraints. * config/pdp11/pdp11.c (output_block_move): Rewrite. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168338 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pdp11/pdp11-protos.h (pdp11_asm_output_var): Declare.pkoning2010-12-303-10/+19
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168333 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/47129amylaar2010-12-301-0/+1
| | | | | | | * config/ia64/ia64.c: Include "dwarf2out.h" . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168332 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace _rdrand_uXX with _rdrandXX_step.hjl2010-12-284-47/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168298 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pdp11/pdp11.md: Correct length attribute for floatpkoning2010-12-281-24/+24
| | | | | | literal case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168295 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/freebsd.opt (assert=, defsym=, profile, pthread,jsm282010-12-271-0/+21
| | | | | | | rpath-link=, rpath=, soname=): New Driver options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168278 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config/m68k/t-linux (M68K_MLIB_CPU): Only include 680x0 CPUs.schwab2010-12-261-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168253 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld forro2010-12-232-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168204 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/froydnj2010-12-226-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168181 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/spu/spu.md ("mov<mode>"): Use nonimmediate_operanduweigand2010-12-222-3/+9
| | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168169 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/svr4.h: Remove.jsm282010-12-2226-431/+22
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168166 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (output_move_double): Update the commentjiez2010-12-221-3/+2
| | | | | | | above the function to reflect the current implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168159 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/46880jakub2010-12-211-2/+2
| | | | | | | | | | * config/i386/sse.md (sse2_loadlpd, sse2_movsd): Fix shufpd source operand. * gcc.target/i386/pr46880.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168135 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for alluweigand2010-12-211-1/+6
| | | | | | | instructions injected into the prologue to prologue_locator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168114 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm-ldmstm.ml: Fix a typo in comment.jiez2010-12-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168106 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Remove.aesok2010-12-213-18/+25
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168104 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/linux.h (OPTION_GLIBC): Define differently ifjsm282010-12-204-0/+18
| | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168094 138bc75d-0d04-0410-961f-82ee72b054a4
* mn10300: Cleanup PIC unspec generationrth2010-12-202-94/+48
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168093 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-12-20 Sanjin Liu <scliu@faraday-tech.com>rearnsha2010-12-2013-5/+971
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168090 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-12-20 Yvan Roux <yvan.roux@st.com>rearnsha2010-12-201-1/+1
| | | | | | | * config/arm/lib1funcs.asm (ARM_DIV_BODY case __OPTIMIZE_SIZE__): Fix condition on IT instruction for early termination. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168088 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Don't define.jsm282010-12-204-8/+16
| | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168085 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/46904iains2010-12-204-56/+137
| | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168083 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/46729ebotcazou2010-12-193-72/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168049 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-12-19 Chung-Lin Tang <cltang@codesourcery.com>cltang2010-12-191-4/+4
| | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168045 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/46915danglin2010-12-181-33/+73
| | | | | | | | | | | | | | * config/pa/pa.c (branch_to_delay_slot_p): Use next_active_insn instead of next_real_insn. Search forward checking for both ASM_INPUT and ASM_OPERANDS asms until exit condition is found. (branch_needs_nop_p): Likewise. (use_skip_p): New function. (output_cbranch): Use use_skip_p. (output_bb, output_bvb): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168026 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-12-18 Kai Tietz <kai.tietz@onevision.com>ktietz2010-12-181-1/+68
| | | | | | | | | | | | | | | | | | | | | | | PR target/36834 * config/i386/i386.c (ix86_keep_aggregate_return_pointer): New local function. (ix86_return_pops_args): Use ix86_keep_aggregate_return_pointer function instead of KEEP_AGGREGATE_RETURN_POINTER. (ix86_handle_callee_pop_aggregate_return): New handler. (ix86_attribute_table): Add new attribute callee_pop_aggregate_return. * doc/extend.texi (callee_pop_aggregate_return): Add attribute documentation. 2010-12-18 Kai Tietz <kai.tietz@onevision.com> PR target/36834 * gcc.target/i386/aggregate-ret1.c: New. * gcc.target/i386/aggregate-ret2.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168019 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:iains2010-12-181-0/+5
| | | | | | | | | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Only set sjlj exceptions for NeXT/m32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168018 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:iains2010-12-181-2/+3
| | | | | | | | | * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION): Only expose when not building for target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168017 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/netbsd.opt, config/netbsd-elf.opt: New files.jsm282010-12-182-0/+69
| | | | | | | | | | | * config.gcc (alpha*-*-netbsd*, arm*-*-netbsdelf*, arm*-*-netbsd*, i[34567]86-*-netbsdelf*, i[34567]86-*-netbsd*, x86_64-*-netbsd*, m68k*-*-netbsdelf*, mips*-*-netbsd*, powerpc-*-netbsd*, sh*-*-netbsd*, sparc-*-netbsdelf*, sparc64-*-netbsd*, vax-*-netbsdelf*, vax-*-netbsd*): Use these .opt files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168010 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/netware.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE):jsm282010-12-174-1/+32
| | | | | | | | | | | | | | | | | | | Define. * config/i386/nto.h (LIB_SPEC, ASM_SPEC): Define. (DBX_REGISTER_NUMBER): Undefine. * config/i386/sol2.h (SIZE_TYPE, PTRDIFF_TYPE): Define. * config/i386/vxworksae.h (ASM_SPEC, SIZE_TYPE, PTRDIFF_TYPE): Define. * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, i[3456x]86-*-netware*, i[34567]86-*-nto-qnx*, i[34567]86-*-solaris2*, i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae): Don't use svr4.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167998 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace "BB [%i]" with "[bb %i]" in vzeroupper RTL dump.hjl2010-12-171-4/+7
| | | | | | | | | | | | | 2010-12-17 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (move_or_delete_vzeroupper_2): Replace "BB [%i]" with "[bb %i]" in dump. (move_or_delete_vzeroupper_1): Likewise. (rescan_move_or_delete_vzeroupper): Likewise. Always dump upper 128bit state at exit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167996 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/interix.opt: New.jsm282010-12-172-1/+33
| | | | | | | | * config/interix.h (LINK_SPEC): Don't handle -soname*. * config.gcc (i[34567]86-*-interix3*): Use interix.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167992 138bc75d-0d04-0410-961f-82ee72b054a4
* 2010-12-17 Andrew Stubbs <ams@codesourcery.com>ams2010-12-171-7/+7
| | | | | | | | | | | gcc/ * config/arm/arm.md (maddhisi4, *maddhidi4): Use the canonical operand order for plus. Drop redundant % from constraints. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167991 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/spu/t-spu-elf (LIB2FUNCS_EXCLUDE): Add _floattisf anduweigand2010-12-172-2/+76
| | | | | | | | | | _floatunstisf. * config/spu/spu.md ("floattisf2"): New expander. ("floatunstisf2"): New insn pattern and splitter. ("cgt_ti_m1"): New insn pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167984 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/bernds2010-12-171-0/+2
| | | | | | | | | | | | | * config/arm/arm.c (arm_select_cc_mode): Before calling arm_select_dominance_cc_mode for AND or IOR operations, ensure that op is NE or EQ. gcc/testsuite/ * gcc.c-torture/compile/20101217-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167981 138bc75d-0d04-0410-961f-82ee72b054a4