aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2018-08-06 14:40:56 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2018-08-06 14:40:56 +0000
commit2f171da9ccea4fc9c7918e22e6485b49626f8730 (patch)
treecebf7d128d6dd4b9ac881c76b45290aa6ead9ce2 /gcc
parent5dc096267cd29d890f32453da771a45c5b639c55 (diff)
downloadgcc-2f171da9ccea4fc9c7918e22e6485b49626f8730.zip
gcc-2f171da9ccea4fc9c7918e22e6485b49626f8730.tar.gz
gcc-2f171da9ccea4fc9c7918e22e6485b49626f8730.tar.bz2
[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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/spu/spu.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c17a55c..c36cffa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c
index e2f45dd..45dd2dc 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"