On Thursday 21 August 2003 03:37, Meka[ni] wrote:
>       I'm using "-O3 -march=pentium2 -mmmx -ffast-math -fomit-frame-pointer
> -pipe" as CFLAGS (and CXXFLAGS), and I wonder if -mmmx may be omited. The
> actual question is, does -march=xxx includes mmx, mmx2, 3dnow, 3dnow2, sse
> and sse2 for appropriate arch? And what to use as CFLAGS for my Celeron
> 300A (Mendocino)? Thanx a lot. :o)

There's quite a bit of discussion on this in the forums, although it's quite 
hard to find (among the many many pages in each forum). Basically, -march 
doesn't add -mmx when using gcc 3.2. However, that's because gcc 3.2 doesn't 
really support the extensions. If you do add it, gcc adds -mno-mmx without 
telling you. Adding it with gcc 3.3 works, but I believe -march will add it 
where appropriate, anyway.

Regards,
Jason


--
[EMAIL PROTECTED] mailing list

Reply via email to