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  <rguent...@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.

Reply via email to