aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
AgeCommit message (Collapse)AuthorFilesLines
2011-02-06freebsd.h (ASM_SPEC): Define.Joseph Myers2-2/+8
* config/sparc/freebsd.h (ASM_SPEC): Define. * config/sparc/vxworks.h (ASM_SPEC): Define. From-SVN: r169867
2011-02-06* config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}.Joseph Myers1-2/+0
From-SVN: r169866
2011-02-04iris6.opt: New.Joseph Myers1-0/+45
* config/mips/iris6.opt: New. * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. From-SVN: r169841
2011-02-04re PR target/46997 (new ia64 vector instructions are broken on HP-UX ↵Richard Henderson4-341/+355
(big-endian)) 2011-02-04 Richard Henderson <rth@redhat.com> Steve Ellcey <sje@cup.hp.com> PR target/46997 * config/ia64/predicates.md (mux1_brcst_element): New. * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. * config/ia64/ia64.c (ia64_unpack_assemble): New. (ia64_unpack_sign): New. (ia64_expand_unpack): Rewrite using new routines. (ia64_expand_widen_sum): Ditto. (ia64_expand_dot_prod_v8qi): Ditto. * config/ia64/vect.md (mulv8qi3): Rewrite to use new routines, add endian check. (pmpy2_even): Rename from pmpy2_r, add endian check. (pmpy2_odd): Rename from pmpy2_l, add endian check. (vec_widen_smult_lo_v4hi): Rewrite using new routines. (vec_widen_smult_hi_v4hi): Ditto. (vec_widen_umult_lo_v4hi): Ditto. (vec_widen_umult_hi_v4hi): Ditto. (mulv2si3): Change endian checks. (sdot_prodv4hi): Rewrite with new calls. (udot_prodv4hi): New. (vec_pack_ssat_v4hi): Add endian check. (vec_pack_usat_v4hi): Ditto. (vec_pack_ssat_v2si): Ditto. (max1_even): Rename from max1_r, add endian check. (max1_odd): Rename from max1_l, add endian check. (*mux1_rev): Format change. (*mux1_mix): Ditto. (*mux1_shuf): Ditto. (*mux1_alt): Ditto. (*mux1_brcst_v8qi): Use new predicate. (vec_extract_evenv8qi): Remove endian check. (vec_extract_oddv8qi): Ditto. (vec_interleave_lowv4hi): Format change. (vec_interleave_highv4hi): Ditto. (mix2_even): Rename from mix2_r, add endian check. (mix2_odd): Rename from mux2_l, add endian check. (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. (vec_extract_evenodd_helper): Format change. (vec_extract_evenv4hi): Remove endian check. (vec_extract_oddv4hi): Remove endian check. (vec_interleave_lowv2si): Format change. (vec_interleave_highv2si): Format change. (vec_initv2si): Remove endian check. (vecinit_v2si): Add endian check. (reduc_splus_v2sf): Add endian check. (reduc_smax_v2sf): Ditto. (reduc_smin_v2sf): Ditto. (vec_initv2sf): Remove endian check. (fpack): Add endian check. (fswap): Add endian check. (vec_interleave_highv2sf): Add endian check. (vec_interleave_lowv2sf): Add endian check. (fmix_lr): Add endian check. (vec_setv2sf): Format change. (*vec_extractv2sf_0_be): Use shift to extract operand. (*vec_extractv2sf_1_be): New. (vec_pack_trunc_v4hi): Add endian check. (vec_pack_trunc_v2si): Format change. Co-Authored-By: Steve Ellcey <sje@cup.hp.com> From-SVN: r169840
2011-02-04xilinx.opt: New.Joseph Myers1-0/+33
* config/rs6000/xilinx.opt: New. * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. From-SVN: r169827
2011-02-04* config/mips/mips.opt (EB, EL, noasmopt): New Driver options.Joseph Myers1-1/+10
From-SVN: r169826
2011-02-03xtensa.h (PREFERRED_RELOAD_CLASS, [...]): Remove.Anatoly Sokolov3-16/+36
* config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS): Remove. * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, secondary_reload_info, xtensa_secondary_reload): Remove. * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. (xtensa_preferred_reload_class): Make static. Change return and 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. Use CONST_DOUBLE_P predicate. (xtensa_preferred_output_reload_class): New function. (xtensa_secondary_reload): Make static. From-SVN: r169810
2011-02-03microblaze.opt (Zxl-mode-bootstrap, [...]): New Driver options.Joseph Myers1-1/+19
* config/microblaze/microblaze.opt (Zxl-mode-bootstrap, Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. From-SVN: r169809
2011-02-03darwin.h (SECTION_NO_ANCHOR): Remove.Jakub Jelinek2-11/+7
* config/darwin.h (SECTION_NO_ANCHOR): Remove. * config/darwin.c (SECTION_NO_ANCHOR): Define. (darwin_init_sections): Remove assertion. From-SVN: r169802
2011-02-03predicates.md (rx_zs_comparison_operator): Remove lt and ge.Nick Clifton3-5/+8
* config/rx/predicates.md (rx_zs_comparison_operator): Remove lt and ge. * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes instead of "n" and "pz". (flags_from_code): LT and GE tests need CC_FLAG_O as well as CC_FLAG_S. From-SVN: r169787
2011-02-03Fix PR target/47272Michael Meissner9-84/+437
From-SVN: r169780
2011-02-03pa-hpux10.opt: New.Joseph Myers3-1/+32
* config/pa/pa-hpux10.opt: New. * config/hpux11.opt (pthread): New Driver option. * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. From-SVN: r169779
2011-02-03vms.opt: New.Joseph Myers1-0/+30
* config/ia64/vms.opt: New. * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. From-SVN: r169778
2011-02-03Fix PR target/47580Michael Meissner1-9/+10
From-SVN: r169776
2011-02-02* config/i386/djgpp.opt (posix): New Driver option.Joseph Myers1-1/+4
From-SVN: r169771
2011-02-02sysv4.h (TARGET_VERSION): Remove.Rainer Orth2-65/+3
* config/i386/sysv4.h (TARGET_VERSION): Remove. (SUBTARGET_RETURN_IN_MEMORY): Remove. (ASM_OUTPUT_ASCII): Remove. * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. From-SVN: r169534
2011-02-02* config/openbsd.opt (assert=): New Driver option.Joseph Myers1-1/+4
From-SVN: r169512
2011-02-02nto.opt: New.Joseph Myers1-0/+33
* config/i386/nto.opt: New. * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. From-SVN: r169511
2011-02-01netware.opt: New.Joseph Myers1-0/+33
* config/i386/netware.opt: New. * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. From-SVN: r169506
2011-02-01* config/interix.opt (posix): New Driver option.Joseph Myers1-1/+4
From-SVN: r169505
2011-02-01* config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition.DJ Delorie1-3/+0
From-SVN: r169503
2011-02-01m32c.c (m32c_regno_reg_class): Return smallest reg class for A0/A1.DJ Delorie1-1/+2
* config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg class for A0/A1. From-SVN: r169501
2011-02-01* config/i386/cygming.opt (posix): New Driver option.Joseph Myers1-1/+4
From-SVN: r169490
2011-02-01vxworks.opt: New.Joseph Myers1-0/+60
* config/arm/vxworks.opt: New. * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. From-SVN: r169489
2011-02-01elf.opt: New.Joseph Myers1-0/+30
* config/alpha/elf.opt: New. * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. From-SVN: r169488
2011-02-01re PR target/46692 (Missing LM32 multilibs for divider and sign extender)Sebastien Bourdeauducq1-1/+1
PR gcc/46692 * config/lm32/t-lm32: Add multilib for all CPU options. From-SVN: r169473
2011-01-31* config/arc/arc.opt (EB, EL): New Driver options.Joseph Myers1-1/+7
From-SVN: r169454
2011-01-31osf5.opt: New.Joseph Myers1-0/+42
* config/alpha/osf5.opt: New. * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. From-SVN: r169453
2011-01-31* config/vms/vms.opt (map, mvms-return-codes): New Driver options.Joseph Myers1-1/+7
From-SVN: r169451
2011-01-31rx.c (rx_get_stack_layout): Only save call clobbered registers inside ↵Nick Clifton1-4/+6
interrupt handlers if... * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered registers inside interrupt handlers if the handler is not a leaf function. From-SVN: r169434
2011-01-31mn10300.c (mn10300_regno_in_class_p): Check for reg_renumber returning an ↵Nick Clifton1-0/+2
INVALID_REGNUM. * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for reg_renumber returning an INVALID_REGNUM. From-SVN: r169432
2011-01-31rs6000.c (print_operand): Rearrange addends in toc relative expressions as ↵Alan Modra1-2/+13
we do in print_operand_address. * config/rs6000/rs6000.c (print_operand): Rearrange addends in toc relative expressions as we do in print_operand_address. From-SVN: r169427
2011-01-30hpux11.opt: New.Joseph Myers1-0/+30
* config/hpux11.opt: New. * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, ia64*-*-hpux*): Use hpux11.opt. From-SVN: r169419
2011-01-29arm.c (arm_legitimize_reload_address): New.Jie Zhang3-47/+60
* config/arm/arm.c (arm_legitimize_reload_address): New. * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use arm_legitimize_reload_address. * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. From-SVN: r169386
2011-01-28* config/freebsd.opt (posix, rdynamic): New Driver options.Joseph Myers1-1/+7
From-SVN: r169368
2011-01-27sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.Joseph Myers2-3/+2
* config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. From-SVN: r169336
2011-01-27s390.h (PREFERRED_RELOAD_CLASS): Remove.Anatoly Sokolov3-8/+5
* config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. (s390_preferred_reload_class): Make static. Change return and 'rclass' argument type to reg_class_t. From-SVN: r169333
2011-01-27* config/spu/spu-elf.h (ASM_SPEC): Remove.Ulrich Weigand1-3/+0
From-SVN: r169324
2011-01-26bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.Joseph Myers10-14/+5
* config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. * config/frv/frv.h (LINK_SPEC): Likewise. * config/i386/netware.h (LINK_SPEC): Likewise. * config/m68k/linux.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. * config/rs6000/sysv4.h (LINK_SPEC): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/sparc/linux.h (ASM_SPEC): Likewise. * config/sparc/linux64.h (ASM_SPEC): Likewise. * config/sparc/sp-elf.h (ASM_SPEC): Likewise. From-SVN: r169303
2011-01-26bfin.h (ASM_SPEC): Remove %{Ym,*}.Joseph Myers9-9/+6
* config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. * config/frv/frv.h (ASM_SPEC): Likewise. * config/m68k/linux.h (ASM_SPEC): Likewise. * config/pa/pa-linux.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/sparc/linux.h (ASM_SPEC): Likewise. * config/sparc/linux64.h (ASM_SPEC): Likewise. * config/sparc/sp-elf.h (ASM_SPEC): Likewise. From-SVN: r169302
2011-01-26bfin.h (LINK_SPEC): Remove %{YP,*}.Joseph Myers3-3/+1
* config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. * config/frv/frv.h (LINK_SPEC): Likewise. * config/rs6000/sysv4.h (LINK_SPEC): Likewise. From-SVN: r169301
2011-01-26bfin.h (ASM_SPEC): Remove %{Yd,*}.Joseph Myers12-24/+22
* config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. * config/frv/frv.h (ASM_SPEC): Likewise. * config/i386/sol2-10.h (ASM_SPEC): Likewise. * config/m68k/linux.h (ASM_SPEC): Likewise. * config/pa/pa-linux.h (ASM_SPEC): Likewise. * config/rs6000/linux64.h (ASM_SPEC32): Likewise. * config/rs6000/vxworks.h (ASM_SPEC): Likewise. * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. * config/sparc/linux.h (ASM_SPEC): Likewise. * config/sparc/linux64.h (ASM_SPEC): Likewise. * config/sparc/sp-elf.h (ASM_SPEC): Likewise. * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. From-SVN: r169300
2011-01-26re PR target/46997 (new ia64 vector instructions are broken on HP-UX ↵Steve Ellcey1-22/+53
(big-endian)) 2011-01-26 Steve Ellcey <sje@cup.hp.com> PR target/46997 * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. (*mux2): Ditto. (vec_extract_evenodd_help): Ditto. (vec_extract_evenv4hi): Ditto. (vec_extract_oddv4hi): Ditto. (vec_interleave_lowv2si): Ditto. (vec_interleave_highv2si): Ditto. (vec_extract_evenv2si): Ditto. (vec_extract_oddv2si: Ditto. (vec_pack_trunc_v2si): Ditto. From-SVN: r169296
2011-01-26re PR tree-optimization/47237 (builtin_apply_args broken WRT local ABI changes.)Jan Hubicka1-3/+3
PR target/47237 * cgraph.h (cgraph_local_info): New field can_change_signature. * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee signature can change. (ipcp_estimate_growth): Call sequence simplify only if calle signature can change. (ipcp_insert_stage): Only compute args_to_skip if signature can change. (cgraph_function_versioning): We can not change signature of functions that don't allow that. * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. (lto_input_node): Likewise. * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature. * ipa-split.c (visit_bb): Never split away APPLY_ARGS. * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions that can not change signature. * i386.c (ix86_function_regparm, ix86_function_sseregparm, init_cumulative_args): Do not use local calling conventions for functions that can not change signature. From-SVN: r169290
2011-01-26re PR target/40125 (libgcc_s DLL installed in wrong directory in cross ↵Dave Korn3-2/+23
toolchain) gcc/ChangeLog: PR target/40125 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable t-dlldir{,-x} fragment for build and add it to tmake_file. (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. * config/i386/t-dlldir: New file. (SHLIB_DLLDIR): Define. * config/i386/t-dlldir-x: New file. (SHLIB_DLLDIR): Define. * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. (SHLIB_INSTALL): Use it. libgcc/ChangeLog: PR target/40125 * configure.ac: Call ACX_NONCANONICAL_TARGET. (toolexecdir): Calculate and AC_SUBST. (toolexeclibdir): Likewise. * Makefile.in (target_noncanonical): Import. (toolexecdir): Likewise. (toolexeclibdir): Likewise. * configure: Regenerate. From-SVN: r169274
2011-01-26re PR target/47246 (Invalid immediate offset for Thumb VFP store regression)Chung-Lin Tang1-1/+5
2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> PR target/47246 * config/arm/arm.c (thumb2_legitimate_index_p): Change the lower bound of the allowed Thumb-2 coprocessor load/store index range to -256. Add explaining comment. From-SVN: r169271
2011-01-25m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to sjlj_except_unwind_info.Joel Sherrill1-1/+4
2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to sjlj_except_unwind_info. From-SVN: r169242
2011-01-25re PR target/45701 (Fail to prefer using r3 for padding a push/pop multiple ↵Jakub Jelinek1-2/+27
to 8-byte alignment) PR target/45701 * config/arm/arm.c (any_sibcall_uses_r3): New function. (arm_get_frame_offsets): Use it. 2011-01-25 Yao Qi <yao@codesourcery.com> PR target/45701 * gcc.target/arm/pr45701-1.c: New test. * gcc.target/arm/pr45701-2.c: New test. * gcc.target/arm/pr45701-3.c: New test. From-SVN: r169240
2011-01-25rx.h (LIBCALL_VALUE): Do not promote complex types.Nick Clifton3-25/+27
* config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. * config/rx/rx.c (rx_function_value): Likewise. (rx_promote_function_mode): Likewise. (gen_safe_add): Place an outsized immediate value inside an UNSPEC in order to make it legitimate. * config/rx/rx.md (adddi3_internal): If the second operand is a MEM make sure that the first operand is the same as the result register. (addsi3_unspec): Delete. (subdi3): Do not accept immediate operands. (subdi3_internal): Likewise. * gcc.target/rx/builtins.c: Allow -fipa-cp-clone. (saturate_add): Delete. (exchange): Delete. (main): Do not run saturate_add. (set_interrupts): Delete. From-SVN: r169232
2011-01-24Visit basic blocks using the work-list based algorithm.H.J. Lu2-22/+127
2011-01-24 H.J. Lu <hongjiu.lu@intel.com> PR target/46519 * config/i386/i386.c: Include sbitmap.h and fibheap.h. (block_info): Add scanned and prev. (move_or_delete_vzeroupper_2): Return if the basic block has been scanned and the upper 128bit state is unchanged from the last scan. (move_or_delete_vzeroupper_1): Return true if the exit state is changed. (move_or_delete_vzeroupper): Visit basic blocks using the work-list based algorithm based on vt_find_locations in var-tracking.c. * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). From-SVN: r169173