Author: Anthony Cozzie
Date: 14:09:34 05/21/04
Go up one level in this thread
On May 21, 2004 at 14:03:27, Dieter Buerssner wrote:
>On May 21, 2004 at 09:23:01, Anthony Cozzie wrote:
>
>>This is my personal inline assembly reference:
>>
>>http://www.delorie.com/djgpp/doc/brennan/brennan_att_inline_djgpp.html
>
>This is a bit outdated (and wrong). For example:
>
>asm ("cld\n\t"
> "rep\n\t"
> "stosl"
> : /* no output registers */
> : "c" (count), "a" (fill_value), "D" (dest)
> : "%ecx", "%edi" );
>
>This will not work with current Gcc. Some years ago, the changed Gcc, to not
>allow input registers in the clobber list (this was a non backwards compatible
>change). I think I reported this problem (together with a few others) of the
>brennan document over 5 years ago.
>
>Regards,
>Dieter
Yes, I had to find that one out myself :)
But it has a good description of just about everything in this thread.
anthony
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.