lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Feb 16, 2011 at 06:43, KHMan <keinhong@gmail.com> wrote:
>>> Sorry to barge in, it is a worrying difference. One thing is bugging me:
>>> Is the C code running SSE2? IIRC gcc -O2 does not normally enable SSE2.
>>
>
> Checked the gcc 4.5.2 docs, AFAICT there is still a generic behaviour and
> it's not "-march=native". Still need to explicitly enable SSE2 if the
> compiler was not built with --with-fpmath=sse or something like that.
>

Or simply pass gcc option "-msse2".

--Leo--