From: uweigand Date: Mon, 6 Aug 2018 14:40:56 +0000 (+0000) Subject: [spu, commit] Define TARGET_HAVE_SPECULATION_SAFE_VALUE X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41af5cf444097977a9dbc9841013e46fdbc24c2e;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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263335 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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"