Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 7 Sep 2020 14:09:02 -0400
From: Rich Felker <>
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.

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.


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.