Commit 87a902e4 by Kazu Hirata

h8300-protos.h: Update the prototype for compute_plussi_cc.

	* config/h8300/h8300-protos.h: Update the prototype for
	compute_plussi_cc.
	(cpp_reader): Declare before it is used.
	* config/h8300/h8300.c (compute_plussi_cc): Change the return
	type to int.
	* config/h8300/h8300.md (monitor_prologue): Call abort() if we
	see an unknown H8 variant.

From-SVN: r62141
parent 0186a143
2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300-protos.h: Update the prototype for
compute_plussi_cc.
(cpp_reader): Declare before it is used.
* config/h8300/h8300.c (compute_plussi_cc): Change the return
type to int.
* config/h8300/h8300.md (monitor_prologue): Call abort() if we
see an unknown H8 variant.
2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR target/9316
* config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
......
......@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
#ifdef RTX_CODE
extern const char *output_plussi PARAMS ((rtx *));
extern unsigned int compute_plussi_length PARAMS ((rtx *));
extern enum attr_cc compute_plussi_cc PARAMS ((rtx *));
extern int compute_plussi_cc PARAMS ((rtx *));
extern const char *output_a_shift PARAMS ((rtx *));
extern unsigned int compute_a_shift_length PARAMS ((rtx, rtx *));
extern const char *emit_a_rotate PARAMS ((enum rtx_code, rtx *));
......@@ -95,6 +95,7 @@ extern void asm_file_start PARAMS ((FILE *));
extern void asm_file_end PARAMS ((FILE *));
extern int h8300_initial_elimination_offset PARAMS ((int, int));
struct cpp_reader;
extern void h8300_pr_interrupt PARAMS ((struct cpp_reader *));
extern void h8300_pr_saveall PARAMS ((struct cpp_reader *));
......
......@@ -2082,7 +2082,7 @@ compute_plussi_length (operands)
}
}
enum attr_cc
int
compute_plussi_cc (operands)
rtx *operands;
{
......
......@@ -1963,6 +1963,7 @@
return \"mov.l\\ter0,@-er7\;stc\\tccr,r0l\;mov.b\\tr0l,@(4,er7)\;mov.l\\t@er7+,er0\;orc\\t#128,ccr\";
else if (TARGET_H8300S)
return \"stc\texr,@-er7\;mov.l\\ter0,@-er7\;stc\tccr,r0l\;mov.b\tr0l,@(6,er7)\;mov.l\\t@er7+,er0\;orc\t#128,ccr\";
abort ();
}"
[(set_attr "length" "20")
(set_attr "cc" "clobber")])
......
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