Re: [gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-18 Thread Walter Dnes
On Sat, Dec 17, 2011 at 08:10:54PM -0500, Walter Dnes wrote The onboard GPU was initially incapable of handling 1080i video without stuttering badly and dropping frames. After explicitly changing the flags and rebuilding system+world+kernel, it displays 1080p videos flawlessly. That's one

[gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-18 Thread Nikos Chantziaras
On 12/18/2011 12:34 PM, Walter Dnes wrote: On Sat, Dec 17, 2011 at 08:10:54PM -0500, Walter Dnes wrote The onboard GPU was initially incapable of handling 1080i video without stuttering badly and dropping frames. After explicitly changing the flags and rebuilding system+world+kernel, it

Re: [gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-18 Thread Andrea Conti
Could be. It could also be it's because of -mfpmath=sse. AFAIK most video decoders (outside of reference implementations) are written using integer math only... -O3 is a much more likely candidate. andrea

[gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-17 Thread Nikos Chantziaras
On 12/17/2011 11:07 PM, Walter Dnes wrote: Then I ran gcc -march=native -Q --help=target and got a major shock. It's a long output listing of what -march=native thinks about my cpu. Here are some relevant items... -march= core2 -mmmx

Re: [gentoo-user] Re: -march=native is *EXTREMELY* conservative

2011-12-17 Thread Walter Dnes
On Sat, Dec 17, 2011 at 11:58:36PM +0200, Nikos Chantziaras wrote The output lies. It's a known issue. Use this instead: echo | gcc -dM -E - -march=native You should see stuff like: #define __MMX__ 1 #define __SSE3__ 1 The onboard GPU was initially incapable of handling