Article View: gnu.gcc.help
Article #53085Help: using the extended asm feature for the sparc
From: Seth C. Goldstein
Date: Sat, 14 Mar 1992 20:14
Date: Sat, 14 Mar 1992 20:14
15 lines
960 bytes
960 bytes
I am using the asm feature of gcc and don't know how to write the
code to do two consecutive stores to a long long (or a float, etc.).
I would like to produce the following asm code:
st %i1, [%i0+0x4c]
st %i2, [%i0+0x4e]
The follwing asm statment generates line 1 above
asm ("st %%i1,%0" :: "" (fp->arg));
how do I produce the second word of fp->arg?
-sethg
Technical Details
Message-ID:
<SETHG.92Mar14201420@boing.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!agate!sethgShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,769f2165709fd66e,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-14 20:24:13 PST Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!agate!sethg From: sethg@boing.Berkeley.EDU (Seth C. Goldstein) Newsgroups: gnu.gcc.help Subject: Help: using the extended asm feature for the sparc Date: 14 Mar 92 20:14:20 Organization: /home/auspex/b/threadid/sethg/.organization Lines: 17 Distribution: world Message-ID: <SETHG.92Mar14201420@boing.Berkeley.EDU> NNTP-Posting-Host: boing.berkeley.edu