This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] lround for PowerPC
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, David Edelsohn <dje dot gcc at gmail dot com>, Richard Biener <richard dot guenther at gmail dot com>, Segher Boessenkool <segher at kernel dot crashing dot org>, "William J. Schmidt" <wschmidt at linux dot vnet dot ibm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 24 Nov 2015 13:55:30 -0500
- Subject: Re: [PATCH] lround for PowerPC
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvnynJ8bDp-NF6YsZKF1ENRY-tGquqCmMHaEz4ZiMvR7r4kw at mail dot gmail dot com> <F75D0D75-95E8-4A66-8A17-1976282B462E at gmail dot com> <CAGWvnyneQsmykM7hsp8M8WVHgaMh_P1cYEdywyMUewunmExgrA at mail dot gmail dot com> <20151123215623 dot GA21427 at ibm-tiger dot the-meissners dot org> <CAGWvnynewAM2iGArGCdENFX0oh6cw_Lx+0kTdasEygAMFUO9_w at mail dot gmail dot com> <20151124185013 dot GA8088 at ibm-tiger dot the-meissners dot org>
Whoops, I forgot to update the ChangeLog after reversing Fv and Fv2.
2015-11-24 David Edelsohn <dje.gcc@gmail.com>
Michael Meissner <meissner@linux.vnet.ibm.com>
* config/rs6000/rs6000.md (UNSPEC_XSRDPI): New unspec.
(Fv2): New mode attribute to be used when ISA 2.07 instructions
are used on SF values, and ISA 2.06 instructions on DF values.
(add<mode>3_fpr): Use <Fv2> instead of <Fv>.
(sub<mode>3_fpr): Use <Fv2> instead of <Fv>.
(mul<mode>3_fpr): Use <Fv2> instead of <Fv>.
(div<mode>3_fpr): Use <Fv2> instead of <Fv>.
(sqrt<mode>2): Use <Fv2> instead of <Fv>.
(fre<Fs>): Use <Fv2> instead of <Fv>.
(rsqrt<mode>2): Use <Fv2> instead of <Fv>.
(cmp<mode>_fpr): Use <Fv2> instead of <Fv>.
(xsrdpi<mode>): Add support for the lround function.
(lround<mode>di2): Likewise.
(fma<mode>4_fpr): Use <Fv2> instead of <Fv>.
(fms<mode>4_fpr): Use <Fv2> instead of <Fv>.
(nfma<mode>4_fpr): Use <Fv2> instead of <Fv>.
(nfms<mode>4_fpr): Use <Fv2> instead of <Fv>.
--
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797