From: Uros Bizjak Date: Tue, 8 May 2012 06:56:11 +0000 (+0200) Subject: i386.c (has_dispatch): Use TARGET_BDVER1 and TARGET_BDVER2 defines where appropriate. X-Git-Tag: misc/gccgo-go1_1_2~3035 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=536b0cb7af779dc7e417b2f91d9ca32382d3d203;p=thirdparty%2Fgcc.git i386.c (has_dispatch): Use TARGET_BDVER1 and TARGET_BDVER2 defines where appropriate. * config/i386/i386.c (has_dispatch): Use TARGET_BDVER1 and TARGET_BDVER2 defines where appropriate. From-SVN: r187276 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4437e661d89..8a84a9081f27 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-08 Uros Bizjak + + * config/i386/i386.c (has_dispatch): Use TARGET_BDVER1 and + TARGET_BDVER2 defines where appropriate. + 2012-05-07 Eric Botcazou * configure.ac (PLUGIN_LD): Rename into... @@ -48,9 +53,8 @@ 2012-05-07 Jakub Jelinek 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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 953b66894432..ecf4d6e9922c 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) {