This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, middle-end/i386]: Fix PR88474, Inline built-in hypot for -ffast-math
- From: Richard Biener <rguenther at suse dot de>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Fri, 14 Dec 2018 09:25:53 +0100 (CET)
- Subject: Re: [PATCH, middle-end/i386]: Fix PR88474, Inline built-in hypot for -ffast-math
- References: <CAFULd4avXrKdUtjQoOHgSbO8rFxX2Xe-MD9LM-htFBZ8SHm3RQ@mail.gmail.com>
On Fri, 14 Dec 2018, Uros Bizjak wrote:
> Attached patch inlines calls to hypotf and hypot using x87 XFmode arithmetic.
>
> 2018-12-14 Uros Bizjak <ubizjak@gmail.com>
>
> PR target/88474
> * internal-fn.def (HYPOT): New.
> * optabs.def (hypot_optab): New.
> * config/i386/i386.md (hypot<mode>3): New expander.
>
> Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.
>
> There are a couple of one-liners in middle-end part, so patch also
> needs middle-end approval.
>
> OK for mainline?
middle-end parts are OK.
Richard.