diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2015-12-14 10:59:02 +0100 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2015-12-14 10:59:02 +0100 |
commit | bf9e9dc52ee14891676e36e758680bcc35801de4 (patch) | |
tree | 73147551c527d179d30ab7099f1375dcffd35d9b /gcc/config | |
parent | 67a9630010d8c52f72b0a4227cb71bfdbf27188e (diff) | |
download | gcc-bf9e9dc52ee14891676e36e758680bcc35801de4.zip gcc-bf9e9dc52ee14891676e36e758680bcc35801de4.tar.gz gcc-bf9e9dc52ee14891676e36e758680bcc35801de4.tar.bz2 |
[ARC] Use TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P hook.
gcc/
2015-12-14 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P):
Provide target hook.
(arc_no_speculation_in_delay_slots_p): New function.
From-SVN: r231609
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arc/arc.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 2646c3a..513d138 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -558,6 +558,10 @@ static void arc_finalize_pic (void); #define TARGET_INSN_LENGTH_PARAMETERS arc_insn_length_parameters +#undef TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P +#define TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P \ + arc_no_speculation_in_delay_slots_p + #undef TARGET_LRA_P #define TARGET_LRA_P arc_lra_p #define TARGET_REGISTER_PRIORITY arc_register_priority @@ -10057,6 +10061,14 @@ arc_expand_atomic_op (enum rtx_code code, rtx mem, rtx val, arc_post_atomic_barrier (model); } +/* Implement TARGET_NO_SPECULATION_IN_DELAY_SLOTS_P. */ + +static bool +arc_no_speculation_in_delay_slots_p () +{ + return true; +} + struct gcc_target targetm = TARGET_INITIALIZER; #include "gt-arc.h" |