1. 08 Jun, 2005 1 commit
    • ebotcazou's avatar
      PR target/21889 · 40af64cc
      ebotcazou authored
      	* target.h (gcc_target) <asm_out>: New field output_dwarf_dtprel.
      	* target-def.h (TARGET_ASM_OUTPUT_DWARF_DTPREL): New macro.
      	(TARGET_ASM_OUT): Add it.
      	* doc/tm.texi (Debugging Info): Document it.
      	* dwarf2out.c (output_loc_operands) <INTERNAL_DW_OP_tls_addr>:
      	Test it instead of ASM_OUTPUT_DWARF_DTPREL.
      	(loc_descriptor_from_tree_1) <VAR_DECL>: Likewise.
      	* system.h: Poison ASM_OUTPUT_DWARF_DTPREL.
      	* config/frv/frv-protos.h (frv_output_dwarf_dtprel): Delete.
      	* config/frv/frv.c (frv_output_dwarf_dtprel): Make static and unused.
      	(gen_inlined_tls_plt): Remove unused variable MEM.
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to frv_output_dwarf_dtprel.
      	* config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
      	* config/i386/i386-protos.h (i386_output_dwarf_dtprel): Delete.
      	* config/i386/i386.c (i386_output_dwarf_dtprel): Make static and
      	unused.
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to i386_output_dwarf_dtprel.
      	* config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
      	* config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): Delete.
      	* config/ia64/ia64.c (ia64_output_dwarf_dtprel): Make static and
      	unused.
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to ia64_output_dwarf_dtprel.
      	* config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
      	* config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Delete.
      	* config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): Make static and
      	unused.
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to rs6000_output_dwarf_dtprel
      	* config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
      	* config/s390/s390-protos.h (s390_output_dwarf_dtprel): Delete.
      	* config/s390/s390.c (s390_output_dwarf_dtprel): Make static and
      	unused.
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to s390_output_dwarf_dtprel.
      	* config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
      	* config/sparc/sol2-gas.h (TARGET_SUN_TLS): Define to 0.
      	(TARGET_GNU_TLS): Define to 1.
      	* config/sparc/sparc-protos.h (sparc_output_dwarf_dtprel): Delete.
      	* config/sparc/sparc.c (sparc_output_dwarf_dtprel): Make static and
      	unused.
      	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Define to sparc_output_dwarf_dtprel
      	if TARGET_GNU_TLS only.
      	* config/sparc/sparc.h (ASM_OUTPUT_DWARF_DTPREL): Delete.
      
      	* config.gcc (sparc64-*-solaris2*): Include tm-dwarf2.h last.
      	(sparc-*-solaris2*): Likewise on Solaris 7 and up.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100742 138bc75d-0d04-0410-961f-82ee72b054a4
      40af64cc
  2. 07 Jun, 2005 1 commit
    • uweigand's avatar
      2005-06-07 Adrian Straetling <straetling@de.ibm.com> · 891e3096
      uweigand authored
      gcc/ChangeLog:
      	* config/s390/s390.md: ("UNSPECV_MB", "UNSPECV_CAS"): New constants.
      	("type"): Add "sem" to 'type' attribute.
      	("memory_barrier", "*memory_barrier", "sync_compare_and_swapdi",
      	"sync_compare_and_swapsi", "sync_compare_and_swap_ccdi",
      	"sync_compare_and_swap_ccsi", "*sync_compare_and_swap_ccdi",
      	"*sync_compare_and_swap_ccsi"): New patterns.
      	* config/s390/2064.md: ("z_sem"): New insn_reservation.
      	* config/s390/2084.md: ("x_sem"): New insn_reservation.
      	* config/s390/s390.c: (s390_compare_emitted): New global variable.
      	(s390_emit_compare): Do not emit comparison again after cas.
      	* config/s390/s390.h (s390_compare_emitted): Declare.
      
      libstdc++/ChangeLog:
      	* config/cpu/s390/atomicity.h: (__exchange_and_add,
      	__atomic_add): Use the builtins for atomic memory operations.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100711 138bc75d-0d04-0410-961f-82ee72b054a4
      891e3096
  3. 02 Jun, 2005 1 commit
  4. 26 May, 2005 1 commit
    • rsandifo's avatar
      * opt-functions.awk (var_type): New function. · 0fe44c73
      rsandifo authored
      	(var_set): Use CLVC_STRING if var_type returns "const char *".
      	* opth-gen.awk: Use var_type to find out the types of variables.
      	Don't print comments above each "extern" definition.
      	* optc-gen.awk: Use var_type in the same way.
      	* opts.h (cl_var_cond): Rename to...
      	(cl_var_type): ...this.  Add CLVC_STRING.
      	(cl_option): Make "flag_var" a "void *" pointer.  Replace "var_cond"
      	with "var_type".
      	* opts.c (handle_option, option_enabled): Update after above name
      	change.  Cast flag_var before using it.  Handle CLVC_STRING.
      
      	* config/alpha/alpha.h (alpha_tls_size): Delete.
      	* config/alpha/alpha.c (alpha_tls_size, alpha_cpu_string)
      	(alpha_tune_string, alpha_tp_string, alpha_fprm_string)
      	(alpha_fptm_string, alpha_mlat_string): Delete.
      	(alpha_handle_option): Don't set the above variables here.  Use the
      	integer argument to check the validity of -mtls-size=.
      	* config/alpha/alpha.opt (mcpu=, mtune=, mfp-rounding-mode=)
      	(mfp-trap-mode=, mtrap-precision=, mmemor...
      0fe44c73
  5. 25 May, 2005 2 commits
    • uweigand's avatar
      ChangeLog: · 6902d973
      uweigand authored
      	* config/s390/s390.c (GP_ARG_NUM_REG, FP_ARG_NUM_REG): New defines.
      	(s390_function_arg, s390_gimplify_va_arg): Use them.
      	(s390_register_info): Save only required subset of argument
      	registers into save area for va_list.
      	(s390_va_start): Initialize only required elements of va_list struct.
      	(s390_build_builtin_va_list): Set va_list_[gf]pr_counter_field.
      
      testsuite/ChangeLog:
      
      	* gcc.dg/tree-ssa/stdarg-2.c: Add tests for s390*-*-linux* targets.
      	* gcc.dg/tree-ssa/stdarg-3.c: Likewise.
      	* gcc.dg/tree-ssa/stdarg-4.c: Likewise.
      	* gcc.dg/tree-ssa/stdarg-5.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100164 138bc75d-0d04-0410-961f-82ee72b054a4
      6902d973
    • uweigand's avatar
      2005-05-25 Adrian Straetling <straetling@de.ibm.com> · e75dabf7
      uweigand authored
      	* config/s390/s390.c (TARGET_INSN_VALID_WITHIN_DOLOOP): Set to
      	hook_bool_rtx_true.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100146 138bc75d-0d04-0410-961f-82ee72b054a4
      e75dabf7
  6. 23 May, 2005 1 commit
  7. 10 May, 2005 1 commit
    • uweigand's avatar
      2005-05-10 Adrian Straetling <straetling@de.ibm.com> · e863b008
      uweigand authored
      	* config/s390/s390.c: (s390_const_double_ok_for_constraint_p): New
      	function.
      	(legitimate_reload_constant_p): Add check for const double zero.
      	* config/s390/s390.md: Add comment for constraint letter 'G'.
      	("*movdf_64", "*movdf_31", "movsf"): Add constraint and proper
      	attributes for new case.
      	* config/s390/s390.h: (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Define it as
      	s390_const_double_ok_for_constraint_p.
      	* config/s390/s390-protos.h (s390_const_double_ok_for_constraint_p):
      	Add prototype.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99541 138bc75d-0d04-0410-961f-82ee72b054a4
      e863b008
  8. 09 May, 2005 5 commits
    • uweigand's avatar
      2005-05-09 Adrian Straetling <straetling@de.ibm.com> · 32eda510
      uweigand authored
      	* config/s390/s390.c: (s390_branch_condition_mask,
      	s390_branch_condition_mnemonic, s390_extra_constraint_str,
      	s390_const_ok_for_constraint_p, s390_expand_plus_operand,
      	legitimize_pic_address, s390_emit_tls_call_insn,
      	legitimize_tls_address, legitimize_tls_address,
      	s390_expand_addcc, print_shift_count_operand, print_operand,
      	addr_generation_dependency_p, annotate_constant_pool_refs,
      	s390_split_branches, find_constant_pool_ref,
      	replace_constant_pool_ref, s390_add_constant, s390_find_constant,
      	s390_find_execute, s390_mainpool_start, s390_chunkify_start,
      	s390_output_pool_entry, s390_function_value,
      	s390_call_saved_register_used, s390_emit_call): Replace
      	conditional aborts by gcc_assert and unconditional by gcc_unreachable.
      	(s390_select_ccmode, s390_match_ccmode_set, s390_extract_part,
      	s390_cannot_force_const_mem, s390_output_dwarf_dtprel,
      	get_some_local_dynamic_name, s390_function_arg_size,
      	s390_function_arg_advance, s390_function_arg,
      	s390_expand_builtin, s390_gen_rtx_const_DI): Replace abort in
      	default case by gcc_unreachable.
      	* config/s390/s390.md: ("*cjump_31", "*icjump_31", "*jump31"): Replace
      	conditional abort by gcc_assert.
      	("doloop_si31"): Replace abort in last else by gcc_unreachable.
      	("main_pool", "pool"): Replace unconditional abort by gcc_unreachable.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99466 138bc75d-0d04-0410-961f-82ee72b054a4
      32eda510
    • uweigand's avatar
      2005-05-09 Adrian Straetling <straetling@de.ibm.com> · edd89d66
      uweigand authored
      	* config/s390/s390.c: (s390_decompose_address,
      	tls_symbolic_operand, legitimate_pic_operand_p,
      	legitimate_constant_p, legitimate_reload_constant_p,
      	s390_expand_plus_operand, legitimate_address_p,
      	legitimate_la_operand_p, ): Remove 'register' from signature.
      	(symbolic_reference_mentioned_p,
      	tls_symbolic_reference_mentioned_p): Remove 'register' from local
      	variable declarations.
      	(legitimize_address): Remove 'register' from
      	signature and local variable declarations.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99464 138bc75d-0d04-0410-961f-82ee72b054a4
      edd89d66
    • uweigand's avatar
      2005-05-09 Adrian Straetling <straetling@de.ibm.com> · e5537457
      uweigand authored
      	* config/s390/s390-protos.h: (s390_match_ccmode,
      	s390_match_ccmode_set, reg_used_in_mem_p,
      	symbolic_reference_mentioned_p, tls_symbolic_reference_mentioned_p,
      	legitimate_la_operand_p, preferred_la_operand_p,
      	s390_short_displacement, addr_generation_dependency_p,
      	legitimate_reload_constant_p, legitimate_address_p): Change return type
      	into 'bool'.
      	(s390_tm_ccmode): Change type of parameter "mixed" into 'bool'.
      	* config/s390/s390.c: (s390_match_ccmode,
      	symbolic_reference_mentioned_p, tls_symbolic_reference_mentioned_p,
      	legitimate_reload_constant_p): Change return type into 'bool'.
      	(preferred_la_operand_p,legitimate_la_operand_p, legitimate_address_p):
      	Likewise.  Additionally adapted comment.
      	(s390_extra_constraint_p): Change Comment to reflect 'int' return type.
      	(s390_tm_ccmode): Change type of parameter "mixed" into 'bool'.
      	(s390_decompose_address): Change the type of the internal flags
      	"pointer", "base_ptr", "indx_ptr", and the return value into 'bool'.
      	(struct s390_address): Change type of "pointer" into bool.
      	* config/s390/s390.md: ("*tmdi_reg", "*tmsi_reg", "tm<mode>_full"):
      	Adapt calls for 's390_tm_ccmode' to the new signature.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99463 138bc75d-0d04-0410-961f-82ee72b054a4
      e5537457
    • uweigand's avatar
      2005-05-09 Adrian Straetling <straetling@de.ibm.com> · 875862bf
      uweigand authored
      	* config/s390/s390.c: (s390_match_ccmode_set,
      	s390_branch_condition_mnemonic, s390_short_displacement,
      	s390_decompose_address, get_thread_pointer, legitimize_tls_address,
      	print_shift_count_operand, get_some_local_dynamic_name,
      	get_some_local_dynamic_name_1, reg_used_in_mem_p,
      	addr_generation_dependency_p, s390_split_branches,
      	annotate_constant_pool_refs, find_constant_pool_ref,
      	replace_constant_pool_ref, find_ltrel_base, replace_ltrel_base,
      	s390_optimize_prologue, find_unused_clobbered_reg, s390_frame_area,
      	s390_register_info, s390_frame_info, s390_init_frame_layout,
      	s390_update_frame_layout, save_fpr, restore_fpr, save_gprs,
      	restore_gprs, s390_function_arg_size, s390_function_arg_float,
      	s390_init_machine_status, s390_assemble_integer, s390_handle_option,
      	s390_encode_section_info, s390_cannot_force_const_mem,
      	s390_delegitimize_address, s390_return_in_memory, s390_init_builtins,
      	s390_expand_builtin, s390_output_mi_thunk, s390_safe_attr_type,
      	s390_adjust_priority, s390_issue_rate,
      	s390_first_cycle_multipass_dfa_lookahead, s390_cannot_copy_insn_p,
      	s390_rtx_costs, s390_address_cost, s390_reorg, s390_valid_pointer_mode,
      	s390_build_builtin_va_list, s390_gimplify_va_arg,
      	s390_function_ok_for_sibcall, s390_call_saved_register_used,
      	s390_pass_by_reference, s390_fixed_condition_code_regs,
      	s390_cc_modes_compatible s390_mainpool_start,, s390_mainpool_finish,
      	s390_mainpool_cancel, s390_chunkify_start, s390_chunkify_finish,
      	s390_chunkify_cancel, s390_start_pool, s390_end_pool,
      	s390_add_pool_insn, s390_find_pool, s390_add_constant,
      	s390_find_constant, s390_add_execute, s390_find_execute,
      	s390_execute_label, s390_execute_target, s390_dump_pool,
      	s390_dump_execute, s390_alloc_pool, s390_free_pool): Remove prototypes.
      	Move target macro definitions to the end of the file.  Move several
      	functions within the file to assure correct compiling.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99462 138bc75d-0d04-0410-961f-82ee72b054a4
      875862bf
    • uweigand's avatar
      2005-05-09 Adrian Straetling <straetling@de.ibm.com> · 11f88fec
      uweigand authored
      	* config/s390/s390.c: (s390_adjust_priority): Adapt to changed
      	attribute names.
      	* config/s390/2084.md: ("x_fsimpd", "x_fsimps", "x_fdivd", "x_fdivs",
      	"x_floadd", "x_floads", "x_fstored", "x_fstores"): Rename to
      	("x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf",
      	"x_floadsf", "x_fstoredf", "x_fstoresf") and replace 'type'
      	attribute names.
      	* config/s390/s390.md: ("type"): Rename "fsimpd, fsimps, floadd, floads,
      	fstored, fstores, fmuld, fmuls, fdivd, fdivs, fsqrtd, fsqrts" to
      	"fsimpdf, fsimpsf, floaddf, floadsf, fstoredf, fstoresf, fmuldf,
      	fmulsf, fdivdf, fdivsf, fsqrtdf, fsqrtsf".
      	("*cmpdf_ccs_0", "*cmpdf_css_0_ibm", "*cmpdf_ccs",
      	"*cmpdf_ccs_ibm", "*cmpsf_ccs_0", "*cmpsf_css_0_ibm",
      	"*cmpsf_ccs", "*cmpsf_ccs_ibm", "*movdi_64", "*movdi_31",
      	"*movsi_zarch", "*movsi_esa", "*movdf_64", "*movdf_31", "movsf",
      	"*muldf3", "*muldf3_ibm", "*fmadddf", "*fmsubdf", "*mulsf3",
      	"mulsf3_ibm", "*fmaddsf", "fmsubsf", "*divdf3", "*divdf3_ibm",
      	"*negdf2_cc", "*negdf2_cconly", "*negdf2", "*negdf2_ibm",
      	"*negsf2_cc", "*negsf2_cconly", "*negsf2", "*absdf2_cc",
      	"*absdf2_cconly", "*absdf2", "*absdf2_ibm", "*abssf2_cc",
      	"*abssf2_cconly", "*abssf2", "*abssf2_ibm", "*negabsdf2_cc",
      	"*negabsdf2_cconly", "*negabsdf2", "*negabssf2_cc",
      	"*negabssf2_cconly", "*negabssf2", "sqrtdf2", "sqrtsf2"): Rename
      	'type' value.
      	("*divsf3"): Additionally rename second pattern to
      	"*divsf3_ibm".
      	("truncdfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm",
      	"*adddf3", "*adddf3_cc", "*adddf3_cconly", "*adddf3_ibm",
      	"*addsf3", "*addsf3_cc", "*addsf3_cconly", "*subdf3",
      	"subdf3_cc", "*subdf3_cconly", "*subdf3_ibm", "*subsf3",
      	"subsf3_cc", "*subsf3_cconly", "*subsf3_ibm"): Merge identical
      	'type values' and rename 'type' value.
      	("*addsf3"): Additionally rename second pattern to
      	"*addsf3_ibm".
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99456 138bc75d-0d04-0410-961f-82ee72b054a4
      11f88fec
  9. 23 Apr, 2005 1 commit
    • dj's avatar
      * diagnostic.c (warning): Accept parameter to classify warning option. · c3ceba8e
      dj authored
      (warning0): New, for when a pointer to an error() like function is needed.
      * errors.c (warning): Likewise.
      * errors.h (warning, warning0): Adjust prototypes.
      * toplev.h (warning, warning0): Likewise.
      
      * attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c,
      c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c,
      c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c,
      fold-const.c, fortran/trans-decl.c, function.c, gcse.c,
      genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c,
      reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
      tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c,
      tree-ssa.c, tree.c, varasm.c: Adjust warning() callers.
      
      * config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
      config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c,
      config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c,
      config/darwin.c, config/darwin.h, config/h8300/h8300.c,
      config/i386/cygming.h, config/i386/djgpp.h, config/i386/i386.c,
      config/i386/winnt.c, config/ia64/ia64-c.c, config/ia64/ia64.c,
      config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
      config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c,
      config/mmix/mmix.c, config/ns32k/ns32k.c, config/pa/pa-hpux11.h,
      config/pa/pa.c, config/rs6000/aix43.h, config/rs6000/aix51.h,
      config/rs6000/aix52.h, config/rs6000/darwin.h,
      config/rs6000/rs6000-c.c, config/rs6000/rs6000.c,
      config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
      config/sh/symbian.c, config/sol2-c.c, config/sol2.c,
      config/stormy16/stormy16.c, config/v850/v850-c.c,
      config/v850/v850.c, config/xtensa/xtensa.c: Adjust warning()
      callers.
      
      * ada/misc.c: Adjust warning() callers.
      
      * cp/call.c, cp/class.c, cp/cvt.c, cp/decl.c, cp/decl2.c,
      cp/except.c, cp/friend.c, cp/init.c, cp/lex.c, cp/mangle.c,
      cp/method.c, cp/name-lookup.c, cp/parser.c, cp/repo.c, cp/rtti.c,
      cp/tree.c, cp/typeck.c, cp/typeck2.c: Adjust warning() callers.
      
      * fortran/trans-decl.c: Adjust warning() callers.
      
      * java/class.c, java/decl.c, java/expr.c, java/jcf-io.c,
      java/jcf-parse.c, java/jv-scan.c, java/parse.y: Adjust warning()
      callers.
      
      * objc/objc-act.c: Adjust warning() callers.
      
      * treelang/parse.y: Adjust warning() callers.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98633 138bc75d-0d04-0410-961f-82ee72b054a4
      c3ceba8e
  10. 11 Apr, 2005 1 commit
    • rsandifo's avatar
      * config/s390/s390.h (s390_tune_string, s390_arch_string) · 28ee8079
      rsandifo authored
      	(s390_warn_framesize_string, s390_warn_dynamicstack_string)
      	(s390_stack_size_string, s390_stack_guard_string, target_flags)
      	(MASK_HARD_FLOAT, MASK_SMALL_EXEC, MASK_DEBUG_ARG, MASK_64BIT)
      	(MASK_ZARCH, MASK_MVCLE, MASK_TPF_PROFILING, MASK_NO_FUSED_MADD)
      	(MASK_BACKCHAIN, MASK_PACKED_STACK, TARGET_HARD_FLOAT)
      	(TARGET_SOFT_FLOAT, TARGET_SMALL_EXEC, TARGET_DEBUG_ARG)
      	(TARGET_64BIT, TARGET_ZARCH, TARGET_MVCLE, TARGET_TPF_PROFILING)
      	(TARGET_NO_FUSED_MADD, TARGET_FUSED_MADD, TARGET_BACKCHAIN)
      	(TARGET_PACKED_STACK, TARGET_SWITCHES, TARGET_OPTIONS): Delete.
      	* config/s390/s390.c (TARGET_DEFAULT_TARGET_FLAGS): Override default.
      	(TARGET_HANDLE_OPTION): Likewise.
      	(s390_tune): Initialize to PROCESSOR_max.
      	(s390_arch_string): Make static.
      	(s390_tune_string, s390_warn_framesize_string): Delete.
      	(s390_warn_dynamicstack_string, s390_stack_size_string): Delete.
      	(s390_stack_guard_string, s390_warn_dynamicstack_p): Delete.
      	(s390_handle_arch_option, s390_handle_option): New functions.
      	(override_options): Remove parsing of option strings.
      	* config/s390/s390.opt: New file.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97968 138bc75d-0d04-0410-961f-82ee72b054a4
      28ee8079
  11. 04 Apr, 2005 1 commit
    • uweigand's avatar
      2005-04-04 Adrian Strae�tling <straetling@de.ibm.com> · 8cc5de33
      uweigand authored
      	* config/s390/s390-protos.h: (s390_comparison,
      	s390_alc_comparison, s390_slb_comparison, const0_operand,
      	consttable_operand, larl_operand, s_operand,
      	shift_count_operand, bras_sym_operand, load_multiple_operation,
      	store_multiple_operation, s390_plus_operand): Remove prototypes.
      	(s390_legitimate_address_without_index_p): New prototype.
      	* config/s390/s390.c: (SYMBOL_FLAG_ALIGN1, DISP_IN_RANGE): Move
      	to s390.h.
      	(s390_comparison, s390_alc_comparison, s390_slb_comparison,
      	const0_operand, consttable_operand, larl_operand, s_operand,
      	shift_count_operand, bras_sym_operand, load_multiple_operation,
      	store_multiple_operation, s390_plus_operand): Move to
      	predicates.md.
      	(check_mode): Remove.
      	(s390_branch_condition_mask): Remove 'static'. Move prototype to
      	s390-protos.h.
      	(s390_legitimate_address_without_index_p): New.
      	* config/s390/s390.h (PREDICATE_CODES): Remove.
      	* config/s390/s390.md: Include predicates.md.
      	* config/s390/predicates.md: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97554 138bc75d-0d04-0410-961f-82ee72b054a4
      8cc5de33
  12. 01 Apr, 2005 1 commit
    • kazu's avatar
      * cgraphunit.c, dbxout.c, flow.c, gcse.c, gimplify.c, · 06b27565
      kazu authored
      	lambda-code.c, loop.c, machmode.def, mips-tfile.c,
      	modulo-sched.c, passes.c, postreload-gcse.c, tree-eh.c,
      	tree-ssa-ccp.c, varasm.c, config/frv/frv.c, config/frv/frv.h,
      	config/frv/frv.md, config/i386/i386.c, config/i386/i386.h,
      	config/i386/i386.md, config/rs6000/predicates.md,
      	config/rs6000/rs6000.c, config/s390/fixdfdi.h,
      	config/s390/s390.c, config/stormy16/stormy16.c,
      	config/stormy16/stormy16.md, config/vax/vax.md: Fix comment
      	typos.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97362 138bc75d-0d04-0410-961f-82ee72b054a4
      06b27565
  13. 15 Mar, 2005 1 commit
  14. 09 Mar, 2005 1 commit
    • uweigand's avatar
      · be6f2308
      uweigand authored
      	* config/s390/s390.c (s390_secondary_output_reload_class): Adapt check
      	for non-offsettable memory references to cope with outstanding reload
      	replacements.
      	* config/s390/s390.md ("reload_outti"): Call find_replacement to
      	avoid losing outstanding address reloads.
      	("reload_outdi", "reload_outdf"): Likewise.
      
      testsuite/ChangeLog:
      
      	* gcc.dg/20050309-1.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96214 138bc75d-0d04-0410-961f-82ee72b054a4
      be6f2308
  15. 17 Feb, 2005 1 commit
  16. 23 Jan, 2005 1 commit
    • kazu's avatar
      * alias.c, c-common.h, c-incpath.c, c-incpath.h, expr.c, · 0975351b
      kazu authored
      	fold-const.c, gimplify.c, params.h, tree-data-ref.c,
      	tree-if-conv.c, tree-nested.c, tree-outof-ssa.c,
      	tree-ssa-dom.c, tree-vectorizer.c, tree.def, config/darwin.c,
      	config/freebsd-spec.h, config/arm/arm.h,
      	config/h8300/h8300.md, config/i386/i386.md,
      	config/i386/predicates.md, config/i386/sse.md,
      	config/ia64/ia64.c, config/ip2k/ip2k.c, config/s390/s390.c,
      	config/vax/vax.md: Fix comment typos.  Follow spelling
      	conventions.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94112 138bc75d-0d04-0410-961f-82ee72b054a4
      0975351b
  17. 22 Jan, 2005 1 commit
  18. 15 Jan, 2005 1 commit
  19. 11 Jan, 2005 2 commits
  20. 10 Jan, 2005 1 commit
  21. 17 Dec, 2004 1 commit
  22. 16 Dec, 2004 1 commit
  23. 10 Dec, 2004 1 commit
  24. 30 Nov, 2004 2 commits
  25. 25 Nov, 2004 2 commits
  26. 23 Nov, 2004 1 commit
    • uweigand's avatar
      2004-11-23 Andreas Krebbel <krebbel1@de.ibm.com> · 646a946e
      uweigand authored
      	* config/s390/s390.c (s390_backchain_string): Removed.
      	(s390_return_addr_rtx, s390_back_chain_rtx, s390_frame_info)
      	(s390_emit_prologue, s390_va_start, s390_gimplify_va_arg):
      	Changed users of TARGET_BACKCHAIN, TARGET_NO_BACKCHAIN and
      	TARGET_KERNEL_BACKCHAIN to reflect the new options.
      	* config/s390/s390.h (MASK_BACKCHAIN, MASK_PACKED_STACK): New macros.
      	(TARGET_KERNEL_BACKCHAIN): Removed.
      	(TARGET_BACKCHAIN): Former triple state option change to a target flag.
      	(TARGET_PACKED_STACK): New macro.
      	(TARGET_SWITCHES): New switches added.
      	(TARGET_OPTIONS): "backchain", "no-backchain" and "kernel-backchain"
      	removed.
      	(DYNAMIC_CHAIN_ADDRESS): Use TARGET_PACKED_STACK.
      	* config/s390/s390.md ("allocate_stack", "restore_stack_block")
      	("save_stack_nonlocal", "restore_stack_nonlocal"): Modified to reflect
      	the change in target switch semantics.
      	* config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Removed.
      	(TARGET_DEFAULT): MASK_BACKCHAIN added.
      	* doc/invoke.texi: Added documentation for the new/changed options.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91096 138bc75d-0d04-0410-961f-82ee72b054a4
      646a946e
  27. 16 Nov, 2004 1 commit
  28. 09 Nov, 2004 4 commits
    • uweigand's avatar
      ChangeLog: · 6b1c8423
      uweigand authored
      	* config/s390/s390-protos.h (s390_pool_operand): Remove.
      	* config/s390/s390.c (s390_pool_operand): Likewise.
      	(s390_extra_constraint_str): Handle 'B' constraints.
      	* config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints.
      	* config/s390/s390.md: Document 'B' constraints.
      	("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of
      	s390_pool_operand to prevent insns with two literal pool
      	references.  Make pattern commutative.
      	("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use
      	'B' constraint instead of s390_pool_operand.
      
      testsuite/ChangeLog:
      
      	* gcc.dg/20041109-1.c: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90364 138bc75d-0d04-0410-961f-82ee72b054a4
      6b1c8423
    • uweigand's avatar
      * config/s390/s390.c (s390_select_ccmode): Return CCAPmode for · 9be33ca2
      uweigand authored
      	integer NEG and ABS.
      	* config/s390/s390.md ("*negdi2_64"): Fix op_type attribute.
      	("*negdi2_31"): Reimplement using a splitter.
      	("*negdi2_cc", "*negdi2_cconly"): New insns.
      	("*negdi2_sign", "*negdi2_sign_cc"): Likewise.
      	("*negsi2_cc", "*negsi2_cconly"): Likewise.
      	("*negdf2_cc", "*negdf2_cconly"): Likewise.
      	("*negsf2_cc", "*negsf2_cconly"): Likewise.
      	("*absdi2_cc", "*absdi2_cconly"): New insns.
      	("*absdi2_sign", "*absdi2_sign_cc"): Likewise.
      	("*abssi2_cc", "*abssi2_cconly"): Likewise.
      	("*absdf2_cc", "*absdf2_cconly"): Likewise.
      	("*abssf2_cc", "*abssf2_cconly"): Likewise.
      	("*negabsdi2_cc", "*negabsdi2_cconly"): New insns.
      	("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise.
      	("*negabssi2_cc", "*negabssi2_cconly"): Likewise.
      	("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise.
      	("*negabssf2_cc", "*negabssf2_cconly"): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90347 138bc75d-0d04-0410-961f-82ee72b054a4
      9be33ca2
    • uweigand's avatar
      * config/s390/s390.c (s390_canonicalize_comparison): Reverse condition · dd16a4bd
      uweigand authored
      	when eliminating an UNSPEC_CMPINT.
      	(s390_secondary_input_reload_class): Fix test for CC register reload.
      	(s390_secondary_output_reload_class): Likewise.
      	(s390_expand_cmpmem): Swap operands.  Use gen_cmpint.
      	* config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove.
      	("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New
      	insn patterns with splitters.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90346 138bc75d-0d04-0410-961f-82ee72b054a4
      dd16a4bd
    • jsm28's avatar
      * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, · 1e5fcbe2
      jsm28 authored
      	c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c,
      	gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c,
      	tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c,
      	config/avr/avr.c, config/c4x/c4x.c, config/darwin.c,
      	config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c,
      	config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c,
      	config/iq2000/iq2000.c, config/m32r/m32r.c,
      	config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h,
      	config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c,
      	config/ns32k/ns32k.c, config/rs6000/host-darwin.c,
      	config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c,
      	config/sh/symbian.c, config/stormy16/stormy16.c,
      	config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %<
      	and %> as appropriate.  Use %' as apostrophe in diagnostics where
      	applicable.  Use %< and %> in place of '' quotes where applicable.
      	Use %qs in place of %<%s%>.  Consistently quote __builtin function
      	names.
      
      ada:
      	* misc.c (gnat_handle_option): Use %< and %> for quoting in
      	warning message.
      
      cp:
      	* call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c,
      	pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for
      	quoting in diagnostics.
      	* parser.c (cp_parser_sizeof_operand): Use '' instead of `' for
      	quoting in printf format.
      	* decl.c (duplicate_decls, start_decl): Use %qD instead of
      	unquoted %D.
      
      objc:
      	* objc-act.c: Use %q, %< and %> for quoting in diagnostics.
      
      testsuite:
      	* gcc.dg/builtin-prefetch-1.c: Adjust expected messages.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90337 138bc75d-0d04-0410-961f-82ee72b054a4
      1e5fcbe2
  29. 05 Nov, 2004 1 commit