x86-64: Optimize e_expf with FMA [BZ #21912]

Message ID CAMe9rOq=_cGdoLX7pA4ee66zk-2n-Q_jKd0cHQFYFcbiDpj=Pw@mail.gmail.com
State New, archived
Headers

Commit Message

H.J. Lu Aug. 16, 2017, 3:57 p.m. UTC
  On Wed, Aug 16, 2017 at 8:45 AM, Carlos O'Donell <carlos@redhat.com> wrote:
> On 08/16/2017 11:33 AM, H.J. Lu wrote:
>> Here is the updated patch I am checking in.
>
> LGTM. Please include a NEWS entry describing the new optimizations for Intel.
>

Like this?
  

Comments

Carlos O'Donell Aug. 16, 2017, 4 p.m. UTC | #1
On 08/16/2017 11:57 AM, H.J. Lu wrote:
> On Wed, Aug 16, 2017 at 8:45 AM, Carlos O'Donell <carlos@redhat.com> wrote:
>> On 08/16/2017 11:33 AM, H.J. Lu wrote:
>>> Here is the updated patch I am checking in.
>>
>> LGTM. Please include a NEWS entry describing the new optimizations for Intel.
>>
> 
> Like this?

You should attribute this to Intel or the particular author who wrote the
optimization to give them visible credit :-)

Otherwise looks good.
  
Joseph Myers Aug. 16, 2017, 5:02 p.m. UTC | #2
On Wed, 16 Aug 2017, H.J. Lu wrote:

> On Wed, Aug 16, 2017 at 8:45 AM, Carlos O'Donell <carlos@redhat.com> wrote:
> > On 08/16/2017 11:33 AM, H.J. Lu wrote:
> >> Here is the updated patch I am checking in.
> >
> > LGTM. Please include a NEWS entry describing the new optimizations for Intel.
> >
> 
> Like this?

The "[Add new features here]" placeholder should be removed when adding 
the first feature to that section (and likewise for the placeholders in 
other NEWS sections when entries are first added to those).
  

Patch

From 178afaea1a57749d8ac6e35c72ff1408a44352b5 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Wed, 16 Aug 2017 08:56:24 -0700
Subject: [PATCH] Mention x86-64 FMA optimization in NEWS

	* NEWS: Mention x86-64 FMA optimization.
---
 NEWS | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/NEWS b/NEWS
index 0008df16c0..dc3545cfe5 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,9 @@  Major new features:
 
   [Add new features here]
 
+* Optimized x86-64 asin, atan2, exp, expf, log, pow, atan, sin and tan
+  with FMA.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * On GNU/Linux, the obsolete Linux constant PTRACE_SEIZE_DEVEL is no longer
-- 
2.13.5