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, middle-end/i386]: Fix PR88474, Inline built-in hypot for -ffast-math


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.


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