From patchwork Wed Jun 26 09:27:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 33404 Received: (qmail 96179 invoked by alias); 26 Jun 2019 09:27:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 96171 invoked by uid 89); 26 Jun 2019 09:27:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.redhat.com From: Florian Weimer To: Shawn Landden Cc: "libc-alpha\@sourceware.org" , Tulio Magno Quites Machado Filho , Joseph Myers 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> Date: Wed, 26 Jun 2019 11:27:08 +0200 In-Reply-To: <12747641561505892@iva8-3b901672a9c5.qloud-c.yandex.net> (Shawn Landden's message of "Tue, 25 Jun 2019 18:38:12 -0500") Message-ID: <8736jwr91v.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 * 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: Does this help? Thanks, Florian 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