From: Alex Musolino <alex@musolino.id.au>
To: 9front@9front.org
Subject: Re: [9front] ape modf infinite recursion
Date: Fri, 22 Jan 2021 14:57:29 +1030 [thread overview]
Message-ID: <DF333D35FBF66DF7B8B2BF77E3A53C45@musolino.id.au> (raw)
In-Reply-To: <ABFD8ED6-5269-49D5-85A6-8693BF646CC9@gmail.com>
We might need an isNaN check in there but it looks like we're also
generating the wrong code for the <0 comparison. 6c emits UCOMISD
followed by JCC. The UCOMISD will set all three ZF, PF, CF flags to 1
when either operand is NaN to indicate there is no ordering, but the
JCC only looks at CF and incorrectly determines that NaN < 0.
prev parent reply other threads:[~2021-01-22 4:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 3:00 Xiao-Yong Jin
2021-01-22 4:20 ` [9front] " Anthony Martin
2021-01-22 17:06 ` [9front] " Xiao-Yong Jin
2021-01-22 17:21 ` Xiao-Yong Jin
2021-01-23 14:54 ` cinap_lenrek
2021-01-22 4:27 ` Alex Musolino [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DF333D35FBF66DF7B8B2BF77E3A53C45@musolino.id.au \
--to=alex@musolino.id.au \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).