🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #1321

Re: gcc - asm inline

#1321
From: Wojciech Muła
Date: Mon, 09 Jul 2007 09:59
15 lines
1091 bytes
utak3r wrote:
> Mam taki kod:
>
> inline void fsincos(double theta, double *s, double *c)
> {
>   __asm__ (
>      "fld %2 \n"
>      "fsincos \n"
>      "fstp %1 \n"
>      "fstp %0 \n"
>      "fwait \n"

BTW fwait niepotrzebne.

w.
Technical Details
Message-ID: <slrnf941e4.2jn.wojciech_mula@cat.tac>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f6so7v$h7m$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Wojciech Muła
 <wojciech_mula@poczta.null.onet.pl.invalid>
Newsgroups: pl.comp.lang.asm
Subject: Re: gcc - asm inline
Date: Mon, 9 Jul 2007 09:59:00 +0000 (UTC)
Organization: http://www.mula.w.pl
Lines: 16
Message-ID: <slrnf941e4.2jn.wojciech_mula@cat.tac>
References: <f6so7v$h7m$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: acxg30.neoplus.adsl.tpnet.pl
X-Trace: nemesis.news.tpi.pl 1183975140 11390 83.11.164.30 (9 Jul 2007 09:59:00 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 9 Jul 2007 09:59:00 +0000 (UTC)
User-Agent: slrn/0.9.8.1pl1 (Debian)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit