Commit bf9e9dc5 by Claudiu Zissulescu Committed by Claudiu Zissulescu

[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
parent 67a96300
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.
2015-12-14 Claudiu Zissulescu <claziss@synopsys.com>
Andrew Burgess <andrew.burgess@embecosm.com>
* config/arc/arc.c (frame_move): Set frame related flag.
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment