This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: MS/CW-style inline assembly for GCC
- From: Kevin Atkinson <kevina at gnu dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Stan Shebs <shebs at apple dot com>,Mark Mitchell <mark at codesourcery dot com>,Matt Austern <austern at apple dot com>, <gcc at gcc dot gnu dot org>,Mike Stump <mrs at apple dot com>, Dale Johannesen <dalej at apple dot com>
- Date: Sat, 8 May 2004 01:45:24 -0400 (EDT)
- Subject: Re: MS/CW-style inline assembly for GCC
On Fri, 7 May 2004, Richard Henderson wrote:
> Of course, that MacMAME garbage that was posted eariler, where the
> entire function is inline assembly, is just stupid. That deserves
> to fail.
I would disagree. Having an entire function in inline assembly could be
useful. For example it will free the user from having to worry about the
exact calling conventions used. This is especially useful when they can
change based on the optimization level or other flags.
--
http://kevin.atkinson.dhs.org