From 2f171da9ccea4fc9c7918e22e6485b49626f8730 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 6 Aug 2018 14:40:56 +0000 Subject: [PATCH] [spu, commit] Define TARGET_HAVE_SPECULATION_SAFE_VALUE The SPU processor is not affected by speculation, so this macro can safely be defined as speculation_safe_value_not_needed. gcc/ChangeLog: PR target/86807 * config/spu/spu.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263335 --- gcc/ChangeLog | 6 ++++++ gcc/config/spu/spu.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c17a55ce837..c36cffa366a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-08-06 Ulrich Weigand + + PR target/86807 + * config/spu/spu.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): + Define to speculation_safe_value_not_needed. + 2018-08-06 Jeff Law * reload1.c (forget_old_reloads_1): Adjust CLOBBER_HIGH diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index e2f45ddb72a..45dd2dc2009 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -7463,6 +7463,9 @@ static const struct attribute_spec spu_attribute_table[] = #undef TARGET_CONSTANT_ALIGNMENT #define TARGET_CONSTANT_ALIGNMENT spu_constant_alignment +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-spu.h" -- 2.30.2