[spu, commit] Define TARGET_HAVE_SPECULATION_SAFE_VALUE
authorUlrich Weigand <uweigand@de.ibm.com>
Mon, 6 Aug 2018 14:40:56 +0000 (14:40 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Mon, 6 Aug 2018 14:40:56 +0000 (14:40 +0000)
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
gcc/config/spu/spu.c

index c17a55ce83705eaedb08598b296a0b3a73e4ef09..c36cffa366a1d82154a3927f3b9c128673a88241 100644 (file)
@@ -1,3 +1,9 @@
+2018-08-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       PR target/86807
+       * config/spu/spu.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
+       Define to speculation_safe_value_not_needed.
+
 2018-08-06  Jeff Law  <law@redhat.com>
 
        * reload1.c (forget_old_reloads_1): Adjust CLOBBER_HIGH
index e2f45ddb72abc7849458373c53674921ccabc5cd..45dd2dc200962164f26f87df626b7a7e14450c33 100644 (file)
@@ -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"