Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 10 Jun 2017 13:25:00 -0400
From: David Edelsohn <dje.gcc@...il.com>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] s390x: Add single instruction math functions

On Sat, Jun 10, 2017 at 11:36 AM, Szabolcs Nagy <nsz@...t70.net> wrote:
> * David Edelsohn <dje.gcc@...il.com> [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

Both the functions and builtins are converted to single instructions
for me.  What architecture level is your GCC assuming?

> at some point we plan to have some internal header to turn
> math/string calls into builtins when compiling musl with gcc)

I have a patch set ready for powerpc64 teed up after this patch.

Thanks, David

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.