aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc
AgeCommit message (Collapse)AuthorFilesLines
2004-04-01sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0.Jakub Jelinek7-10/+21
* config/sparc/sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0. * config/sparc/linux.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. * config/sparc/linux64.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. * config/sparc/sol2.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. (SOLARIS_CONVERSION_LIBFUNCS): Rename to SUN_CONVERSION_LIBFUNCS. * config/sparc/sparc.c (sparc_init_libfuncs): Initialize optabs with _Q_qtoll, _Q_qtoull and _Q_lltoq if DITF_CONVERSION_LIBFUNCS. * config.gcc (sparc-*-linux*): Revert 2004-03-23 change. * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Likewise. * config/sparc/t-linux: Removed. From-SVN: r80295
2004-03-31builtins.c, [...]: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED.Richard Kenner1-5/+5
* builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c: Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. * c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise. * calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise. * expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise. * optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise. * tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise. * config/mips/mips.c, config/rs6000/rs6000.c: Likewise. * config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise. * stor-layout.c (layout_type, case COMPLEX_TYPE): Test for REAL_TYPE, not INTEGER_TYPE. (layout_type, case VECTOR_TYPE): Simplify code. * tree.c (build_vector_type_for_mode): Remove dup unsigned setting. * tree.h: Update comments. (STRIP_NOPS): Use TYPE_UNSIGNED. (TYPE_UNSIGNED): New macro. (TYPE_TRAP_SIGNED): Remove now redundant check. (SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED. * cp/call.c (joust): Use TYPE_UNSIGNED, not TREE_UNSIGNED. * cp/class.c (check_bitfield_decl): Likewise. * cp/cvt.c (type_promotes_to): Likewise. * cp/decl.c (finish_enum): Likewise. * cp/mangle.c (write_builtin_type): Likewise. * cp/semantics.c (finish_switch_cond, finish_unary_op_expr): Likewise. * cp/typeck.c (type_after_usual_arithmetic_conversions): Likewise. (build_binary_op): Likewise. * f/com.c (ffecom_arrayref_): Use TYPE_UNSIGNED, not TREE_UNSIGNED. (ffecom_expr_): Likewise. * java/jcf-write.c (generate_bytecode_insns): Use TYPE_UNSIGNED. * treelang/treetree.c (tree_lang_signed_or_unsigned_type): Use TYPE_UNSIGNED, not TREE_UNSIGNED. * ada/decl.c (gnat_to_gnu_entity, make_type_from_size): Use TYPE_UNSIGNED, not TREE_UNSIGNED. * ada/trans.c (tree_transform, convert_with_check): Likewise. * ada/utils.c (gnat_signed_or_unsigned_type): Likewise. (build_vms_descriptor, unchecked_convert): Likewise. * ada/utils2.c (nonbinary_modular_operation): Likewise. From-SVN: r80287
2004-03-26config.gcc: Remove sparc-tti-*.James A. Morrison5-203/+9
* config.gcc: Remove sparc-tti-*. * config/sparc/pbd.h: Delete. * config/sparc/sol2.h: Remove note about Sun OS 4.x. * config/sparc/aout.h: Likewise. * config/sparc/sparc.h: Remove if 0'd code. * config/sparc/sparc.md (call): Remove if 0'd code. (call_value): Likewise. (nonlocal_goto): Likewise. (unimp_insn): Delete. From-SVN: r79980
2004-03-23config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file.Jakub Jelinek2-0/+6
* config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file. * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Set. * config/sparc/t-linux: New file. From-SVN: r79858
2004-03-16freebsd-spec.h, [...]: Update copyright.Kazu Hirata1-1/+1
* config/freebsd-spec.h, config/arc/arc-protos.h, config/arm/aout.h, config/arm/elf.h, config/arm/freebsd.h, config/arm/linux-gas.h, config/arm/semi.h, config/cris/cris-protos.h, config/i386/xm-djgpp.h, config/ia64/freebsd.h, config/mips/7000.md, config/mips/9000.md, config/ns32k/ns32k-protos.h, config/sparc/pbd.h: Update copyright. From-SVN: r79537
2004-03-15sparc.h: Rework comments about the code model in 64-bit environment and the ↵Eric Botcazou1-32/+36
mode 'Pmode'. * config/sparc/sparc.h: Rework comments about the code model in 64-bit environment and the mode 'Pmode'. * doc/invoke.texi (SPARC options): Rework description of the different code models supported in 64-bit environment. From-SVN: r79509
2004-03-15c-incpath.c, [...]: Update copyright.Kazu Hirata3-3/+3
gcc/ * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c, et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h, hosthooks.h, params.h, ra-colorize.c, web.c, config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c, config/avr/avr-protos.h, config/avr/avr.md, config/fr30/fr30-protos.h, config/fr30/fr30.md, config/h8300/fixunssfsi.c, config/i386/darwin.h, config/i386/freebsd.h, config/i386/freebsd64.h, config/ia64/hpux.h, config/ia64/unwind-ia64.c, config/ip2k/libgcc.S, config/m32r/xm-m32r.h, config/mmix/mmix-modes.def, config/ns32k/netbsd.h, config/ns32k/ns32k.md, config/pa/pa64-hpux.h, config/pa/pa64-regs.h, config/rs6000/aix41.h, config/rs6000/aix43.h, config/rs6000/host-darwin.c, config/sparc/aout.h, config/sparc/freebsd.h, config/sparc/litecoff.h, config/vax/vax-protos.h, doc/hostconfig.texi, doc/include/gcc-common.texi: Update copyright. gcc/cp/ * cp-lang.c, ptree.c: Update copyright. From-SVN: r79506
2004-03-10system.h (SUNOS4_SHARED_LIBRARIES): Poison.Ian Lance Taylor3-24/+1
* system.h (SUNOS4_SHARED_LIBRARIES): Poison. * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code. * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define. * config/sparc/sparc.c (sparc_aout_select_section): Remove. (sparc_aout_select_rtx_section): Don't check SUNOS4_SHARED_LIBRARIES. * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define. From-SVN: r79216
2004-03-03sparc.c (noov_compare64_op): Fix typo.Eric Botcazou3-9/+1
* config/sparc/sparc.c (noov_compare64_op): Fix typo. * config/sparc/sparc.h (ASM_FLOAT): Delete. (ASM_DOUBLE): Likewise. (ASM_LONGDOUBLE): Likewise. * config/sparc/pbd.h (ASM_INT_OP): Delete. From-SVN: r78859
2004-03-03alias.c (rtx_equal_for_memref_p): Use predicates to test rtx classes and new ↵Paolo Bonzini1-12/+16
rtx class codes... 2004-02-07 Paolo Bonzini <bonzini@gnu.org> * alias.c (rtx_equal_for_memref_p): Use predicates to test rtx classes and new rtx class codes, possibly splitting conditionals that tested against '<' and 'o'. * caller-save.c (save_call_clobbered_regs): Likewise. * combine.c (contains_muldiv, find_split_point, subst, combine_simplify_rtx, simplify_if_then_else, simplify_set, simplify_logical, expand_compound_operation, make_compound_operation, if_then_else_cond, known_cond, apply_distributive_law, cached_nonzero_bits, cached_num_sign_bit_copies, simplify_shift_const, gen_binary, simplify_comparison, update_table_tick, record_value_for_reg, get_lsat_value_validate): Likewise. * cse.c (mention_regs, find_best_addr, find_comparison_args, fold_rtx, cse_insn, invalidate_memory, cse_basic_block): Likewise. * emit-rtl.c (copy_insn_1): Likewise. * expr.c (force_operand): Likewise. * final.c (final_scan_insn, get_mem_expr_from_op): Likewise. * flow.c (notice_stack_pointer_modification_1, invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond, and_reg_cond, elim_reg_cond): Likewise. * function.c (update_epilogue_consts): Likewise. * genattrtab.c (attr_rtx_1): Likewise. * genopinit.c (gen_insn): Likewise. * integrate.c (subst_constants): Likewise. * jump.c (reversed_comparison_code_parts, reversed_comparison_code, delete_related_insns, rtx_renumbered_equal_p): Likewise. * local-alloc.c (block_alloc): Likewise. * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv, canonicalize_condition): Likewise. * loop-iv.c (simplify_using_conditions, iv_number_of_iterations): Likewise. * optabs.c (add_equal_node, expand_binop): Likewise. * predict.c (estimate_probability): Likewise. * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise. * recog.c (validate_replace_rtx_1, comparison_operator, offsettable_address_p, constrain_operands): Likewise. * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat): Likewise. * regclass.c (scan_one_insn): Likewise. * regmove.c (stable_and_no_regs_but_for_p): Likewise. * regrename.c (kill_autoinc_value): Likewise. * reload.c (find_reusable_reload, find_reloads, reg_overlap_mentioned_for_reload_p): Likewise. * reload1.c (gen_reload, delete_address_reloads_1): Likewise. * rtl.c (copy_rtx): Likewise. * rtl.h (CONSTANT_P, INSN_P): Likewise. * rtlanal.c (commutative_operand_precedence): Likewise. * sched-deps.c (conditions_mutex_p): Likewise. * sched-rgn.c (is_cfg_nonregular): Likewise. * simplify-rtx.c (simplify_gen_binary, simplify_gen_relational, simplify_replace_rtx, simplify_unary_operation, simplify_binary_operation, simplify_ternary_operation, simplify_rtx): Likewise. * unroll.c (reg_dead_after_loop): Likewise. * config/alpha/alpha.c (alpha_swapped_comparison_operator, print_operand): Likewise. * config/arc/arc.c (proper_comparison_operator): Likewise. * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode): Likewise. * config/avr/avr.c (_reg_unused_after): Likewise. * config/frv/frv.c (frv_ifcvt_modify_tests, frv_ifcvt_modify_insn, frv_pack_insn): Likewise. * config/i386/i386.c (ix86_comparison_operator, ix86_carry_flag_operator, fcmov_comparison_operator, arith_or_logical_operator, print_operand, ix86_expand_binary_operator, ix86_binary_operator_ok): Likewise. * config/i386/i386.md: Likewise. * config/ia64/ia64.c (not_postinc_memory_operand, ia64_print_operand, update_set_flags, errata_emit_nops): Likewise. * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS, CONSTRAINT_OK_FOR_S): Likewise. * config/ip2k/ip2k.c (mdr_resequence_xy_yx, mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref, ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p, ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator): Likewise. * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p, eqne_comparison_operator, signed_comparison_operator): Likewise. * config/mips/mips.c (cmp_op, symbolic_expression_p): Likewise. * config/mmix/mmix (mmix_foldable_comparison_operator, mmix_comparison_operator): Likewise. * config/pa/pa.c (hppa_legitimize_address): Likewise. * config/rs6000/rs6000.c (stmw_operation, branch_comparison_operator, trap_comparison_operator, ccr_bit): Likewise. * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise. * config/s390/s390.c (s390_alc_comparison, s390_slb_comparison):L Likewise. * config/sh/sh.c (gen_block_redirect, reg_unused_after): Likewise. * config/sparc/sparc.c (eq_or_neq, normal_comp_operator, noov_compare_op, noov_compare64_op, v9_regcmp_op, emit_hard_tfmode_operation, reg_unused_after) * doc/md.texi, doc/rtl.texi: Likewise. * ra-debug.c: Add 2004 to list of copyright years. * unroll.c: Likewise. * combine.c (simplify_logical): Remove dummy test, (apply_distributive_law): Fix typo in comment. GET_CODE (x) == AND so x is a commutative binary op. * jump.c (delete_related_insns): simplify loop condition, move testing of RTX codes inside the loop. (rtx_renumbered_equal_p): do not use RTX_CODE. * rtl.c (rtx_class): Declare as enum rtx_class. * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED): Move to RTX_COMM_COMPARE class. (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE): Move to RTX_CONST_OBJ class. * rtl.h (enum rtx_class): New declaration, (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK, RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT, RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK, RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT, RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P, ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P, SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P, OBJECT_P): New macros. * config/sparc/sparc.c (noov_compare_op): Remove register from parameter. From-SVN: r78824
2004-03-02freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add.David O'Brien1-1/+5
2004-03-02 David O'Brien <obrien@FreeBSD.org> * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add. * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define %(fbsd_dynamic_linker), (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with config/i386/freebsd.h * config/arm/freebsd.h: Ditto. * config/i386/freebsd.h: Ditto. * config/i386/freebsd64.h: Ditto. * config/ia64/freebsd.h: Ditto. * config/rs6000/sysv4.h: Ditto. * config/sparc/freebsd.h: Ditto. From-SVN: r78766
2004-02-26sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'.Eric Botcazou3-8/+60
* config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'. (sparc_emit_fixunsdi): New prototype. * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument. (sparc_emit_fixunsdi): New function. * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for operand 1. Pass SFmode to sparc_emit_floatunsdi. (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode to sparc_emit_floatunsdi. (fixuns_truncsfdi2): New expander. (fixuns_truncdfdi2): Likewise. From-SVN: r78511
2004-02-24sparc.h: Remove commented-out definitions of TARGET_EDOM and GEN_ERRNO_RTX.Kazu Hirata1-10/+0
* config/sparc/sparc.h: Remove commented-out definitions of TARGET_EDOM and GEN_ERRNO_RTX. From-SVN: r78366
2004-02-23gcov-io.c (gcov_open): Use open + fdopen instead of fopen.Jakub Jelinek2-0/+4
* gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of fopen. * libgcov.c: Include sys/stat.h. * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define. * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define. * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define. * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define. From-SVN: r78281
2004-02-19arc.h, [...]: Remove commented-out or useless definitions of ↵Kazu Hirata1-6/+0
CASE_VECTOR_PC_RELATIVE. * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/iq2000/iq2000.h, config/m32r/m32r.h, config/pdp11/pdp11.h, config/sparc/sparc.h, config/xtensa/xtensa.h: Remove commented-out or useless definitions of CASE_VECTOR_PC_RELATIVE. From-SVN: r78091
2004-02-19re PR target/12916 (No vector ABI)Eric Botcazou2-205/+244
PR target/12916 * config/sparc/sparc.h (NPARM_REGS): Delete. (BASE_RETURN_VALUE_REG): Likewise. (BASE_OUTGOING_VALUE_REG): Likewise. (BASE_PASSING_ARG_REG): Likewise. (BASE_INCOMING_ARG_REG): Likewise. * config/sparc/sparc.c (sparc_strict_argument_naming): Test TARGET_ARCH64, not TARGET_V9. (function_arg_slotno): Dispatch based on the mode class. Handle vector modes like floating-point modes. (function_arg_record_value_1): Handle vector types like floating-point types. (function_arg_record_value_2): Likewise. Calculate regno after mode transformation. (function_arg): Handle vector modes like floating-point modes. (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX. If ARCH64, do not recheck alignment. (function_arg_pass_by_reference): Reorder the conditions. (sparc_return_in_memory): Move after function_arg_padding. Implement calling conventions for vector modes. (sparc_struct_value_rtx): Move after sparc_return_in_memory. (function_value): Move scope of 'regbase'. Implement calling conventions for vector modes. (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST. (sparc_va_arg): Use function_arg_pass_by_reference to test whether the argument is passed by reference. (sparc_type_code): Handle vector types. From-SVN: r78087
2004-02-18cfgloop.h, [...]: Update copyright.Kazu Hirata2-2/+3
gcc/ * cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c, loop-unroll.c, scan-decls.c, scan.h, stor-layout.c, xcoffout.c, xcoffout.h, config/arm/mmintrin.h, config/mips/linux64.h, config/pa/pa-64.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/spe.md, config/sparc/linux.h, config/sparc/linux64.h: Update copyright. gcc/cp/ * cp-tree.def, cvt.c: Update copyright. From-SVN: r78032
2004-02-16* config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()).Eric Botcazou1-1/+1
From-SVN: r77912
2004-02-07config.gcc: Don't mention MAX_LONG_TYPE_SIZE.Kazu Hirata5-24/+0
* config.gcc: Don't mention MAX_LONG_TYPE_SIZE. * system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison. * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, config/mips/iris5.h, config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/darwin.h, config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h, config/sparc/netbsd-elf.h, config/sparc/sparc.h, config/xtensa/xtensa.h: Remove the definitions of MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or MAX_WCHAR_TYPE_SIZE. * doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove. From-SVN: r77460
2004-02-07c-ppoutput.c, [...]: Update copyright.Kazu Hirata1-1/+1
gcc/ * c-ppoutput.c, cfganal.c, diagnostic.h, print-rtl.c, config/darwin.c, config/darwin.h, config/ia64/ia64-c.c, config/m32r/linux.h, config/rs6000/ppc64-fp.c, config/sparc/openbsd.h, doc/makefile.texi, doc/passes.texi: Update copyright. cp/ * rtti.c: Update copyright. From-SVN: r77449
2004-02-06tm.texi (INIT_CUMULATIVE_ARGS): Update doco.Alan Modra1-1/+1
* doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco. * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS. (emit_library_call_value_1): Likewise pass nargs. * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here. * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS. * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args parameter instead of scanning TYPE_ARGS_TYPES to count args. * config/rs6000/rs6000-protos.h (init_cumulative_args): Update prototype. * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg. (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000. (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0. * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to INIT_CUMULATIVE_ARGS. * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update. * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h, config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, config/pdp11/pdp11.h config/s390/s390.h, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise. From-SVN: r77380
2004-02-04alpha.c, [...]: Revert the replacements of "FALLTHRU" with "Fall through" ↵Kazu Hirata1-1/+1
done in the previous... * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c, config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, config/ia64/ia64.c, config/ia64/unwind-ia64.c, config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, config/rs6000/rs6000.c, config/sparc/sparc.c, config/vax/vax.c: Revert the replacements of "FALLTHRU" with "Fall through" done in the previous patch. From-SVN: r77269
2004-02-04darwin.c, [...]: Fix comment formatting.Kazu Hirata3-4/+4
* config/darwin.c, config/darwin.h, config/freebsd-spec.h, config/arm/arm.c, config/arm/arm.md, config/cris/cris-protos.h, config/fr30/fr30.c, config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h, config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c, config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h, config/ip2k/ip2k.md, config/ip2k/libgcc.S, config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h, config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md, config/ns32k/netbsd.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pdp11/pdp11.h, config/rs6000/darwin-ldouble.c, config/s390/s390.h, config/s390/s390.md, config/sparc/netbsd-elf.h, config/sparc/openbsd.h, config/sparc/sparc.c, config/xtensa/lib2funcs.S: Fix comment formatting. From-SVN: r77268
2004-02-04alpha.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
* config/alpha/alpha.c, config/arc/arc.c, config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c, config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md, config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, config/ia64/ia64.c, config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c, config/vax/vax.c: Fix comment typos. Follow spelling conventions. From-SVN: r77267
2004-02-04alloc-pool.h, [...]: Update copyright.Kazu Hirata1-1/+1
gcc/ * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h, caller-save.c, df.h, genconfig.c, global.c, lcm.c, ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c, sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md, config/arm/fpa.md, config/arm/iwmmxt.md, config/arm/netbsd-elf.h, config/arm/netbsd.h, config/m68hc11/m68hc11.md, config/mips/iris5.h, config/mn10300/mn10300.md, config/rs6000/altivec.md, config/sparc/netbsd-elf.h: Update copyright. cp/ * error.c, search.c: Update copyright. java/ * typeck.c: Update copyright. From-SVN: r77265
2004-02-04sparc.c (function_arg_pass_by_reference): Return 1 for all modes whose size ↵Eric Botcazou1-6/+2
is greater than 8 bytes if ARCH32. * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1 for all modes whose size is greater than 8 bytes if ARCH32. (sparc_va_arg): Handle all modes whose size is greater than 8 bytes by reference if ARCH32. From-SVN: r77262
2004-02-03invoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options.Eric Botcazou9-916/+43
* doc/invoke.texi (SPARC options): Remove -mflat and all -mxxx (xxx:chip) options. * config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete. * config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise. * config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise. * config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise. * config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes. * config/sparc/sparc.c: Likewise. (sparc_output_function_prologue): Remove TARGET_FLAT handling. (sparc_nonflat_function_prologue): Rename into sparc_function_prologue. (sparc_output_function_epilogue): Remove TARGET_FLAT handling. (sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue. (struct sparc_frame_info, current_frame_info, zero_frame_info): Delete. (sparc_flat_must_save_register_p): Likewise. (sparc_flat_compute_frame_size): Likewise. (sparc_flat_save_restore): Likewise. (sparc_flat_function_prologue): Likewise. (sparc_flat_function_epilogue): Likewise. (sparc_flat_epilogue_delay_slots): Likewise. (sparc_flat_eligible_for_epilogue_delay): Likewise. (sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling. * config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete. (TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options. (SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling. (CONDITIONAL_REGISTER_USAGE): Likewise. (FRAME_POINTER_REQUIRED): Likewise. (INITIAL_ELIMINATION_OFFSET): Likewise. (BASE_RETURN_VALUE_REG): Likewise. (BASE_OUTGOING_VALUE_REG): Likewise. (BASE_PASSING_ARG_REG): Likewise. (BASE_INCOMING_ARG_REG): Likewise. (INCOMING_REGNO): Likewise. (OUTGOING_REGNO): Likewise. (LOCAL_REGNO): Likewise. (DELAY_SLOTS_FOR_EPILOGUE): Likewise. (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. (EPILOGUE_USES): Likewise. * config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7". ("flat" attribute): Delete. (do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute handling. (call followed by jump define_peephole's): Delete. (exception_receiver): Likewise. (builtin_setjmp_receiver): Likewise. * config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat. From-SVN: r77169
2004-02-02sparc.c (function_arg_slotno): Align TImode arguments on a 16-byte boundary ↵Eric Botcazou1-5/+10
in the parameter array if ARCH64. * config/sparc/sparc.c (function_arg_slotno): Align TImode arguments on a 16-byte boundary in the parameter array if ARCH64. Split handling of TFmode. From-SVN: r77107
2004-02-01arm.c, [...]: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".Kazu Hirata1-3/+3
* config/arm/arm.c, config/arm/arm.h, config/arm/arm.md, config/arm/linux-gas.h, config/arm/netbsd-elf.h, config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c, config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md, config/m68k/m68k.md, config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md, config/mips/mips.c, config/ns32k/ns32k.h, config/ns32k/ns32k.md, config/rs6000/rs6000.c, config/s390/s390.c, config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c, config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". From-SVN: r77080
2004-02-01sol2-bi.h: Handle TARGET_CPU_ultrasparc3.Eric Botcazou2-4/+20
* config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3. (CPP_CPU_SPEC): Handle -mcpu=ultrasparc3. (ASM_CPU_SPEC): Likewise * config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3. (ASM_CPU_SPEC): Remove -mcpu=v8plus. Handle -mcpu=ultrasparc3. From-SVN: r77074
2004-01-31alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c,Kazu Hirata1-1/+1
cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h, flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h, ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def, tree-optimize.c, vmsdbgout.c, config/fp-bit.c, config/alpha/alpha.c, config/alpha/alpha.h, config/alpha/alpha.md, config/alpha/unicosmk.h, config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c, config/c4x/c4x-protos.h, config/c4x/c4x.md, config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c, config/frv/frvend.c, config/i386/cygming.h, config/i386/djgpp.h, config/i386/emmintrin.h, config/i386/gthr-win32.c, config/i386/i386-interix.h, config/i386/i386-protos.h, config/i386/openbsd.h, config/i386/winnt.c, config/i386/xm-mingw32.h, config/i386/xmmintrin.h, config/ia64/ia64.md, config/iq2000/iq2000.md, config/m32r/m32r.md, config/m68k/m68k.md, config/mcore/mcore-elf.h, config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h, config/mips/iris5gas.h, config/mips/iris6.h, config/mips/iris6gas.h, config/mips/linux.h, config/mips/mips.md, config/mips/netbsd.h, config/mips/openbsd.h, config/mips/windiss.h, config/pa/fptr.c, config/rs6000/aix.h, config/rs6000/altivec.h, config/rs6000/darwin.h, config/rs6000/xcoff.h, config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h, config/s390/s390.md, config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h, config/sparc/sol2.h: Update copyright. From-SVN: r77018
2004-01-30alpha.c: Remove mentions of deprecates macros in comments...Kazu Hirata2-8/+4
* config/alpha/alpha.c: Remove mentions of deprecates macros in comments, remove some target-independent comments about target macros, and/or add minimal function comments for target hook implementations. * config/avr/avr.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ip2k/ip2k.c: Likewise. * config/iq2000/iq2000.c: Likewise. * config/m32r/m32r.h: Likewise. * config/m68hc11/m68hc11.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mmix/mmix.c: Likewise. * config/mn10300/mn10300.c: Likewise. * config/pa/pa.c: Likewise. * config/pdp11/pdp11.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.h: Likewise. * config/sparc/sparc.c: Likewise. * config/sparc/sparc.h: Likewise. * config/stormy16/stormy16.c: Likewise. * config/xtensa/xtensa.c: Likewise. From-SVN: r77005
2004-01-30sparc-protos.h: Remove the prototype for sparc_builtin_saveregs.Kazu Hirata3-67/+94
* config/sparc/sparc-protos.h: Remove the prototype for sparc_builtin_saveregs. * config/sparc/sparc.c (TARGET_PROMOTE_FUNCTION_ARGS): New. (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. (TARGET_PROMOTE_PROTOTYPES): Likewise. (TARGET_STRUCT_VALUE_RTX): Likewise. (TARGET_RETURN_IN_MEMORY): Likewise. (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. (TARGET_STRICT_ARGUMENT_NAMING): Likewise. (sparc_builtin_saveregs): Make it static. (sparc_promote_prototypes): New. (sparc_struct_value_rtx): Likewise. (sparc_return_in_memory): Likewise. * config/sparc/sparc.h: (PROMOTE_FUNCTION_ARGS): Remove. (PROMOTE_FUNCTION_RETURN): Likewise. (RETURN_IN_MEMORY): Likewise. (STRUCT_VALUE): Likewise. (STRUCT_VALUE_INCOMING): Likewise. (EXPAND_BUILTIN_SAVEREGS): Likewise. (STRICT_ARGUMENT_NAMING): Likewise. (PROMOTE_PROTOTYPES): Likewise. * config/sparc/sparc.h (PROMOTE_MODE): Use word_mode. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r76961
2004-01-30re PR target/11475 (reload ICE with bitfields)Eric Botcazou1-4/+4
PR target/11475 * config/sparc/sparc.md (movhi_lo_sum): Tighten predicates. From-SVN: r76928
2004-01-27sparc.c (function_arg_pass_by_reference): Return 1 for SCmode and DCmode if ↵Eric Botcazou2-5/+9
ARCH32. * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1 for SCmode and DCmode if ARCH32. (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32. * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode if ARCH32. (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode if ARCH32. (BASE_OUTGOING_VALUE_REG): Likewise. From-SVN: r76708
2004-01-27re PR target/10904 (invalid (misaligned) FP register at -O2)Eric Botcazou1-0/+14
PR target/10904 PR target/13058 * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New. Forbid mode changes from SImode for lower FP regs if ARCH64. From-SVN: r76702
2004-01-26re PR target/13666 (deviation from the psABI for small unions)Eric Botcazou1-16/+50
PR target/13666 * config/sparc/sparc.c (function_arg_union_value): New function. (function_arg): Use it to deal with unions. (function_value): Likewise. Define 'regbase' only for ARCH64. Replace a conditional statement by a simpler one. From-SVN: r76628
2004-01-23sparc.c (scan_record_type): New function.Eric Botcazou1-20/+40
* config/sparc/sparc.c (scan_record_type): New function. (function_arg_slotno): Use it to determine which kinds of registers the record can be passed in. From-SVN: r76400
2004-01-22sparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in ↵Eric Botcazou1-16/+9
structures. * config/sparc/sparc.c (function_arg_slotno): Use FLOAT_TYPE_P to detect FP fields in structures. (function_arg_record_value_1): Likewise. (function_arg_record_value_2): Likewise. From-SVN: r76346
2004-01-22re PR target/13559 (deviation from the psABI for small structures)Eric Botcazou1-1/+3
PR target/13559 * config/sparc/sparc.c (function_arg_record_value_3): Revert to 'word_mode' once the first slot has been filled. From-SVN: r76342
2004-01-22sparc.c (function_arg_record_value_1): Fix computation of the number of ↵Eric Botcazou1-2/+5
integer registers required. * config/sparc/sparc.c (function_arg_record_value_1): Fix computation of the number of integer registers required. From-SVN: r76339
2004-01-20re PR target/13557 (deviation from the psABI for small structures)Eric Botcazou1-23/+23
PR target/13557 * config/sparc/sparc.c (function_arg): Reorder the cases. From-SVN: r76202
2004-01-19sol2.h (ASM_DECLARE_OBJECT_NAME): New.Eric Botcazou2-0/+29
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit "tls_object" for thread-local objects. * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit "#tls" for thread-local sections. * configure.ac (thread-local checks): Specify --fatal-warnings in every binutils-specific checks. For sparc*-*-*, test whether the OS is Solaris and the tools are native and act accordingly. * configure: Rebuild. From-SVN: r76156
2004-01-18final.c (final_scan_insn): Make non-static again.Daniel Jacobowitz1-7/+7
* final.c (final_scan_insn): Make non-static again. * output.h (final_scan_insn): Re-add prototype. * config/arc/arc.c (arc_output_function_epilogue): Add NULL to final_scan_insn call. * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise. * config/mips/mips.c (mips_output_conditional_branch): Likewise. * config/pa/pa.c (output_lbranch, output_call): Likewise. * config/sh/sh.c (print_slot): Likewise. * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise. (output_sibcall, sparc_flat_function_epilogue): Likewise. From-SVN: r76117
2004-01-14ChangeLogEric Botcazou1-2/+2
From-SVN: r75855
2003-12-24Makefile.in (OBJS-common): Remove dwarfout.o.Mark Mitchell4-10/+3
* Makefile.in (OBJS-common): Remove dwarfout.o. (dwarfout.o): Remove. * common.opt: Remove -gdwarf, -gdwarf+. * defaults.h (PREFERRED_DEBUGGING_TYPE): Do not check for DWARF_DEBUGGING_INFO. * dwarf2out.c: Fix typo in comment. * dwarfout.c: Remove. * opts.c (common_handle_option): Remove OPT_gdwarf, OPT_gdwarf_. * toplev.c (process_options): Remove check for DWARF_DEBUGGING_INFO. * config/elfos.h (DWARF_DEBUGGING_INFO): Do not #define it or #undef it. * config/netware.h (DWARF_DEBUGGING_INFO): Likewise. * config/ptx4.h (DWARF_DEBUGGING_INFO): Likewise. * config/vxworks.h (DWARF_DEBUGGING_INFO): Likewise. * config/alpha/unicosmk.h (DWARF_DEBUGGING_INFO): Likewise. * config/arc/arc.h (DWARF_DEBUGGING_INFO): Likewise. * config/i386/sco5.h (DWARF_DEBUGGING_INFO): Likewise. * config/i386/x86-64.h (DWARF_DEBUGGING_INFO): Likewise. * config/m32r/m32r.h (DWARF_DEBUGGING_INFO): Likewise. * config/mcore/mcore-elf.h (DWARF_DEBUGGING_INFO): Likewise. * config/sparc/linux64.h (DWARF_DEBUGGING_INFO): Likewise. * config/sparc/liteelf.h (DWARF_DEBUGGING_INFO): Likewise. * config/sparc/sol26-sld.h (DWARF_DEBUGGING_INFO): Likewise. * config/sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO): Likewise. * doc/invoke.texi: Do not mention -gdwarf, -gdwarf-1, -gdwarf-1+, or -gdwarf+. * doc/tm.texi: Likewise. From-SVN: r74996
2003-12-20re PR other/7956 (unreadable error on -m64 with --disable-multilib)Eric Botcazou2-0/+32
PR other/7956 * genmultilib: New variable disable_multilib. Set it to 'yes' if enable_multilib was set to 'no'. Emit DISABLE_MULTILIB if disable_multilib was set to 'yes'. * gcc.c: Include multilib.h before tm.h. * config/sparc/sol2-bi.h (LINK_ARCH_SPEC): Emit an error message for multiarch options if DISABLE_MULTILIB is set. * config/sparc/sol2-gld-bi.h (LINK_ARCH_SPEC): Likewise. From-SVN: r74875
2003-12-18sol2.h (LINK_ARCH32_SPEC): Define in terms of ...Mark Mitchell2-1/+12
* config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ... (LINK_ARCH32_SPEC_BASE): ... this new macro. * config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of ... (LINK_ARCH64_SPEC_BASE): ... this new macro. * config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro. (LINK_ARCH64_SPEC): Likewise. From-SVN: r74793
2003-12-17sol2.h: Set SUPPORTS_INIT_PRIORITY to 0.Eric Botcazou2-0/+7
* config/sparc/sol2.h: Set SUPPORTS_INIT_PRIORITY to 0. * config/sparc/sol2-gld.h: Set SUPPORTS_INIT_PRIORITY to 1. From-SVN: r74740
2003-12-13vxlib.c: Fix comment typos.Kazu Hirata1-1/+1
* config/vxlib.c: Fix comment typos. * config/alpha/alpha.c: Likewise. * config/arm/arm.c: Likewise. * config/arm/arm.md: Likewise. * config/c4x/c4x.c: Likewise. * config/c4x/c4x.md: Likewise. * config/cris/cris.h: Likewise. * config/cris/cris.md: Likewise. * config/fr30/fr30.c: Likewise. * config/fr30/fr30.h: Likewise. * config/fr30/fr30.md: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.md: Likewise. * config/frv/frvbegin.c: Likewise. * config/i386/athlon.md: Likewise. * config/i386/i386.c: Likewise. * config/i386/i386.md: Likewise. * config/i386/sco5.h: Likewise. * config/ia64/ia64.md: Likewise. * config/ip2k/ip2k.c: Likewise. * config/ip2k/ip2k.md: Likewise. * config/m68hc11/m68hc11.h: Likewise. * config/m68k/m68k.h: Likewise. * config/mips/mips.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/s390/s390.md: Likewise. * config/sh/sh.h: Likewise. * config/sparc/sparc.md: Likewise. * config/v850/v850.c: Likewise. * config/v850/v850.h: Likewise. * config/v850/v850.md: Likewise. * config/xtensa/xtensa.c: Likewise. From-SVN: r74596