pdp11 - example of a port not needing a speculation barrier
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 31 Jul 2018 17:36:45 +0000 (17:36 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Tue, 31 Jul 2018 17:36:45 +0000 (17:36 +0000)
commit31f52518d4a2c1446692c35de01f3b54f2f544c7
treed1bef133378d63099894954f28c50d1115e806d4
parentf3debef33629f8e8a95b5ed0cb79296e7a0282df
pdp11 - example of a port not needing a speculation barrier

This patch is intended as an example of all that is needed if the
target system doesn't support CPUs that have speculative execution.
I've chosen the pdp11 port on the basis that it's old enough that this
is likely to be true for all existing implementations and that there
is also little chance of that changing in future!

* config/pdp11/pdp11.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine
to speculation_safe_value_not_needed.

From-SVN: r263176
gcc/ChangeLog
gcc/config/pdp11/pdp11.c