This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Embedded Assembly and MMX in GCC
Alexandre Oliva <aoliva@redhat.com> writes:
|> On Dec 11, 2001, "Mark Cuss" <mcuss@cdlsystems.com> wrote:
|>
|> > __asm__("movq $1, %mm0);
|>
|> I suppose you're missing a `"' after `%mm0'.
|>
|> Note that `%' is an active character in inline assembly, mostly like
|> printf. If you want a `%' to get through to the output assembly,
|> double it.
Only if the asm has parameters. Without parameters no % directives are
processed.
Andreas.
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5