Hi all,
I hoping that someone can give me a quick reply about an issue where gcc is not picking up the right cpu for optimizations from local_cpu_detect.
I am using gcc 4.8 and the output of gcc -c -Q -march=native --help=target returns "pentium-m" as the -march and -msse3 as "disabled.
However the cpu I have is a T2300 which has SSE3 and therefore "prescott" would be a better match.
Also it returns -mfpmath=387 where -mfpmath=sse would be preferable.
How can I best change the defaults in gcc on a permanent basis to reflect these options?
And what are the options avaiable to achieve this?
Kind Regards,
Kaz
Bookmarks