OSDN Git Service

Make TARGET_SUBTARGET32_ISA_DEFAULT the same as
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Feb 2010 17:55:16 +0000 (17:55 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Feb 2010 17:55:16 +0000 (17:55 +0000)
TARGET_SUBTARGET64_ISA_DEFAULT for Darwin/x86.

2010-02-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Make
it the same as TARGET_SUBTARGET64_ISA_DEFAULT.

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

gcc/ChangeLog
gcc/config/i386/darwin.h

index d80793f..da1fd40 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Make
+       it the same as TARGET_SUBTARGET64_ISA_DEFAULT.
+
 2010-02-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * doc/invoke.texi (Warning Options, RX Options): Fix typos.
index eb9ee70..49863a6 100644 (file)
@@ -162,14 +162,12 @@ extern void darwin_x86_file_end (void);
 #undef TARGET_SUBTARGET32_ISA_DEFAULT
 #define TARGET_SUBTARGET32_ISA_DEFAULT (OPTION_MASK_ISA_MMX            \
                                        | OPTION_MASK_ISA_SSE           \
-                                       | OPTION_MASK_ISA_SSE2)
-
-#undef TARGET_SUBTARGET64_ISA_DEFAULT
-#define TARGET_SUBTARGET64_ISA_DEFAULT (OPTION_MASK_ISA_MMX            \
-                                       | OPTION_MASK_ISA_SSE           \
                                        | OPTION_MASK_ISA_SSE2          \
                                        | OPTION_MASK_ISA_SSE3)
 
+#undef TARGET_SUBTARGET64_ISA_DEFAULT
+#define TARGET_SUBTARGET64_ISA_DEFAULT TARGET_SUBTARGET32_ISA_DEFAULT
+
 /* For now, disable dynamic-no-pic.  We'll need to go through i386.c
    with a fine-tooth comb looking for refs to flag_pic!  */
 #define MASK_MACHO_DYNAMIC_NO_PIC 0