Commit 26a3eab7 by Bernd Schmidt Committed by Bernd Schmidt

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
parent 79ebd55c
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> 2005-06-08 Sebastian Pop <pop@cri.ensmp.fr>
* tree-data-ref.c (compute_estimated_nb_iterations, * tree-data-ref.c (compute_estimated_nb_iterations,
......
...@@ -1270,18 +1270,8 @@ bfin_return_in_memory (tree type) ...@@ -1270,18 +1270,8 @@ bfin_return_in_memory (tree type)
if (mode == BLKmode) if (mode == BLKmode)
return 1; return 1;
size = int_size_in_bytes (type); 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 size > 8;
return 1;
return 0;
} }
/* Register in which address to store a structure value /* Register in which address to store a structure value
......
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