bfin.c (bfin_return_in_memory): Simplify; return everything larger than 8 bytes in memory.

* config/bfin/bfin.c (bfin_return_in_memory): Simplify; return
	everything larger than 8 bytes in memory.

From-SVN: r100750
This commit is contained in:
Bernd Schmidt 2005-06-08 08:53:59 +00:00 committed by Bernd Schmidt
parent 79ebd55c85
commit 26a3eab7b0
2 changed files with 6 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2005-06-08 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/bfin.c (bfin_return_in_memory): Simplify; return
everything larger than 8 bytes in memory.
2005-06-08 Sebastian Pop <pop@cri.ensmp.fr>
* tree-data-ref.c (compute_estimated_nb_iterations,

View File

@ -1270,18 +1270,8 @@ bfin_return_in_memory (tree type)
if (mode == BLKmode)
return 1;
size = int_size_in_bytes (type);
if (VECTOR_MODE_P (mode) || mode == TImode)
{
/* User-created vectors small enough to fit in REG. */
if (size < 8)
return 0;
if (size == 8 || size == 16)
return 1;
}
if (size > 12)
return 1;
return 0;
return size > 8;
}
/* Register in which address to store a structure value