aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2012-05-08 08:56:11 +0200
committerUros Bizjak <uros@gcc.gnu.org>2012-05-08 08:56:11 +0200
commit536b0cb7af779dc7e417b2f91d9ca32382d3d203 (patch)
tree012cd32f087d712d3e7cf95e2e82a07320a3f805 /gcc
parentca9daea1efc5e003bf4137bb5a0ea814191b9de0 (diff)
downloadgcc-536b0cb7af779dc7e417b2f91d9ca32382d3d203.zip
gcc-536b0cb7af779dc7e417b2f91d9ca32382d3d203.tar.gz
gcc-536b0cb7af779dc7e417b2f91d9ca32382d3d203.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/i386/i386.c2
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)
{