Commit 31113446 by Michael Hayes Committed by Michael Hayes

c4x.h (c4x_compare_op0, [...]): Move ...

2000-02-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

	* config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
	(c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
	(c4x_cpu_version): Ditto.
	* config/c4x/c4x-protos.h: ... here.

From-SVN: r31799
parent e40a1c67
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
(c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
(c4x_cpu_version): Ditto.
* config/c4x/c4x-protos.h: ... here.
2000-02-04 Jason Merrill <jason@casey.cygnus.com> 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
* dwarf2out.c (add_abstract_origin_attribute): Don't call * dwarf2out.c (add_abstract_origin_attribute): Don't call
......
...@@ -65,6 +65,8 @@ extern struct rtx_def *c4x_gen_compare_reg PARAMS ((enum rtx_code, rtx, rtx)); ...@@ -65,6 +65,8 @@ extern struct rtx_def *c4x_gen_compare_reg PARAMS ((enum rtx_code, rtx, rtx));
extern int c4x_check_legit_addr PARAMS ((enum machine_mode, rtx, int)); extern int c4x_check_legit_addr PARAMS ((enum machine_mode, rtx, int));
extern int c4x_hard_regno_mode_ok PARAMS ((int, enum machine_mode));
extern struct rtx_def *c4x_legitimize_address PARAMS ((rtx, extern struct rtx_def *c4x_legitimize_address PARAMS ((rtx,
enum machine_mode)); enum machine_mode));
...@@ -262,5 +264,14 @@ extern rtx floatunshiqf2_libfunc; ...@@ -262,5 +264,14 @@ extern rtx floatunshiqf2_libfunc;
extern rtx floathihf2_libfunc; extern rtx floathihf2_libfunc;
extern rtx floatunshihf2_libfunc; extern rtx floatunshihf2_libfunc;
extern struct rtx_def *c4x_compare_op0; /* Operand 0 for comparisons. */
extern struct rtx_def *c4x_compare_op1; /* Operand 1 for comparisons. */
#endif /* RTX_CODE */ #endif /* RTX_CODE */
/* Smallest class containing REGNO. */
extern enum reg_class c4x_regclass_map[];
extern enum machine_mode c4x_caller_save_map[];
extern int c4x_rpts_cycles; /* Max cycles for RPTS. */
extern int c4x_cpu_version; /* Cpu version C30/31/32/40/44. */
...@@ -818,7 +818,7 @@ enum reg_class ...@@ -818,7 +818,7 @@ enum reg_class
(IS_INDEX_REGNO(REGNO) || IS_INDEX_REGNO((unsigned)reg_renumber[REGNO])) (IS_INDEX_REGNO(REGNO) || IS_INDEX_REGNO((unsigned)reg_renumber[REGNO]))
/* If we have to generate framepointer + constant prefer an ADDR_REGS /* If we have to generate framepointer + constant prefer an ADDR_REGS
register. This avoids using EXT_REGS in addqi3_noclobber_reload. */ register. This avoids using EXT_REGS in addqi3_noclobber_reload. */
#define PREFERRED_RELOAD_CLASS(X, CLASS) \ #define PREFERRED_RELOAD_CLASS(X, CLASS) \
(GET_CODE (X) == PLUS \ (GET_CODE (X) == PLUS \
...@@ -2672,16 +2672,3 @@ if (final_sequence != NULL_RTX) \ ...@@ -2672,16 +2672,3 @@ if (final_sequence != NULL_RTX) \
{"parallel_operand", {SUBREG, REG, MEM}}, \ {"parallel_operand", {SUBREG, REG, MEM}}, \
{"symbolic_address_operand", {SYMBOL_REF, LABEL_REF, CONST}}, \ {"symbolic_address_operand", {SYMBOL_REF, LABEL_REF, CONST}}, \
{"mem_operand", {MEM}}, {"mem_operand", {MEM}},
/* Variables in c4x.c */
/* Smallest class containing REGNO. */
extern enum reg_class c4x_regclass_map[];
extern enum machine_mode c4x_caller_save_map[];
extern struct rtx_def *c4x_compare_op0; /* Operand 0 for comparisons. */
extern struct rtx_def *c4x_compare_op1; /* Operand 1 for comparisons. */
extern int c4x_rpts_cycles; /* Max cycles for RPTS. */
extern int c4x_cpu_version; /* Cpu version C30/31/32/40/44. */
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