[RFA/RFT] Tree-level lowering of generic vectors, part 4

Paolo Bonzini bonzini@gnu.org
Mon Aug 2 07:45:00 GMT 2004


Richard Henderson wrote:

> On Fri, Jul 23, 2004 at 05:30:15PM +0200, Paolo Bonzini wrote:
> 
>>	* config/rs6000/rs6000.c (USE_ALTIVEC_FOR_ARG_P,
>>	init_cumulative_args, function_arg_boundary,
>>	function_arg_advance, function_arg,
>>	rs6000_pass_by_reference, rs6000_gimplify_va_arg):
>>	Look into the type instead of using
>>	ALTIVEC_VECTOR_MODE.
> 
> An rs6000 maintainer should review this to be sure that all vector types
> of a given width should be treated identically.

My rationale here was that SPE vectors are all exactly 8-byte wide, 
while Altivec vectors are all exactly 16-byte wide.

>>	* config/i386/i386.c (function_arg): Always treat 8-
>>	and 16-byte wide vectors the same, even if MMX/SSE
>>	are disabled.
>> 	(contains_128bit_aligned_vector_p): Add comment.
> 
> Applied.

Thanks.

Paolo



More information about the Gcc-patches mailing list