Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200907180902.GN3265@brightrain.aerifal.cx>
Date: Mon, 7 Sep 2020 14:09:02 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: riscv32 v2

On Mon, Sep 07, 2020 at 07:27:37AM -0400, Stefan O'Rear wrote:
> On Fri, Sep 4, 2020, at 1:48 AM, Stefan O'Rear wrote:
> > Rich Felker's suggestion (on IRC) to use a 0-instruction __get_tp was
> > NOT implemented after discovering that it generates dramatically worse
> > code on clang and cannot easily be conditionalized.  Bug reports to come.
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96952
> https://bugs.llvm.org/show_bug.cgi?id=47447

Thanks! I think the GCC issue & response to it supports my preference
not to use GCC __builtin_*, but I would like to see them fix it. The
form with __asm__("" : ...) is semantically correct and has always
worked, but I don't see enough benefit over the current non-empty asm
to justify accepting the worse codegen from llvm getting it wrong.
Maybe we can change it at some point in the future after llvm is
fixed, but it's really no big deal.

Rich

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.