1. 04 Sep, 2003 4 commits
    • jakub's avatar
      * config/ia64/libgcc-ia64.ver: Export _Unwind_GetBSP@@GCC_3.3.2. · f8ecef74
      jakub authored
      	* config/ia64/unwind-ia64.c (_Unwind_GetBSP): New function.
      	* unwind.h (_Unwind_GetBSP): New prototype.
      	* libgcc-std.ver: Add empty GCC_3.3.2 version.
      	* mkmap-symver.awk: For symbol versions with no exported symbols,
      	don't put anything into version script, just change all symbol
      	versions which inherit from it to inherit from its ancestor.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71057 138bc75d-0d04-0410-961f-82ee72b054a4
      f8ecef74
    • echristo's avatar
      2003-09-04 Eric Christopher <echristo@redhat.com> · 8eb3a059
      echristo authored
      	* config/mips/mips.c (mips_expand_prologue): Convert to
      	calls.struct_value_rtx hook.
      	(reg_or_const_float_1_operand): New.
      	* config/mips/mips.h: Update Comments.
      	(mips_arg): Add reg_or_const_float_1_operand.
      	* config/mips/mips.md (divdf3); Convert to expander.
      	(divsf3): Ditto.
      	(*divdf3): New pattern.
      	(*divsf3): Ditto.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71056 138bc75d-0d04-0410-961f-82ee72b054a4
      8eb3a059
    • ljrittle's avatar
      2003-09-03 David O'Brien <obrien@FreeBSD.org> · 17efb0d4
      ljrittle authored
      	optimization/11980
      	* config/i386/freebsd.h (SIZE_TYPE): Support TARGET_64BIT.
      	(PTRDIFF_TYPE): Likewise.
      	(WCHAR_TYPE_SIZE): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71049 138bc75d-0d04-0410-961f-82ee72b054a4
      17efb0d4
    • dj's avatar
      * targhooks.c: New file. · 45550790
      dj authored
      	* targhooks.h: New file.
      	* Makefile.in: Add targhooks.o support.
      	(function.o): Depend on$(TARGET_H).
      	(stmt.o): Likewise.
      	(combine.o): Depend on $(TREE_H) and $(TARGET_H).
      	* builtins.c (apply_args_size, expand_builtin_apply_args_1,
      	expand_builtin_apply): Convert to calls.struct_value_rtx hook.
      	(expand_builtin_saveregs): Convert to
      	calls.expand_builtin_saveregs hook.
      	* c-decl.c (start_decl): Handle new calls.promote_prototypes hook
      	here, instead of ...
      	(get_parm_info) ... here.
      	(store_parm_decls_oldstyle): Convert to calls.promote_prototypes
      	hook.
      	(finish_function): Handle calls.promote_prototypes hook here too.
      	* c-typeck.c (convert_arguments): Convert to
      	calls.promote_prototypes hook.
      	(c_convert_parm_for_inlining): Likewise.
      	* calls.c (initialize_argument_information): Convert to
      	calls.promote_function_args hook.
      	(expand_call): Convert to calls.struct_value_rtx,
      	calls.strict_argument_naming,
      	calls.pretend_outgoing_varargs_named, and
      	calls.promote_function_return hooks.  Pass fndecl to
      	aggregate_value_p.  Initialize CUMULATIVE_ARGS before calling
      	hooks, so they can use that.
      	(emit_library_call_value_1): Likewise.
      	* combine.c (setup_incoming_promotions): Convert to
      	calls.promote_function_args hook.
      	* emit-rtl.c: Convert to calls.struct_value_rtx hook.
      	* expr.c (expand_assignment): Pass call to aggregate_value_p.
      	(expand_expr): Likewise.
      	* expr.h: Remove support for SETUP_INCOMING_VARARGS,
      	STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
      	RETURN_IN_MEMORY macro defaults.
      	* final.c (profile_function): Convert to calls.struct_value_rtx
      	hook.
      	* function.c (aggregate_value_p): Accept function type tree as
      	second parameter; try to deduce fntype from it.  Convert to
      	calls.return_in_memory hook.
      	(assign_parms): Convert to calls.setup_incoming_varargs,
      	calls.strict_argument_naming, calls.promote_function_args,
      	calls.pretend_outgoing_varargs_named hooks.  Pass fndecl to
      	aggregate_value_p.
      	(expand_function_start): Likewise.  Convert to
      	calls.struct_value_rtx hook.
      	(expand_function_end): Convert to calls.promote_function_return hook.
      	(allocate_struct_function): Pass fndecl to aggregate_value_p.
      	* hard-reg-set.h: Update comments to new hook names.
      	* integrate.c (expand_inline_function): Pass fndecl to aggregate_value_p.
      	* reg-stack.c (stack_result): Likewise.
      	* rtl.h (struct_value_rtx, struct_value_incoming_rtx): Delete.
      	* stmt.c (expand_value_return): Convert to
      	calls.promote_function_return hook.
      	* target-def.h: Add TARGET_PROMOTE_FUNCTION_ARGS,
      	TARGET_PROMOTE_FUNCTION_RETURN, TARGET_PROMOTE_PROTOTYPES,
      	TARGET_STRUCT_VALUE_RTX, TARGET_RETURN_IN_MEMORY,
      	TARGET_EXPAND_BUILTIN_SAVEREGS, TARGET_SETUP_INCOMING_VARARGS,
      	TARGET_STRICT_ARGUMENT_NAMING,
      	TARGET_PRETEND_OUTGOING_VARARGS_NAMED, and TARGET_CALLS.
      	* target.h: Likewise.
      	* tree.h (aggregate_value_p): Also takes a tree to deduce function
      	attributes from (for target hooks).
      	* doc/tm.texi (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN,
      	PROMOTE_PROTOTYPES, RETURN_IN_MEMORY, STRUCT_VALUE_REGNUM,
      	STRUCT_VALUE, STRUCT_VALUE_INCOMING_REGNUM, STRUCT_VALUE_INCOMING,
      	EXPAND_BUILTIN_SAVEREGS, SETUP_INCOMING_VARARGS,
      	STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED): Convert
      	to hooks.
      
      	* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Pass function
      	to aggregate_value_p.
      	* config/arm/arm.c (arm_init_cumulative_args,
      	arm_output_mi_thunk): Likewise.
      	* config/i386/i386.c (ix86_return_pops_args, x86_this_parameter):
      	Likewise.
      	* config/mips/mips.c (mips_save_reg_p, mips_expand_prologue,
      	mips_can_use_return_insn): Likewise.
      	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
      	* config/s390/s390.c (s390_output_mi_thunk): Likewise.
      	* config/sparc/sparc.c (sparc_output_mi_thunk): Pass function to
      	aggregate_value_p.
      	* config/story16/stormy16.c (xstormy16_asm_output_mi_thunk): Pass
      	function to aggregate_value_p.
      	* objc/objc-act.c (generate_struct_by_value_array): Pass NULL to
      	aggregate_value_p.
      
      	* config/sh/sh-protos.h (sh_builtin_saveregs): Remove.
      	(sh_attr_renesas_p, sh_cfun_attr_renesas_p, sh_function_arg,
      	sh_function_arg_advance, sh_pass_in_reg_p): New.  * config/sh/sh.c
      	(sh_handle_renesas_attribute, sh_promote_prototypes,
      	sh_struct_value_rtx, sh_return_in_memory, sh_builtin_saveregs,
      	sh_setup_incoming_varargs, sh_strict_argument_naming,
      	sh_pretend_outgoing_varargs_named): New decls.
      	(targetm): Add new hooks.
      	(calc_live_regs): Save MACL and MACH if the function has the
      	renesas attribute.
      	(sh_expand_prologue): Support renesas attribute.
      	(sh_builtin_saveregs): Make static.
      	(sh_build_va_list): Support renesas attribute.
      	(sh_va_start): Likewise.
      	(sh_va_arg): Likewise.
      	(sh_promote_prototypes): New.
      	(sh_function_arg): New, moved from sh.h.  Support renesas
      	attribute.
      	(sh_function_arg_advance): Likewise.
      	(sh_return_in_memory): Likewise.
      	(sh_strict_argument_naming): Likewise.
      	(sh_pretend_outgoing_varargs_named): Likewise.
      	(sh_struct_value_rtx): New.
      	(sh_attribute): Add renesas attribute.
      	(sh_handle_renesas_attribute): New.
      	(sh_attr_renesas_p, sh_cfun_attr_renesas_p): New.
      	(sh_ms_bitfield_layout_p): Support renesas attribute also.
      	(sh_output_mi_thunk): Pass function to aggregate_value_p.  *
      	config/sh/sh.h (TARGET_SWITCHES): Add -mrenesas as an alias for
      	-mhitachi.
      	(STRUCT_VALUE_REGNUM, STRUCT_VALUE, RETURN_IN_MEMORY): Moved to
      	target hooks.
      	(sh_args): Add renesas_abi flag.
      	(INIT_CUMULATIVE_ARGS): Set it.  Pass fndecl to aggregate_value_p.
      	(FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Move to sh.c.
      	(PASS_IN_REG_P): Support renesas attribute.  Pass DF and TF on the
      	stack for the renesas abi.
      	(STRICT_ARGUMENT_NAMING, PRETEND_OUTGOING_VARARGS_NAMED,
      	SETUP_INCOMING_VARARGS, EXPAND_BUILTIN_SAVEREGS,
      	PROMOTE_PROTOTYPES): Moved to sh.c.  * config/sh/sh.md (call): Set
      	call cookie to indicate renesas calls.
      
      	* decl.c (finish_function): Pass fndecl to aggregate_value_p.
      
      	* misc.c (default_pass_by_ref): Convert to calls.return_in_memory
      	hook.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71048 138bc75d-0d04-0410-961f-82ee72b054a4
      45550790
  2. 03 Sep, 2003 6 commits
  3. 02 Sep, 2003 1 commit
  4. 30 Aug, 2003 1 commit
    • rearnsha's avatar
      2003-08-30 Richard Earnshaw <rearnsha@arm.com> · 4d18cf6f
      rearnsha authored
      	Nicolas Pitre <nico@cam.org>
      
      * arm/lib1funcs.asm (RETCOND): Delete.
      (RETLDM): New assembler macro.  Use it for returning with ldm/ldr.
      (ARM_LDIV0, THUMB_LDIV0): Collapse multiple definitions.
      (__ARM_ARCH__): Move here from ieee754-?f.S.
      (RET, RETc): Clean up definitions.
      (DIV_FUNC_END): Renamed from FUNC_END.  All uses changed.
      (FUNC_END): New macro that marks the end of any function.
      (ARM_FUNC_START): New macro that allows an assembler routine to be
      implemented in ARM code even if a Thumb-only build.
      Unconditionally include ieee754-?f.S.
      * arm/ieee754-df.S: Delete macros moved to lib1funcs.asm.
      Mark ends of functions.
      Split into separate conditionally-compiled units.
      Use RETLDM to return from routines.
      * arm/ieee754-sf.S: Similarly.
      * t-arm-elf (LIB1ASMFUNCS): Remove _ieee754_dp and _ieee754_sp.
      Add _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi
      _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2
      _fixsfsi and _fixunssfsi.
      
      * arm/ieee754-df.S (__muldf3): Fix bug when result of a
      multiplication underflows to zero.
      (__adddf3): Fix bug when using VFP ordering on little-endian
      processors.
      (__fixdfsi): Use rrx to extract the carry into a register instead of
      MRS instruction.  Optimize later use of result.
      * arm/ieee754-sf.S (__fixsfsi): Likewise.
      (__fixunssfsi): Use a better sequence for handling negative-or-zero.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70949 138bc75d-0d04-0410-961f-82ee72b054a4
      4d18cf6f
  5. 29 Aug, 2003 1 commit
    • uweigand's avatar
      * config/s390/s390.md ("*mulsi3_sign"): New insn. · 055b0bfa
      uweigand authored
      	("mulsidi3" expander, "mulsi_6432" insn): Remove, replace by ...
      	("mulsidi3"): ... this new insn.
      	("umulsidi3"): New insn.
      	("divmoddi3", "divmodtidi3", "divmodtisi3"): Simplify by using
      	mixed-mode matching constraints.
      	("udivmodsi4", "udivmoddisi3"): New insns.
      	("udivsi3", "umodsi3"): Use only in ESA/390 mode.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70897 138bc75d-0d04-0410-961f-82ee72b054a4
      055b0bfa
  6. 28 Aug, 2003 1 commit
    • uweigand's avatar
      * config/s390/s390.c (legitmate_constant_p): Use LARL on · dafc8d45
      uweigand authored
      	zSeries machines even in 31-bit addressing mode.
      	(legitimate_reload_constant_p): Likewise.
      	(legitimize_pic_address): Likewise.
      	(legitimize_tls_address): Likewise.
      	(s390_split_branches): Likewise.
      	(s390_dump_pool): Likewise.
      	(s390_mainpool_finish): Likewise.
      	(s390_chunkify_start): Likewise.
      	(s390_select_rtx_section): Likewise.
      	* config/s390/s390.md ("doloop_si"): Likewise.
      	("pool_start_31", "pool_end_31"): Likewise.
      	("pool_start_64", "pool_end_64"): Likewise.
      	("main_base_31_small", "main_base_31_large"): Likewise.
      	("main_base_64"): Likewise.
      	("reload_base_31", "reload_base_64"): Likewise.
      	("*movsi_larl"): New insn.
      	("cjump", "icjump"): Use long branches on zSeries machines.
      	("jump"): Likewise.
      	("call"): Use BRASL on zSeries machines.
      	("call_value", "call_value_tls"): Likewise.
      	("brasl", "bras", "basr_64", "basr_31", "bas_64", "bas_31"): Remove
      	and replace by ...
      	("*bras", "*brasl", "*basr") ... these new insns.
      	("brasl_r", "bras_r", "basr_64_r", "basr_31_r", "bas_64_r",
      	"bas_31_r"): Remove and replace by ...
      	("*bras_r", "*brasl_r", "*basr_r") ... these new insns.
      	("brasl_tls", "bras_tls", "basr_64_tls", "basr_31_tls",
      	"bas_64_tls", "bas_31_tls"): Remove and replace by ...
      	("*bras_tls", "*brasl_tls", "*basr_tls") ... these new insns.
      	("*return_si", "*return_di"): Remove and replace by ...
      	("*return"): ... this new insn.
      	("rotlsi3"): Allow on zSeries machines.
      
      	* config/s390/s390.c (legitimize_reload_constant_p): Use
      	LL/LH type instructions in z/Architecture mode.
      	* config/s390/s390.md ("*movsi_lli"): Likewise.
      	("*andsi3_ni", "*andhi3_ni", "*andqi3_ni"): Likewise.
      	("*iorsi3_ni", "*iorhi3_ni", "*iorqi3_ni"): Likewise.
      	("*extendqisi2"): Use LB in z/Architecture mode.
      	("*zero_extendqisi2_64", "*zero_extendqisi2_31"): Use LLGC in
      	z/Architecture mode.
      	("zero_extendqihi2", "*zero_extendqihi2_64", "*zero_extendqihi2_31"):
      	Likewise.
      
      	* config/s390/s390.md ("*tmdi_ext"): Allow in both 64-bit
      	and 31-bit mode.
      	("ptr_extend"): Allow only in 64-bit mode.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70882 138bc75d-0d04-0410-961f-82ee72b054a4
      dafc8d45
  7. 27 Aug, 2003 3 commits
    • uweigand's avatar
      * config/s390/s390.c (struct machine_function): Remove member · c2c1332a
      uweigand authored
      	literal_pool_label.
      	(s390_optimize_prolog): Replace TEMP_REG argument with
      	TEMP_USED and BASE_USED.  Do not check get_pool_size ().
      	(general_s_operand): Accept all immediates before reload if
      	ALLOW_IMMEDIATE.  If not ALLOW_IMMEDIATE, reject literal pool
      	references.
      	(s390_output_symbolic_const): Remove UNSPEC_LTREL_OFFSET handling.
      	(find_constant_pool_ref): Ignore UNSPECV_POOL_ENTRY insns.
      	(s390_alloc_pool): New function.
      	(s390_new_pool): Call it.
      	(s390_dump_pool): Add REMOTE_LABEL argument.
      	(s390_chunkify_start): Add BASE_REG argument.  Do not check
      	get_pool_size ().
      	(s390_chunkify_finish): Add BASE_REG argument.  Adapt
      	s390_dump_pool call.
      	(s390_pool_count, s390_nr_constants): Remove.
      	(s390_output_constant_pool): Remove.
      	(s390_mainpool_start): New function.
      	(s390_mainpool_finish): New function.
      	(s390_mainpool_cancel): New function.
      	(s390_reorg): Implement main literal pool handling.
      	(s390_emit_prologue): Emit main_pool placeholder instead of
      	literal_pool_31 / literal_pool_64 insns.
      	* config/s390/s390.h (s390_pool_count, s390_nr_constants): Remove.
      	(ASM_OUTPUT_POOL_PROLOGUE, ASM_OUTPUT_SPECIAL_POOL_ENTRY): Remove.
      	* config/s390/s390.md (UNSPEC_MAIN_BASE): New symbolic constant.
      	("main_base_31_small", "main_base_31_large"): New insns.
      	("main_base_64",  "main_pool"): New insns.
      	("literal_pool_31", "literal_pool_64"): Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70853 138bc75d-0d04-0410-961f-82ee72b054a4
      c2c1332a
    • rearnsha's avatar
      2003-08-27 Richard Earnshaw <rearnsha@arm.com> · 60f30e13
      rearnsha authored
      * lib1funcs.asm (L_ieee754_sp): New.  Include ieee754-sf.S.
      (L_ieee754_dp): New.  Include ieee754-df.S.
      * arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb,
      and compilation in apcs-26 mode.
      * arm/ieee754-df.S: Likewise.
      * t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules
      (LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets.
      
      2003-08-27  Nicolas Pitre  <nico@cam.org>
      
      * arm/ieee754-sf.S: New.
      * arm/ieee754-df.S: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70845 138bc75d-0d04-0410-961f-82ee72b054a4
      60f30e13
    • rsandifo's avatar
      * calls.c (initialize_argument_information): If an argument has no · 0fee47f4
      rsandifo authored
      	stack space associated with it, and BLOCK_REG_PADDING is defined,
      	use it to decide at which end the argument should be padded.
      	* function.c (assign_parms): Allocate BLKmode stack slots.
      	* config/mips/mips-protos.h (mips_pad_arg_upward): Declare.
      	(mips_pad_reg_upward): Declare.
      	* config/mips/mips.h (PAD_VARARGS_DOWN): Use FUNCTION_ARG_PADDING.
      	(CUMULATIVE_ARGS): Remove num_adjusts and adjusts.
      	(FUNCTION_ARG_PADDING): Use mips_pad_arg_upward.
      	(BLOCK_REG_PADDING): Use mips_pad_reg_upward.
      	* config/mips/mips.c (struct mips_arg_info): Remove struct_p.
      	(mips_expand_call): Remove code for generating structure shifts.
      	(mips_arg_info): Don't set struct_p.  Don't set fpr_p for non-float
      	types unless using the EABI.
      	(function_arg_advance): Don't generate shift instructions.
      	(function_arg): Don't return them.  Don't short-circuit the
      	check for double structure chunks for DFmode arguments.
      	(mips_pad_arg_upward, mips_pad_reg_upward): New functions.
      	(mips_expand_prologue): Remove code to emit structure shifts.
      	* config/mips/irix6-libc-compat.c: Remove workarounds for buggy
      	structure passing (inet_ntoa, inet_lnaof, inet_netof).  Update
      	comments to say that only structure returns are a problem.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70843 138bc75d-0d04-0410-961f-82ee72b054a4
      0fee47f4
  8. 26 Aug, 2003 4 commits
  9. 25 Aug, 2003 2 commits
  10. 24 Aug, 2003 1 commit
  11. 23 Aug, 2003 16 commits
    • hubicka's avatar
      · 77d25dbd
      hubicka authored
      	PR target/11369
      	* i386.c (ix86_expand_carry_flag_compare): Validate operand.
      
      	PR target/11031
      	* i386.c (const_0_to_3_operand, const_0_to_7_operand,
      	const_0_to_15_operand, const_0_to_255_operand): New predicates.
      	* i386.h (PREDICATE_CODES): Add these.
      	* i386.c (pinsrw and pextrw patterns): Use them.
      
      	PR target/10984
      	* i386.c (ix86_expand_binop_builtin): Behave sanely for VOIDmodes.
      
      	PR target/8869
      	* expr.c (convert_modes): Deal properly with integer to vector
      	constant conversion.
      
      	PR target/8871
      	* i386.md (zero_extendsidi2*): Add MMX and SSE alternatives.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70751 138bc75d-0d04-0410-961f-82ee72b054a4
      77d25dbd
    • uweigand's avatar
      * config/s390/s390.h (LOAD_EXTEND_OP): Remove. · 77a651b8
      uweigand authored
      	* config/s390/s390.md ("movhi"): New expander; old insn renamed to ...
      	("*movhi"): ... this.
      	("movqi", "*movqi"): Likewise.
      	("movqi_64"): Remove.
      	("*zero_extendhisi2_31"): Change predicate to s_operand.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70745 138bc75d-0d04-0410-961f-82ee72b054a4
      77a651b8
    • jle's avatar
      2003-08-23 Jason Eckhardt <jle@rice.edu> · 0354094f
      jle authored
              * calls.c (emit_library_call_value_1): Remove code related
              to LIBGCC_NEEDS_DOUBLE.
              * config/stormy16/stormy16.h: Remove mention of LIBGCC_NEEDS_DOUBLE.
              * doc/tm.texi: Likewise.
              * system.h: Poison the LIBGCC_NEEDS_DOUBLE macro.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70740 138bc75d-0d04-0410-961f-82ee72b054a4
      0354094f
    • rsandifo's avatar
      * config/mips/linux64.h (STARTFILE_PREFIX_SPEC): Remove. · 51888f0b
      rsandifo authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70739 138bc75d-0d04-0410-961f-82ee72b054a4
      51888f0b
    • rsandifo's avatar
      * config/mips/mips.c (mips_setup_incoming_varargs): Handle o32 and o64 · 186613ce
      rsandifo authored
      	as well.  Put memory references in the varargs alias set.
      	(mips_expand_prologue): Remove varargs handling from here.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70738 138bc75d-0d04-0410-961f-82ee72b054a4
      186613ce
    • uweigand's avatar
      * config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr, · 5ebb663d
      uweigand authored
      	s390_expand_cmpmem, s390_output_constant_pool, s390_build_va_list,
      	s390_function_profiler, s390_output_mi_thunk): Use ISO C syntax
      	for function pointer calls.
      	* config/s390/s390.md ("*negdi2_31"): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70735 138bc75d-0d04-0410-961f-82ee72b054a4
      5ebb663d
    • jle's avatar
      2003-08-23 Jason Eckhardt <jle@rice.edu> · c81cf4c1
      jle authored
      	* config/i860/i860.h: Remove comment mentioning LIBGCC_NEEDS_DOUBLE.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70731 138bc75d-0d04-0410-961f-82ee72b054a4
      c81cf4c1
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · 524613bd
      jle authored
      	* config/i860/i860.c (i860_build_va_list): Create the va_decl
      	declaration.  Document the va_list structure.
      	(i860_va_start): Initialize the va_list structure.
      	(i860_va_arg): Rewrite completely.
      	* config/i860/i860.h (LIBGCC_NEEDS_DOUBLE): Don't define.
      	* config/i860/varargs.asm: Do not allocate or initialize
      	a va_list.  Return the address of the register save area.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70729 138bc75d-0d04-0410-961f-82ee72b054a4
      524613bd
    • kazu's avatar
      * config/iq2000/iq2000.c: Fix comment typos. · 5b2a6a38
      kazu authored
      	* config/iq2000/iq2000.md: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70727 138bc75d-0d04-0410-961f-82ee72b054a4
      5b2a6a38
    • kazu's avatar
      * config/iq2000/iq2000.c: Follow spelling conventions. · fa483857
      kazu authored
      	* config/iq2000/iq2000.h: Likewise.
      	* config/mn10300/mn10300.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70726 138bc75d-0d04-0410-961f-82ee72b054a4
      fa483857
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · c3e88ce9
      jle authored
      	* config/i860/i860.c (output_move_double): Don't set latehalf
      	to zero for CONST_INT (since it could be, e.g., -1).
      
      	* config/i860/i860.h (REMSI3_LIBCALL): Replace this macro...
      	(MODSI3_LIBCALL): ...with this one.
      	(UREMSI3_LIBCALL): Replace this macro...
      	(UMODSI3_LIBCALL): ...with this one.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70725 138bc75d-0d04-0410-961f-82ee72b054a4
      c3e88ce9
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · ff31ef9d
      jle authored
      	* config/i860/i860-protos.h (output_delay_insn): Remove prototype.
      	(output_delayed_branch): Remove prototype.
      	(single_insn_src_p): Remove prototype.
      	* config/i860/i860.c (single_insn_src_p): Remove function.
      	(output_delayed_branch): Remove function.
      	(output_delay_insn): Remove function.
      	(va_start): Remove unconditional test and dead code, re-format.
      	Fix coding style and spelling problems in various comments.
      	* config/i860/i860.md (UNSPECV_BLOCKAGE): Define constant...
      	(blockage pattern): ...and use it here.
      	(all define_peephole patterns related to delayed branches): Remove.
      	Fix coding style and spelling problems in various comments.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70724 138bc75d-0d04-0410-961f-82ee72b054a4
      ff31ef9d
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · 0f02e783
      jle authored
      	* config/i860/i860.c: Replace all occurrences of 'GNU CC' with 'GCC'.
      	Remove all uses of the PARAMS macro.  Remove superflous prototypes.
      	Convert all function definitions from traditional to ISO C90 syntax.
      	* config/i860/i860-protos.h: Replace all occurrences of 'GNU CC'
      	with 'GCC'.  Remove all uses of the PARAMS macro.
      	* config/i860/i860.h: Replace all occurrences of 'GNU CC' with 'GCC'.
      	* config/i860/i860.md: Likewise.
      	* config/i860/sysv4.h: Likewise.
      	* config/i860/varargs.asm: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70723 138bc75d-0d04-0410-961f-82ee72b054a4
      0f02e783
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · 281e3f55
      jle authored
      	* config/i860/i860-protos.h (i860_va_start): Remove 'stdarg_p'
      	argument.
      	(tdesc_section): Add prototype.
      	Update copyright dates.
      	* config/i860/i860.c: Include coretypes.h, tm.h, and toplev.h.
      	(TARGET_ASM_FUNCTION_PROLOGUE): Move definition to end of file.
      	(TARGET_ASM_FUNCTION_EPILOGUE): Likewise.
      	(targetm): Likewise.
      	(i860_output_function_prologue): Substitute HOST_WIDE_INT_PRINT_DEC
      	for '%d' where necessary.
      	(i860_va_start): Remove 'stdarg_p' argument.  Make conditional checks
      	on 'stdarg_p' unconditional.  Divide current_function_args_info.ints
      	by UNITS_PER_WORD when referencing (likewise for .floats).
      	(I860_SVR4_VARARGS): Rename...
      	(I860_SVR4_VA_LIST): ...to this.
      	Call build() with 't' rather than 'field'.
      	(i860_rtx_costs): New function.
      	(TARGET_RTX_COSTS): Define.
      	(i860_internal_label): New function.
      	(TARGET_ASM_INTERNAL_LABEL): Define.
      	(i860_file_start): New function.
      	Update copyright dates.
      	* config/i860/i860.h (CPP_PREDEFINES): Remove.
      	(TARGET_CPU_CPP_BUILTINS): Define.
      	(EXPAND_BUILTIN_VA_START): Remove 'stdarg' argument.
      	(CONST_COSTS): Remove (and move code to i860_rtx_costs).
      	(ASM_FILE_START): Remove.
      	(ASM_FILE_START_1): Remove.
      	(ASM_GLOBALIZE_LABEL): Remove.
      	(ASM_OUTPUT_INTERNAL_LABEL): Remove.
      	(ASM_OUTPUT_CASE_LABEL): Replace call of ASM_OUTPUT_INTERNAL_LABEL
      	with targetm.asm_out.internal_label.
      	Update copyright dates.
      	* config/i860/sysv4.h (USER_LABEL_PREFIX): Define.
      	(CPP_PREDEFINES): Remove.
      	(TARGET_OS_CPP_BUILTINS): Define.
      	(GLOBAL_ASM_OP): Define.
      	(ASM_FILE_START): Remove.
      	(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Define.
      	(TARGET_ASM_FILE_START): Define.
      	Update copyright dates.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70722 138bc75d-0d04-0410-961f-82ee72b054a4
      281e3f55
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · 8dd25e42
      jle authored
      ChangeLog
      	* MAINTAINERS: Resurrect the i860 maintainer.
      
      gcc/ChangeLog:
      	* gcc/config.gcc (i860-*-sysv4*): Add target.
      	* config/i860/i860-protos.h: New.
      	* config/i860/i860.c: New.
      	* config/i860/i860.h: New.
      	* config/i860/i860.md: New.
      	* config/i860/sysv4.h: New.
      	* config/i860/varargs.asm: New.
      	* config/i860/x-sysv4: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70719 138bc75d-0d04-0410-961f-82ee72b054a4
      8dd25e42
    • jle's avatar
      2003-08-22 Jason Eckhardt <jle@rice.edu> · 5c1d8983
      jle authored
      	* config/pa/pa.c: Replace 'GNU CC' with 'GCC'.
      	Remove all uses of PARAMS macro.
      	Convert all function definitions to ISO C90 syntax.
      	* config/pa/elf.h: Replace 'GNU CC' with 'GCC'.
      	* config/pa/fptr.c: Likewise.
      	* config/pa/lib2funcs.asm: Likewise.
      	* config/pa/long_double.h: Likewise.
      	* config/pa/milli64.S: Likewise.
      	* config/pa/pa-64.h: Likewise.
      	* config/pa/pa-hpux.h: Likewise.
      	* config/pa/pa-hpux10.h: Likewise.
      	* config/pa/pa-hpux11.h: Likewise.
      	* config/pa/pa-linux.h: Likewise.
      	* config/pa/pa-modes.def: Likewise.
      	* config/pa/pa-osf.h: Likewise.
      	* config/pa/pa-pro-end.h: Likewise.
      	* config/pa/pa.md: Likewise.
      	* config/pa/pa32-linux.h: Likewise.
      	* config/pa/pa64-linux.h: Likewise.
      	* config/pa/pa64-hpux.h: Likewise.
      	* config/pa/pa64-regs.h: Likewise.
      	* config/pa/quadlib.c: Likewise.
      	* config/pa/rtems.h: Likewise.
      	* config/pa/pa-protos.h: Replace 'GNU CC' with 'GCC' and remove
      	all uses of the PARAMS macro.
      	* config/pa/pa.h: Likewise.
      	* config/pa/som.h: Likewise.
      
              * config/iq2000/iq2000.c: Replace 'GNU CC' with 'GCC'.
              Remove all uses of PARAMS macro.
              Convert all function definitions to ISO C90 syntax.
      	* config/iq2000-protos.h: Replace 'GNU CC' with 'GCC'.
              Remove all uses of PARAMS macro.
      	* config/iq2000.h: Remove all uses of PARAMS macro.
              * config/iq2000/iq2000.md: Replace 'GNU CC' with 'GCC'.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70715 138bc75d-0d04-0410-961f-82ee72b054a4
      5c1d8983