diff options
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4437e6..8a84a90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 953b668..ecf4d6e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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) { |