From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11424 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] s390x: Add single instruction math functions Date: Sat, 10 Jun 2017 17:36:48 +0200 Message-ID: <20170610153648.GT9350@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1497109022 13526 195.159.176.226 (10 Jun 2017 15:37:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Jun 2017 15:37:02 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) Cc: David Edelsohn To: musl@lists.openwall.com Original-X-From: musl-return-11437-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 10 17:36:59 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dJiRe-0003Fv-PD for gllmg-musl@m.gmane.org; Sat, 10 Jun 2017 17:36:58 +0200 Original-Received: (qmail 22426 invoked by uid 550); 10 Jun 2017 15:37:01 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 22380 invoked from network); 10 Jun 2017 15:37:00 -0000 Mail-Followup-To: musl@lists.openwall.com, David Edelsohn Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11424 Archived-At: * David Edelsohn [2017-06-09 10:51:25 -0400]: > The following patch is a start at single instruction math functions > for s390x architecture to increase performance. looks good, i wonder why gcc does not have builtins support for ceil, floor, nearbyint, round and trunc (on aarch64 the builtins expand to single instruction with -fno-math-errno, but on s390x they remain libc calls at some point we plan to have some internal header to turn math/string calls into builtins when compiling musl with gcc)