fenv support vs. SMP systems

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Jul 14 05:16:00 GMT 2020


On 13/07/2020 19:16, Joseph Myers wrote:

> On Mon, 13 Jul 2020, Joel Sherrill wrote:
>
>> It does use the term "system variable" but that doesn't scope it to
>> process or thread.
> C11 (the first version of ISO C to introduce threads) says "The
> floating-point environment has thread storage duration. The initial state
> for a thread’s floating-point environment is the current state of the
> floating-point environment of the thread that creates it at the time of
> creation.".

Thanks for the clarification. Now I remember that I added this 
information to the RISC-V ABI description some time ago:

https://github.com/riscv/riscv-elf-psabi-doc/commit/bd8211964c20fbbc96fff743684f04e86732d1e5#diff-b74abb1c6b89ba2de7129c8fbae8bd11



More information about the Newlib mailing list