[PATCH 2/2] PPC64: Add libmvec SIMD double-precision power function.

Florian Weimer fweimer@redhat.com
Wed Jun 26 09:27:00 GMT 2019


* 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



More information about the Libc-alpha mailing list