1 /* bfin-aux.h ADI Blackfin Header file for gas
2    Copyright (C) 2005-2016 Free Software Foundation, Inc.
3 
4    This file is part of GAS, the GNU Assembler.
5 
6    GAS 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 3, or (at your option)
9    any later version.
10 
11    GAS 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.
15 
16    You should have received a copy of the GNU General Public License
17    along with GAS; see the file COPYING.  If not, write to the Free
18    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
19    02110-1301, USA.  */
20 
21 #include "bfin-defs.h"
22 
23 #define REG_T Register *
24 
25 INSTR_T bfin_gen_dsp32mac (int, int, int, int, int, int, int, int, int, int,
26 			   REG_T, REG_T, REG_T, int);
27 INSTR_T bfin_gen_dsp32mult (int, int, int, int, int, int, int, int, int, int,
28 			    REG_T, REG_T, REG_T, int);
29 INSTR_T bfin_gen_dsp32alu (int, int, int, int, int, REG_T, REG_T, REG_T, REG_T);
30 INSTR_T bfin_gen_dsp32shift (int, REG_T, REG_T, REG_T, int, int);
31 INSTR_T bfin_gen_dsp32shiftimm (int, REG_T, int, REG_T, int, int);
32 INSTR_T bfin_gen_ldimmhalf (REG_T, int, int, int, Expr_Node *, int);
33 INSTR_T bfin_gen_ldstidxi (REG_T, REG_T, int, int, int, Expr_Node *);
34 INSTR_T bfin_gen_ldst (REG_T, REG_T, int, int, int, int);
35 INSTR_T bfin_gen_ldstii (REG_T, REG_T, Expr_Node *, int, int);
36 INSTR_T bfin_gen_ldstiifp (REG_T, Expr_Node *, int);
37 INSTR_T bfin_gen_ldstpmod (REG_T, REG_T, int, int, REG_T);
38 INSTR_T bfin_gen_dspldst (REG_T, REG_T, int, int, int);
39 INSTR_T bfin_gen_alu2op (REG_T, REG_T, int);
40 INSTR_T bfin_gen_compi2opd (REG_T, int, int);
41 INSTR_T bfin_gen_compi2opp (REG_T, int, int);
42 INSTR_T bfin_gen_dagmodik (REG_T, int);
43 INSTR_T bfin_gen_dagmodim (REG_T, REG_T, int, int);
44 INSTR_T bfin_gen_ptr2op (REG_T, REG_T, int);
45 INSTR_T bfin_gen_logi2op (int, int, int);
46 INSTR_T bfin_gen_comp3op (REG_T, REG_T, REG_T, int);
47 INSTR_T bfin_gen_ccmv (REG_T, REG_T, int);
48 INSTR_T bfin_gen_ccflag (REG_T, int, int, int, int);
49 INSTR_T bfin_gen_cc2stat (int, int, int);
50 INSTR_T bfin_gen_regmv (REG_T, REG_T);
51 INSTR_T bfin_gen_cc2dreg (int, REG_T);
52 INSTR_T bfin_gen_brcc (int, int, Expr_Node *);
53 INSTR_T bfin_gen_ujump (Expr_Node *);
54 INSTR_T bfin_gen_cactrl (REG_T, int, int);
55 INSTR_T bfin_gen_progctrl (int, int);
56 INSTR_T bfin_gen_loopsetup (Expr_Node *, REG_T, int, Expr_Node *, REG_T);
57 INSTR_T bfin_gen_loop (Expr_Node *, REG_T, int, REG_T);
58 void bfin_loop_attempt_create_label (Expr_Node *, int);
59 void bfin_loop_beginend (Expr_Node *, int);
60 INSTR_T bfin_gen_pushpopmultiple (int, int, int, int, int);
61 INSTR_T bfin_gen_pushpopreg (REG_T, int);
62 INSTR_T bfin_gen_calla (Expr_Node *, int);
63 INSTR_T bfin_gen_linkage (int, int);
64 INSTR_T bfin_gen_pseudodbg (int, int, int);
65 INSTR_T bfin_gen_pseudodbg_assert (int, REG_T, int);
66 INSTR_T bfin_gen_pseudochr (int);
67 bfd_boolean bfin_resource_conflict (INSTR_T, INSTR_T, INSTR_T);
68 INSTR_T bfin_gen_multi_instr (INSTR_T, INSTR_T, INSTR_T);
69