This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC optimizes integer overflow: bug or feature?


On Fri, 2006-12-22 at 12:30 -0500, Robert Dewar wrote:
> 
> > Maybe on x86, but on PPC, at least for the (current) Cell's PPU
> > misaligned accesses for most cases unaligned are optimal.
> 
> is that true across cache boundaries? 

For Cell, crossing the 32byte boundary causes the microcode to happen.
But the question is how often does that happen compare to non crossing,
I am willing to bet hardly at all, yes I need to test this and I am
going to have anyways for my job :).

-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]