mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 06:04:30 +08:00
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
This commit is contained in:
parent
0186a143cb
commit
87a902e411
@ -1,3 +1,13 @@
|
||||
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
|
||||
|
@ -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")])
|
||||
|
Loading…
Reference in New Issue
Block a user