]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (has_dispatch): Use TARGET_BDVER1 and TARGET_BDVER2 defines where appropriate.
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 8 May 2012 06:56:11 +0000 (08:56 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 8 May 2012 06:56:11 +0000 (08:56 +0200)
* config/i386/i386.c (has_dispatch): Use TARGET_BDVER1 and
TARGET_BDVER2 defines where appropriate.

From-SVN: r187276

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

index f4437e661d89687f50fb01b320fcdd53232714ed..8a84a9081f274bcc4b4b846f46e22e7d16c9700d 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (has_dispatch): Use TARGET_BDVER1 and
+       TARGET_BDVER2 defines where appropriate.
+
 2012-05-07  Eric Botcazou  <ebotcazou@adacore.com>
 
        * configure.ac (PLUGIN_LD): Rename into...
@@ -48,9 +53,8 @@
 2012-05-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/53239
-       * tree-vrp.c (get_value_range): Set VR of
-       SSA_NAME_IS_DEFAULT_DEF of DECL_BY_REFERENCE RESULT_DECL
-       to nonnull.
+       * tree-vrp.c (get_value_range): Set VR of SSA_NAME_IS_DEFAULT_DEF
+       of DECL_BY_REFERENCE RESULT_DECL to nonnull.
 
 2012-05-07  Richard Guenther  <rguenther@suse.de>
 
index 953b668944324a3abed3b70aea4534dddc96447d..ecf4d6e9922c245b0f5551f02e7a4695f672feff 100644 (file)
@@ -39242,7 +39242,7 @@ do_dispatch (rtx insn, int mode)
 static bool
 has_dispatch (rtx insn, int action)
 {
-  if ((ix86_tune == PROCESSOR_BDVER1 || ix86_tune == PROCESSOR_BDVER2)
+  if ((TARGET_BDVER1 || TARGET_BDVER2)
       && flag_dispatch_scheduler)
     switch (action)
       {