Message-ID: <336870D8.7089@silesia.top.pl> Date: Thu, 01 May 1997 12:30:48 +0200 From: Michal MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Alignment References: Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Precedence: bulk Eli Zaretskii wrote: > They don't have to be, 32 byte alignment is all that's needed AFAIK. Sorry, I mean ofcoure 64bit(8 byte) not 64 byte boundary. > > I would guess that's because of the effects related to the CPU cache. If > you really care, you could disable the caches and see if adding an int > variable changes anything. > > But why should you care that much about 10%? In my experience, such > effects are highly dependant on the particular CPU and motherboard that > you are running on, so why bother? I have checked the address of the first double, it have increased by 4 bytes when I have added an int beafore.