On Tue, Mar 16, 2010 at 9:48 PM, Tristan Gingold <ging...@adacore.com> wrote:
>
> On Mar 16, 2010, at 4:37 PM, Alexey Salmin wrote:
>>>> I am interested in an -mstrict-alignment option for x86.
>>>
>>> Not sure it will be useful.  The libc still does unaligned accesses IIRC.
>>>
>>
>> Wow. What for?
>
> Well, simply because it is not compiled with strict alignment.  There might 
> also be some optimization in
> memory operation that does unaligned accesses.

I always thought that unaligned access is much slower than aligned
one. You mean code-size optimizations?

Alexey

Reply via email to