This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Sparc exp(), expf() performance improvement
- From: David Miller <davem at davemloft dot net>
- To: patrick dot mcgehearty at oracle dot com
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 31 Jul 2017 12:47:19 -0700 (PDT)
- Subject: Re: [PATCH] Sparc exp(), expf() performance improvement
- Authentication-results: sourceware.org; auth=none
- References: <1501529969-96949-1-git-send-email-patrick.mcgehearty@oracle.com>
From: Patrick McGehearty <patrick.mcgehearty@oracle.com>
Date: Mon, 31 Jul 2017 15:39:29 -0400
> This PATCH is intended to improve exp() and expf() performance on Sparc.
> These changes will only be active on Sparc platforms and only for
> those platforms that support HWCAP_SPARC_CRYPTO (niagara4 and later).
Can you explain which instructions exactly help make the compiled
C code for exp() and expf() faster instead of being vague like
this?
Wouldn't the new C code you are adding be faster on other CPUs as
well, even without gcc generating instructions for Niagara 4 and
later?
Thank you.