[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] switching to multiple boards
From: |
Arend Bayer |
Subject: |
Re: [gnugo-devel] switching to multiple boards |
Date: |
Mon, 11 Apr 2005 19:09:45 +0200 (CEST) |
On Mon, 11 Apr 2005, Dave Denholm wrote:
> Paul Pogonyshev <address@hidden> writes:
>
> > I'm thinking of starting wrapping GNU Go board and related global
> > variables into a structure so that we can have several boards in
> > parallel. I remember being hostile to this idea a few years ago,
> > but maybe we will have to make GNU Go threaded eventually. Are
> > there any strong positive or negative opinions on this issue?
> >
>
> A potential benefit is that (the c compiler can generate code such that)
> one register keeps a pointer to that structure. Then accesses to the
> various globals can be accessed more efficiently.
Are you sure?? What is the advantage of relative addressing in the form
(%some register + constant) as compared to (constant)?
> Also, there could be cache benefits, since it can give more control
> over the ordering of the globals in memory.
Well, if the compiler decides to reorder the globals, isn't that his
problem?
Arend
- [gnugo-devel] switching to multiple boards, Paul Pogonyshev, 2005/04/09
- RE: [gnugo-devel] switching to multiple boards, Portela Fernando, 2005/04/11
- Re: [gnugo-devel] switching to multiple boards, Paul Pogonyshev, 2005/04/11
- Re: [gnugo-devel] switching to multiple boards, Gunnar Farnebäck, 2005/04/12
- Re: [gnugo-devel] switching to multiple boards, Paul Pogonyshev, 2005/04/13
- Re: [gnugo-devel] switching to multiple boards, Gunnar Farnebäck, 2005/04/14
- Re: [gnugo-devel] switching to multiple boards, David G Doshay, 2005/04/14
- Re: [gnugo-devel] switching to multiple boards, Gunnar Farnebäck, 2005/04/16
- Re: [gnugo-devel] switching to multiple boards, Trevor Morris, 2005/04/15
- Re: [gnugo-devel] switching to multiple boards, Paul Pogonyshev, 2005/04/15