From: Ulrich Weigand Date: Mon, 6 Aug 2018 14:40:56 +0000 (+0000) Subject: [spu, commit] Define TARGET_HAVE_SPECULATION_SAFE_VALUE X-Git-Tag: basepoints/gcc-10~4881 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f171da9ccea4fc9c7918e22e6485b49626f8730;p=thirdparty%2Fgcc.git [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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c17a55ce8370..c36cffa366a1 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 e2f45ddb72ab..45dd2dc20096 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"