This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: x86_64 merger part 38 - function calling conventions


On Thu, Sep 20, 2001 at 01:29:29PM +0200, Jan Hubicka wrote:
> 	* i386-protos.h (ix86_libcall_value, ix86_function_value,
> 	ix86_function_arg_regno_p, ix86_function_arg_boundary,
> 	ix86_return_in_memory, ix86_function_value): Declare.
> 	* i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
> 	new static valurables.
> 	(x86_64_reg_class): New enum
> 	(x86_64_reg_class_name): New array.
> 	(classify_argument, examine_argument, construct_container,
> 	 merge_classes): New static functions.
> 	(optimization_options): Enable flag_omit_frame_pointer and disable
> 	flag_pcc_struct_return on 64bit.
> 	(ix86_libcall_value, ix86_function_value,
> 	ix86_function_arg_regno_p, ix86_function_arg_boundary,
> 	ix86_return_in_memory, ix86_function_value): New global functions.
> 	(init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
> 	(function_arg_advance): Handle x86_64 passing conventions.
> 	(function_arg): Likewise.
> 	* i386.h (FUNCTION_ARG_BOUNDARY): New macro.
> 	(RETURN_IN_MEMORY): Move offline.
> 	(FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
> 	(FUNCTION_VALUE_REGNO_P): New macro.
> 	(FUNCTION_ARG_REGNO_P): Move offline.
> 	(struct ix86_args): Add maybe_vaarg.
> 	* next.h (FUNCTION_VALUE_REGNO_P): Delete.
> 	* unix.h (FUNCTION_VALUE_REGNO_P): Delete.

Ok.

Watch the formatting of comments.  Close */ goes on the same
line as the text.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]