OSDN Git Service

* i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Jun 2003 16:32:58 +0000 (16:32 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Jun 2003 16:32:58 +0000 (16:32 +0000)
specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67590 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h

index 77c48b4..58bba21 100644 (file)
@@ -1,3 +1,8 @@
+Sat Jun  7 18:32:13 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
+       specified.
+
 Sat Jun  7 15:20:01 CEST 2003  Jan Hubicka  <jh@suse.cz>
 
        * Makefile.in (stageprofile_build): Kill redundant target.
index 0efbcba..79c81be 100644 (file)
@@ -15662,7 +15662,7 @@ k8_avoid_jump_misspredicts ()
 
       nbytes += min_insn_size (insn);
       if (rtl_dump_file)
-        fprintf(stderr,"Insn %i estimated to %i bytes\n",
+        fprintf(rtl_dump_file, "Insn %i estimated to %i bytes\n",
                INSN_UID (insn), min_insn_size (insn));
       if ((GET_CODE (insn) == JUMP_INSN
           && GET_CODE (PATTERN (insn)) != ADDR_VEC
index a2f77bd..536e61b 100644 (file)
@@ -499,8 +499,8 @@ extern int x86_prefetch_sse;
 /* Support for configure-time defaults of some command line options.  */
 #define OPTION_DEFAULT_SPECS \
   {"arch", "%{!march=*:-march=%(VALUE)}"}, \
-  {"tune", "%{!mtune=*:%{!mcpu=*:-mtune=%(VALUE)}}" }, \
-  {"cpu", "%{!mtune=*:%{!mcpu=*:-mtune=%(VALUE)}}" }
+  {"tune", "%{!mtune=*:%{!mcpu=*:%{!march=*:-mtune=%(VALUE)}}}" }, \
+  {"cpu", "%{!mtune=*:%{!mcpu=*:%{!march=*:-mtune=%(VALUE)}}}" }
 
 /* Specs for the compiler proper */