This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][x86] Fix PR52407
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Guenther <rguenther at suse dot de>, Jakub Jelinek <jakub at redhat dot com>
- Date: Tue, 28 Feb 2012 13:54:24 +0100
- Subject: Re: [PATCH][x86] Fix PR52407
- Authentication-results: mr.google.com; spf=pass (google.com: domain of ubizjak@gmail.com designates 10.236.138.110 as permitted sender) smtp.mail=ubizjak@gmail.com; dkim=pass header.i=ubizjak@gmail.com
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.