Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/riscv/riscv-protos.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Definition of RISC-V target for GNU compiler. | 1 /* Definition of RISC-V target for GNU compiler. |
2 Copyright (C) 2011-2017 Free Software Foundation, Inc. | 2 Copyright (C) 2011-2018 Free Software Foundation, Inc. |
3 Contributed by Andrew Waterman (andrew@sifive.com). | 3 Contributed by Andrew Waterman (andrew@sifive.com). |
4 Based on MIPS target for GNU compiler. | 4 Based on MIPS target for GNU compiler. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
52 extern rtx riscv_subword (rtx, bool); | 52 extern rtx riscv_subword (rtx, bool); |
53 extern bool riscv_split_64bit_move_p (rtx, rtx); | 53 extern bool riscv_split_64bit_move_p (rtx, rtx); |
54 extern void riscv_split_doubleword_move (rtx, rtx); | 54 extern void riscv_split_doubleword_move (rtx, rtx); |
55 extern const char *riscv_output_move (rtx, rtx); | 55 extern const char *riscv_output_move (rtx, rtx); |
56 extern const char *riscv_output_gpr_save (unsigned); | 56 extern const char *riscv_output_gpr_save (unsigned); |
57 extern const char *riscv_output_return (); | |
57 #ifdef RTX_CODE | 58 #ifdef RTX_CODE |
58 extern void riscv_expand_int_scc (rtx, enum rtx_code, rtx, rtx); | 59 extern void riscv_expand_int_scc (rtx, enum rtx_code, rtx, rtx); |
59 extern void riscv_expand_float_scc (rtx, enum rtx_code, rtx, rtx); | 60 extern void riscv_expand_float_scc (rtx, enum rtx_code, rtx, rtx); |
60 extern void riscv_expand_conditional_branch (rtx, enum rtx_code, rtx, rtx); | 61 extern void riscv_expand_conditional_branch (rtx, enum rtx_code, rtx, rtx); |
61 #endif | 62 #endif |
63 extern void riscv_set_return_address (rtx, rtx); | 64 extern void riscv_set_return_address (rtx, rtx); |
64 extern bool riscv_expand_block_move (rtx, rtx, rtx); | 65 extern bool riscv_expand_block_move (rtx, rtx, rtx); |
65 extern rtx riscv_return_addr (int, rtx); | 66 extern rtx riscv_return_addr (int, rtx); |
66 extern HOST_WIDE_INT riscv_initial_elimination_offset (int, int); | 67 extern HOST_WIDE_INT riscv_initial_elimination_offset (int, int); |
67 extern void riscv_expand_prologue (void); | 68 extern void riscv_expand_prologue (void); |
68 extern void riscv_expand_epilogue (bool); | 69 extern void riscv_expand_epilogue (int); |
70 extern bool riscv_epilogue_uses (unsigned int); | |
69 extern bool riscv_can_use_return_insn (void); | 71 extern bool riscv_can_use_return_insn (void); |
70 extern rtx riscv_function_value (const_tree, const_tree, machine_mode); | 72 extern rtx riscv_function_value (const_tree, const_tree, enum machine_mode); |
73 extern bool riscv_expand_block_move (rtx, rtx, rtx); | |
71 | 74 |
72 /* Routines implemented in riscv-c.c. */ | 75 /* Routines implemented in riscv-c.c. */ |
73 void riscv_cpu_cpp_builtins (cpp_reader *); | 76 void riscv_cpu_cpp_builtins (cpp_reader *); |
74 | 77 |
75 /* Routines implemented in riscv-builtins.c. */ | 78 /* Routines implemented in riscv-builtins.c. */ |