This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Don't imply 3DNow! on x86-64


Hi!

Intel's Nocona chips don't have 3DNow! instructions.  The following
patch changes -m64 to avoid implying -m3dnow, so that code compiled
with -m64 can be usable on both platforms.  -march=k8, -march=opteron,
-march=athlon64 and -march=athlon-fx will still imply -m3dnow, or it
can be requested with -m3dnow.  -m64 (and -march=x86-64) should be the lowest
common denominator, once the Intel IA-32e chips are added to -march table
they'll have on the other side SSE3 etc.
Ok for trunk/3.4 (the first patch) and 3.3 (second patch)?

	Jakub

Attachment: gcc-m64-no3dnow.patch
Description: Text document

Attachment: gcc33-m64-no3dnow.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]