[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] paul_3_13.6

From: Paul Pogonyshev
Subject: Re: [gnugo-devel] paul_3_13.6
Date: Wed, 11 Dec 2002 00:31:55 +0200

Dave wrote:
> gcc has something like __attribute__

> from info page :

> `aligned (ALIGNMENT)'
>      This attribute specifies a minimum alignment for the variable or
>      structure field, measured in bytes.  For example, the declaration:

>           int x __attribute__ ((aligned (16))) = 0;

well, i think you can try it and see the effect. we can
use the __attribute__ thing with configuration script.
however, no one has even made GG_INLINE yet...

> IIRC, it was using EDI for spiral[l]  and it used a simple register for row.
> IIRC, %EDI is less general-purpose than other registers ..?

from computational point of view, it is the same. there are
differences: you cannot access the two lowest bytes of it
(like AL and AH in EAX). it is also often used in string
commands (e.g. memory copying or scanning or sequential
loading). but you can multiply it and use in other arithmetic
operations (and in addressing) as the other 7 registers.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]