Mercurial > hg > CbC > CbC_gcc
diff gcc/config/or1k/or1k-protos.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gcc/config/or1k/or1k-protos.h Thu Feb 13 11:34:05 2020 +0900 @@ -0,0 +1,38 @@ +/* Prototypes for OpenRISC functions used in the md file & elsewhere. + Copyright (C) 2018-2020 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +<http://www.gnu.org/licenses/>. */ + +extern HOST_WIDE_INT or1k_initial_elimination_offset (int, int); +extern void or1k_expand_prologue (void); +extern void or1k_expand_epilogue (void); +extern void or1k_expand_eh_return (rtx); +extern rtx or1k_initial_frame_addr (void); +extern rtx or1k_dynamic_chain_addr (rtx); +extern rtx or1k_return_addr (int, rtx); +extern void or1k_expand_move (machine_mode, rtx, rtx); +extern void or1k_expand_compare (rtx *); +extern void or1k_expand_call (rtx, rtx, rtx, bool); + +#ifdef RTX_CODE +void or1k_expand_atomic_compare_and_swap (rtx operands[]); +void or1k_expand_atomic_compare_and_swap_qihi (rtx operands[]); +void or1k_expand_atomic_exchange (rtx operands[]); +void or1k_expand_atomic_exchange_qihi (rtx operands[]); +void or1k_expand_atomic_op (rtx_code, rtx, rtx, rtx, rtx); +void or1k_expand_atomic_op_qihi (rtx_code, rtx, rtx, rtx, rtx); +#endif