On Fri, Jun 11, 2010 at 03:40:16PM -0400, Mathieu Desnoyers wrote:
Doesn't gcc guarantee that accesses to aligned basic types that fit into
a machine word are loaded and stored in one shot? Now, gcc might choose
to load twice (or to merge loads) due to things like register pressure,
but given that ->sequence is an int, gcc should not be accessing it
(say) bytewise on any platform supporting 32-bit accesses.
Or am I suffering from wishful thinking here?
Thanx, Paul
--