From: Charles Forsyth <forsyth@terzarima.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] FLD1
Date: Thu, 4 Mar 2004 21:07:15 +0000 [thread overview]
Message-ID: <7f8dfc10571361dfb4d84be6064422d7@terzarima.net> (raw)
In-Reply-To: <200403042058.i24KwJB3059225@adat.davidashen.net>
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
the following generates FLD1
#include <u.h>
#include <libc.h>
double
x(void)
{
return 1.5;
}
void
main(int, char**)
{
double v;
v = x();
print("%g\n", ++v);
}
[-- Attachment #2: Type: message/rfc822, Size: 2121 bytes --]
From: David Tolpin <dvd@davidashen.net>
To: 9fans@cse.psu.edu
Subject: [9fans] FLD1
Date: Fri, 5 Mar 2004 00:58:19 +0400 (AMT)
Message-ID: <200403042058.i24KwJB3059225@adat.davidashen.net>
What are code patterns for FLD1? I an reading a text about x86 assembly lng,
and will look into source code of the compiler, but I tried and could not
right a simple function that generates this instruction.
David
prev parent reply other threads:[~2004-03-04 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 20:58 David Tolpin
2004-03-04 21:07 ` Charles Forsyth [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=7f8dfc10571361dfb4d84be6064422d7@terzarima.net \
--to=forsyth@terzarima.net \
--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).