Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Ian Lance Taylor
This question is not appropriate for the gcc@gcc.gnu.org mailing list. It would be appropriate on the [EMAIL PROTECTED] mailing list. Thanks. [EMAIL PROTECTED] writes: I am wondering if i have used -O, -O2 or -O3, do i still benifit from flags such as -march -fmpmath -ffast-math -mmx -sse

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Mike Stump
On Jul 4, 2006, at 7:43 PM, [EMAIL PROTECTED] wrote: The codec is at http://www.sourceforge.net/projects/openavs/. Currently, it requires a 3Ghz or better CPU to get a resonable framerate. I would like the codec to be useful even on 586 ( 1Ghz or so ). Any ideas? Recode slower parts in

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Rene Rebe
Hi, On Wednesday 05 July 2006 19:57, Mike Stump wrote: On Jul 4, 2006, at 7:43 PM, [EMAIL PROTECTED] wrote: The codec is at http://www.sourceforge.net/projects/openavs/. Currently, it requires a 3Ghz or better CPU to get a resonable framerate. I would like the codec to be useful even on

RE: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Dave Korn
On 05 July 2006 19:11, Rene Rebe wrote: Hi, On Wednesday 05 July 2006 19:57, Mike Stump wrote: On Jul 4, 2006, at 7:43 PM, [EMAIL PROTECTED] wrote: The codec is at http://www.sourceforge.net/projects/openavs/. Currently, it requires a 3Ghz or better CPU to get a resonable framerate. I

Re: Does SIMD optimization of GCC 3.4.6 work?

2006-07-05 Thread Rene Rebe
Hi, On Wednesday 05 July 2006 20:26, Dave Korn wrote: I believe Lionel's real problem is likely to be that he was hoping that turning on the -mmx -sse -sse2 -3dnow options would auto-vectorise his code for him. Lionel, (IIUIC) those options just /enable/ the use of the various SIMD

Does SIMD optimization of GCC 3.4.6 work?

2006-07-04 Thread zhou13
Hello GCC list: I am wondering if i have used -O, -O2 or -O3, do i still benifit from flags such as -march -fmpmath -ffast-math -mmx -sse -sse2 -3dnow? I am optimizing a video codec and i see barely any performance difference whether i use just -O2 or -ffast-math -march=athlon-xp -mmmx -msse