1 /* Definitions of target machine for GNU compiler, Argonaut ARC cpu.
2 Copyright (C) 2000 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
23 extern void arc_va_start
PARAMS ((tree
, rtx
));
24 extern rtx arc_va_arg
PARAMS ((tree
, tree
));
25 #endif /* TREE_CODE */
27 extern enum machine_mode arc_select_cc_mode
PARAMS ((enum rtx_code
, rtx
, rtx
));
29 /* Define the function that build the compare insn for scc and bcc. */
30 extern struct rtx_def
*gen_compare_reg
PARAMS ((enum rtx_code
, rtx
, rtx
));
32 /* Declarations for various fns used in the .md file. */
33 extern const char *output_shift
PARAMS ((rtx
*));
35 extern int symbolic_operand
PARAMS ((rtx
, enum machine_mode
));
36 extern int arc_double_limm_p
PARAMS ((rtx
));
37 extern int arc_eligible_for_epilogue_delay
PARAMS ((rtx
, int));
38 extern void arc_initialize_trampoline
PARAMS ((rtx
, rtx
, rtx
));
39 extern void arc_print_operand
PARAMS ((FILE *, rtx
, int));
40 extern void arc_print_operand_address
PARAMS ((FILE *, rtx
));
41 extern void arc_final_prescan_insn
PARAMS ((rtx
, rtx
*, int));
42 extern int call_address_operand
PARAMS ((rtx
, enum machine_mode
));
43 extern int call_operand
PARAMS ((rtx
, enum machine_mode
));
44 extern int symbolic_memory_operand
PARAMS ((rtx
, enum machine_mode
));
45 extern int short_immediate_operand
PARAMS ((rtx
, enum machine_mode
));
46 extern int long_immediate_operand
PARAMS ((rtx
, enum machine_mode
));
47 extern int long_immediate_loadstore_operand
PARAMS ((rtx
, enum machine_mode
));
48 extern int move_src_operand
PARAMS ((rtx
, enum machine_mode
));
49 extern int move_double_src_operand
PARAMS ((rtx
, enum machine_mode
));
50 extern int move_dest_operand
PARAMS ((rtx
, enum machine_mode
));
51 extern int load_update_operand
PARAMS ((rtx
, enum machine_mode
));
52 extern int store_update_operand
PARAMS ((rtx
, enum machine_mode
));
53 extern int nonvol_nonimm_operand
PARAMS ((rtx
, enum machine_mode
));
54 extern int const_sint32_operand
PARAMS ((rtx
, enum machine_mode
));
55 extern int const_uint32_operand
PARAMS ((rtx
, enum machine_mode
));
56 extern int proper_comparison_operator
PARAMS ((rtx
, enum machine_mode
));
57 extern int shift_operator
PARAMS ((rtx
, enum machine_mode
));
61 extern enum arc_function_type arc_compute_function_type
PARAMS ((tree
));
62 extern void arc_setup_incoming_varargs
PARAMS ((CUMULATIVE_ARGS
*,
63 enum machine_mode
, tree
,
65 #endif /* TREE_CODE */
68 extern void arc_init
PARAMS ((void));
69 extern unsigned int arc_compute_frame_size
PARAMS ((int));
70 extern void arc_save_restore
PARAMS ((FILE *, const char *, unsigned int,
71 unsigned int, const char *));
72 extern int arc_delay_slots_for_epilogue
PARAMS ((void));
73 extern void arc_finalize_pic
PARAMS ((void));
74 extern void arc_ccfsm_at_label
PARAMS ((const char *, int));
75 extern int arc_ccfsm_branch_deleted_p
PARAMS ((void));
76 extern void arc_ccfsm_record_branch_deleted
PARAMS ((void));