This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] PPC64: Add libmvec SIMD double-precision power function.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Shawn Landden <shawn at git dot icu>
- Cc: "libc-alpha\@sourceware.org" <libc-alpha at sourceware dot org>, Tulio Magno Quites Machado Filho <tuliom at ascii dot art dot br>, Joseph Myers <joseph at codesourcery dot com>
- Date: Wed, 26 Jun 2019 11:27:08 +0200
- Subject: Re: [PATCH 2/2] PPC64: Add libmvec SIMD double-precision power function.
- References: <20190625175302.26676-1-shawn@git.icu> <20190625175302.26676-2-shawn@git.icu> <87ftnxwnm1.fsf@oldenburg2.str.redhat.com> <12747641561505892@iva8-3b901672a9c5.qloud-c.yandex.net>
* Shawn Landden:
> I suspect this is because the scalar version looks for exceptions under
> the name “pow”, and you haven't added an exception for “pow_vlen2” in
> this patch.
>
> I suspected as much, but still cannot find said exceptions.
I *think* you need to add a new section to the file, like this:
diff --git a/sysdeps/powerpc/fpu/libm-test-ulps b/sysdeps/powerpc/fpu/libm-test-ulps
index 1eec27c1dc..855923c69b 100644
--- a/sysdeps/powerpc/fpu/libm-test-ulps
+++ b/sysdeps/powerpc/fpu/libm-test-ulps
@@ -2524,6 +2524,9 @@ ifloat128: 2
ildouble: 1
ldouble: 1
+Function: "pow_vlen2":
+double: 1
+
Function: "sin":
double: 1
float: 1
Does this help?
Thanks,
Florian