Subject: Re: c compilers
To: Wojciech Puchar <wojtek@wojtek.3miasto.net>
From: Oleg Polyanski <Oleg.Polianski@clear.co.nz>
List: port-i386
Date: 10/14/2001 19:43:14
Wojciech Puchar <wojtek@wojtek.3miasto.net> writes:

> in fact gcc is annoying in it's structure etc. paddings.

 Misaligned data access will cause the slowdown of your program. When you are
 100% sure that you don't need any performance gain from compiler output, use
 the option `-fpack-struct'.

> once i've done a code with hundreds of 33*4 byte constants and gcc of
> course padded it to 32 byte boundary filling with zeros so 80% of code
> were zeros.

 `info gcc' will help you. 

Take care,
O