Computer Chess Club Archives


Search

Terms

Messages

Subject: Question about register declarations i C.

Author: Flemming Rodler

Date: 13:35:51 05/06/00


Hi,

I am right in assuming that the register declaration i C is superfluous since
mordern compiles usually are very good at optimizing code without my advice as
to which variable are heavly used and should therefore be placed in a register?

I have tried to fiddle around with placing register declerations in front of
various variables in a move generation function that i am working on and it
seems to have no effect at all.

By the way im using gcc with -O3 turned on.


Thanks for any suggestions
Flemming



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.