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] depend ix86_isa_flags on -march if there's a default


So, after the changes to darwin to use TARGET_SUBTARGET[32,64]_ISA_DEFAULTS we have a few additional failures in the testsuite due to our defaults overriding the defaults of the arch specified on the command line. I think that if you specify an arch on the command line you should get what you ask for and therefore this. One note is that it _also_ turns of the enabling of sse2 and below on TARGET_64BIT if you use an arch option that doesn't have them - but again, if you do that you probably have a reason.

Tested on x86 and x86_64-darwin. Fixes a few regressions.

OK?

-eric

2007-06-12 Eric Christopher <echristo@gmail.com>

	* config/i386/i386.c (override_options): If we've specified
	an arch then don't use TARGET_SUBTARGET_ISA_DEFAULTs.

Attachment: i386.c.diff.txt
Description: Text document



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