This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][x86] Fix PR52407


Hello!

> This fixes element ordering for V2SFmode, V2SImode and V2DImode
> concats in ix86_expand_vector_set.
>
> Boostrap / regtest pending on x86_64-unknown-linux-gnu.
>
> Ok everywhere?  (the testcase only fails on trunk)
>
> 2012-02-28  Richard Guenther  <rguenther@suse.de>
>
> 	PR target/52407
> 	* config/i386/i386.c (ix86_expand_vector_set): Fix element
> 	ordering for the VEC_CONCAT for two element vectors for
> 	V2SFmode, V2SImode and V2DImode.
>
> 	* gcc.dg/torture/pr52407.c: New testcase.

OK, but please add Jakub's testcase from Comment #5 [1] instead (it
uses long long, calculates result on-the-fly and returns 0 from main
;) ).

[1] http://gcc.gnu.org/ml/gcc-bugs/2012-02/msg02687.html

Thanks,
Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]