This is the mail archive of the
mailing list for the glibc project.
Re: libmvec requires x86?
- From: Steven Munroe <munroesj at linux dot vnet dot ibm dot com>
- To: kb9vqf at pearsoncomputing dot net
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 21 Dec 2015 16:16:27 -0600
- Subject: Re: libmvec requires x86?
- Authentication-results: sourceware.org; auth=none
- References: <a082cdac8f6d571f41c5def4457c738f dot squirrel at vali dot starlink dot edu> <1450732772 dot 28630 dot 22 dot camel at oc7878010663>
- Reply-to: munroesj at linux dot vnet dot ibm dot com
On Mon, 2015-12-21 at 15:19 -0600, Steven Munroe wrote:
> On Mon, 2015-12-21 at 12:58 -0600, Timothy Pearson wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA224
> > All,
> > Are there currently any plans to port libmvec to architectures other than
> > x86? I spent a rather fruitless day attempting to vectorize a floating
> > point calculation loop on POWER8 before realizing that libmvec is x86
> > only. We cannot use modern x86 hardware for internal security reasons,
> > and it came as something of a surprise that relatively advanced features
> > of glibc are only supported on x86, even though functionally equivalent
> > SIMD capabilities exist on other architectures (e,g, POWER8).
> We (PowerPC) have been waiting for libmvec to stabilize and as
> Adhemerval has pointed out, powerpc already has existing solution using
> the IBM Mathematical Acceleration Subsystem (MASS) libraries.
> The MASS library is available without cost from
I found a more direct link to the POWER8 MASS library here:
> We have direct GCC support for -mveclibabi=mass starting with GCC-4.6
> This should vectorize your loop.