Commit e8d6aaee by Richard Guenther Committed by Richard Biener

i386-protos.h (ix86_return_in_memory): Adjust return type to bool.

2008-05-08  Richard Guenther  <rguenther@suse.de>

	* config/i386/i386-protos.h (ix86_return_in_memory): Adjust
	return type to bool.
	(ix86_sol10_return_in_memory): Likewise.
	(ix86_i386elf_return_in_memory): Likewise.
	(ix86_i386interix_return_in_memory): Likewise.
	* config/i386/i386.c (ix86_return_in_memory): Likewise.
	(ix86_sol10_return_in_memory): Likewise.
	(ix86_i386elf_return_in_memory): Likewise.
	(ix86_i386interix_return_in_memory): Likewise.

From-SVN: r135080
parent 033df0b9
2008-05-08 Richard Guenther <rguenther@suse.de>
* config/i386/i386-protos.h (ix86_return_in_memory): Adjust
return type to bool.
(ix86_sol10_return_in_memory): Likewise.
(ix86_i386elf_return_in_memory): Likewise.
(ix86_i386interix_return_in_memory): Likewise.
* config/i386/i386.c (ix86_return_in_memory): Likewise.
(ix86_sol10_return_in_memory): Likewise.
(ix86_i386elf_return_in_memory): Likewise.
(ix86_i386interix_return_in_memory): Likewise.
2008-05-08 Kai Tietz <kai.tietz@onevision.com> 2008-05-08 Kai Tietz <kai.tietz@onevision.com>
PR/36180 PR/36180
......
...@@ -134,10 +134,10 @@ extern rtx ix86_libcall_value (enum machine_mode); ...@@ -134,10 +134,10 @@ extern rtx ix86_libcall_value (enum machine_mode);
extern bool ix86_function_value_regno_p (int); extern bool ix86_function_value_regno_p (int);
extern bool ix86_function_arg_regno_p (int); extern bool ix86_function_arg_regno_p (int);
extern int ix86_function_arg_boundary (enum machine_mode, tree); extern int ix86_function_arg_boundary (enum machine_mode, tree);
extern int ix86_return_in_memory (const_tree, const_tree); extern bool ix86_return_in_memory (const_tree, const_tree);
extern int ix86_sol10_return_in_memory (const_tree,const_tree); extern bool ix86_sol10_return_in_memory (const_tree,const_tree);
extern int ix86_i386elf_return_in_memory (const_tree,const_tree); extern bool ix86_i386elf_return_in_memory (const_tree,const_tree);
extern int ix86_i386interix_return_in_memory (const_tree,const_tree); extern bool ix86_i386interix_return_in_memory (const_tree,const_tree);
extern rtx ix86_force_to_memory (enum machine_mode, rtx); extern rtx ix86_force_to_memory (enum machine_mode, rtx);
extern void ix86_free_from_memory (enum machine_mode); extern void ix86_free_from_memory (enum machine_mode);
extern void ix86_split_fp_branch (enum rtx_code code, rtx, rtx, extern void ix86_split_fp_branch (enum rtx_code code, rtx, rtx,
......
...@@ -4901,7 +4901,7 @@ return_in_memory_ms_64 (const_tree type, enum machine_mode mode) ...@@ -4901,7 +4901,7 @@ return_in_memory_ms_64 (const_tree type, enum machine_mode mode)
return (size != 1 && size != 2 && size != 4 && size != 8); return (size != 1 && size != 2 && size != 4 && size != 8);
} }
int bool
ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
{ {
const enum machine_mode mode = type_natural_mode (type); const enum machine_mode mode = type_natural_mode (type);
...@@ -4919,7 +4919,7 @@ ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) ...@@ -4919,7 +4919,7 @@ ix86_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
but differs notably in that when MMX is available, 8-byte vectors but differs notably in that when MMX is available, 8-byte vectors
are returned in memory, rather than in MMX registers. */ are returned in memory, rather than in MMX registers. */
int bool
ix86_sol10_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) ix86_sol10_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
{ {
int size; int size;
...@@ -4951,14 +4951,14 @@ ix86_sol10_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED ...@@ -4951,14 +4951,14 @@ ix86_sol10_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED
return size > 12; return size > 12;
} }
int bool
ix86_i386elf_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) ix86_i386elf_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
{ {
return (TYPE_MODE (type) == BLKmode return (TYPE_MODE (type) == BLKmode
|| (VECTOR_MODE_P (TYPE_MODE (type)) && int_size_in_bytes (type) == 8)); || (VECTOR_MODE_P (TYPE_MODE (type)) && int_size_in_bytes (type) == 8));
} }
int bool
ix86_i386interix_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED) ix86_i386interix_return_in_memory (const_tree type, const_tree fntype ATTRIBUTE_UNUSED)
{ {
return (TYPE_MODE (type) == BLKmode return (TYPE_MODE (type) == BLKmode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment