This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Fold vector absolutes in GIMPLE
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: will_schmidt at vnet dot ibm dot com, GCC Patches <gcc-patches at gcc dot gnu dot org>, David Edelsohn <dje dot gcc at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Date: Mon, 29 May 2017 05:24:44 -0500
- Subject: Re: [PATCH, rs6000] Fold vector absolutes in GIMPLE
- Authentication-results: sourceware.org; auth=none
- References: <1495819159.15163.170.camel@brimstone.rchland.ibm.com> <CAFiYyc3QrvoAKgfmu0nL233C1ggWH=NTmCiBO8LEB7MC6z=fEQ@mail.gmail.com>
On Mon, May 29, 2017 at 10:32:18AM +0200, Richard Biener wrote:
> On Fri, May 26, 2017 at 7:19 PM, Will Schmidt <will_schmidt@vnet.ibm.com> wrote:
> > Add support for early expansion of vector absolute built-ins.
> >
> > Bootstraps currently running (p7,p8le,p8be).
> >
> > OK for trunk?
>
> What's the documented behavior for vec_abs with respect to an argument
> of value INT_MIN?
The documentation says:
"For integer vectors, the arithmetic is modular."
http://openpowerfoundation.org/wp-content/uploads/resources/leabi-prd/
(appendix A; the PDF is easier to read).
Segher