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, rs6000] Fix vect_pack_trunc_v2df pattern for little endian


On Mon, Nov 4, 2013 at 8:28 AM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> This cleans up another case where a vector-pack operation needs to
> reverse its operand order for little endian.  This fixes the last
> remaining vector test failure in the test suite when building for little
> endian.
>
> Next I'll be spending some time looking for additional little endian
> issues for which we don't yet have test coverage.  As an example, there
> are several patterns similar to vect_pack_trunc_v2df that probably need
> the same treatment as this patch, but we don't have any test cases that
> expose a problem.  I need to verify those are broken and add test cases
> when fixing them.
>
> Bootstrapped and tested on powerpc64{,le}-unknown-linux-gnu with no
> regressions.  Is this ok for trunk?
>
> Thanks,
> Bill
>
>
> 2013-11-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>         * config/rs6000/vector.md (vec_pack_trunc_v2df):  Adjust for
>         little endian.

This patch is okay.

Thanks, David


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