Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Jan 2020 08:31:22 +1100 (AEDT)
From: Damian McGuckin <damianm@....com.au>
To: musl@...ts.openwall.com
Subject: Re: Considering x86-64 fenv.s to C

On Thu, 16 Jan 2020, Rich Felker wrote:

> That's one point of having the high level logic in C: not having to
> repeat it in each arch where it's potentially subtly wrong. The C code
> should check the validity of the mask before attempting to use the
> arch primitive to set it.

All check it but

a)	most then mask away the rubbish, and then use it, but

b)	the 68k simply gives up and returns (-1).

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

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.