9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Joel Salomon <JoelCSalomon@Gmail.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] NaN(2)
Date: Tue, 20 Feb 2007 21:26:58 -0500	[thread overview]
Message-ID: <bf1c89a1c72ddd7baa5886c338bb32be@plan9.jp> (raw)
In-Reply-To: <57ea5e1baed2dc4b766b5c7a962c611b@coraid.com>

> this might be an alignment problem.  but that's a wild guess.

I think not:
acid: SP
0x00000044

> you could rewrite NaN in assembler and adjust the stack frame
> by hand.

I could.  It’s just hard to believe I’m the first to run across this
problem with NaN(2).

> you need a processor manual.

Have a few at home.  Trouble is, I’m at school now.

> fwiw, i think the gas construction syntax is this:
> 
> dd 44 24 04	fldl	0x04(%esp,1)

FLD, got it.  I’m trying to get acid to dump the hex bytes of the
FMOVD instruction so I can confirm that these are the same, but I’m not finding it in the manual.

--Joel



  reply	other threads:[~2007-02-21  2:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 23:55 Joel Salomon
2007-02-21  0:00 ` Joel C. Salomon
2007-02-21  0:20   ` Joel Salomon
2007-02-21  1:00     ` erik quanstrom
2007-02-21  2:26       ` Joel Salomon [this message]
2007-02-21  4:18         ` erik quanstrom
2007-02-21  4:35           ` Joel C. Salomon
2007-02-21  5:10           ` Joel C. Salomon
2007-02-21  5:50 ` Russ Cox

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=bf1c89a1c72ddd7baa5886c338bb32be@plan9.jp \
    --to=joelcsalomon@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).