This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Remove splat calls with out-of-range arguments from gcc.dg/vmx/ops.c
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 29 Sep 2014 13:44:09 -0400
- Subject: Re: [PATCH, rs6000] Remove splat calls with out-of-range arguments from gcc.dg/vmx/ops.c
- Authentication-results: sourceware.org; auth=none
- References: <1412011647 dot 2986 dot 7 dot camel at gnopaine>
On Mon, Sep 29, 2014 at 1:27 PM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> While working on another patch, I observed that the test case
> gcc.dg/vmx/ops.c contains numerous calls to vec_splat and friends for
> which the second argument (the element selector) is out of range. At
> best these calls are invalid; as it is, we generate insns that can cause
> trouble during optimization. (In the case I saw, simplify-rtx tried to
> reduce the splat of its input at compile time, but the out-of-range
> element selector caused it to report a bad insn and abort.) This patch
> removes all of the calls with out-of-range element selectors from the
> test case.
>
> Tested on powerpc64le-unknown-linux-gnu. Ok to commit?
>
> Thanks,
> Bill
>
>
> 2014-09-29 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
>
> * gcc.dg/vmx/ops.c: Remove calls to vec_splat, vec_vsplth,
> vec_vspltw, and vec_vspltb for which the second argument is out of
> range.
Okay.
Thanks, David