[PATCH] Handle different mode size conversions involving vectors in convert_move (PR rtl-optimization/16104) (take 3)

Richard Henderson rth@redhat.com
Tue May 10 20:47:00 GMT 2005


On Wed, Mar 16, 2005 at 04:23:37PM -0500, Jakub Jelinek wrote:
> BTW, are vector casts always view conversions?  Say with
> (V2SI) (V2SF) x
> is this supposed to be the same as
> (__extension__ (({union { V2SI v2si; V2SF v2sf; }) { .v2sf = x }).v2si)

Yes.

> 	PR rtl-optimization/16104
> 	* fold-const.c (fold_unary): Fix folding of vector conversions.

Ok.



r~



More information about the Gcc-patches mailing list