1 |
16 |
khays |
/* bfin-aux.h ADI Blackfin Header file for gas
|
2 |
|
|
Copyright 2005, 2007, 2009, 2010
|
3 |
|
|
Free Software Foundation, Inc.
|
4 |
|
|
|
5 |
|
|
This file is part of GAS, the GNU Assembler.
|
6 |
|
|
|
7 |
|
|
GAS is free software; you can redistribute it and/or modify
|
8 |
|
|
it under the terms of the GNU General Public License as published by
|
9 |
|
|
the Free Software Foundation; either version 3, or (at your option)
|
10 |
|
|
any later version.
|
11 |
|
|
|
12 |
|
|
GAS is distributed in the hope that it will be useful,
|
13 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
GNU General Public License for more details.
|
16 |
|
|
|
17 |
|
|
You should have received a copy of the GNU General Public License
|
18 |
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
19 |
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
20 |
|
|
02110-1301, USA. */
|
21 |
|
|
|
22 |
|
|
#include "bfin-defs.h"
|
23 |
|
|
|
24 |
|
|
#define REG_T Register *
|
25 |
|
|
|
26 |
|
|
INSTR_T bfin_gen_dsp32mac (int, int, int, int, int, int, int, int, int, int,
|
27 |
|
|
REG_T, REG_T, REG_T, int);
|
28 |
|
|
INSTR_T bfin_gen_dsp32mult (int, int, int, int, int, int, int, int, int, int,
|
29 |
|
|
REG_T, REG_T, REG_T, int);
|
30 |
|
|
INSTR_T bfin_gen_dsp32alu (int, int, int, int, int, REG_T, REG_T, REG_T, REG_T);
|
31 |
|
|
INSTR_T bfin_gen_dsp32shift (int, REG_T, REG_T, REG_T, int, int);
|
32 |
|
|
INSTR_T bfin_gen_dsp32shiftimm (int, REG_T, int, REG_T, int, int);
|
33 |
|
|
INSTR_T bfin_gen_ldimmhalf (REG_T, int, int, int, Expr_Node *, int);
|
34 |
|
|
INSTR_T bfin_gen_ldstidxi (REG_T, REG_T, int, int, int, Expr_Node *);
|
35 |
|
|
INSTR_T bfin_gen_ldst (REG_T, REG_T, int, int, int, int);
|
36 |
|
|
INSTR_T bfin_gen_ldstii (REG_T, REG_T, Expr_Node *, int, int);
|
37 |
|
|
INSTR_T bfin_gen_ldstiifp (REG_T, Expr_Node *, int);
|
38 |
|
|
INSTR_T bfin_gen_ldstpmod (REG_T, REG_T, int, int, REG_T);
|
39 |
|
|
INSTR_T bfin_gen_dspldst (REG_T, REG_T, int, int, int);
|
40 |
|
|
INSTR_T bfin_gen_alu2op (REG_T, REG_T, int);
|
41 |
|
|
INSTR_T bfin_gen_compi2opd (REG_T, int, int);
|
42 |
|
|
INSTR_T bfin_gen_compi2opp (REG_T, int, int);
|
43 |
|
|
INSTR_T bfin_gen_dagmodik (REG_T, int);
|
44 |
|
|
INSTR_T bfin_gen_dagmodim (REG_T, REG_T, int, int);
|
45 |
|
|
INSTR_T bfin_gen_ptr2op (REG_T, REG_T, int);
|
46 |
|
|
INSTR_T bfin_gen_logi2op (int, int, int);
|
47 |
|
|
INSTR_T bfin_gen_comp3op (REG_T, REG_T, REG_T, int);
|
48 |
|
|
INSTR_T bfin_gen_ccmv (REG_T, REG_T, int);
|
49 |
|
|
INSTR_T bfin_gen_ccflag (REG_T, int, int, int, int);
|
50 |
|
|
INSTR_T bfin_gen_cc2stat (int, int, int);
|
51 |
|
|
INSTR_T bfin_gen_regmv (REG_T, REG_T);
|
52 |
|
|
INSTR_T bfin_gen_cc2dreg (int, REG_T);
|
53 |
|
|
INSTR_T bfin_gen_brcc (int, int, Expr_Node *);
|
54 |
|
|
INSTR_T bfin_gen_ujump (Expr_Node *);
|
55 |
|
|
INSTR_T bfin_gen_cactrl (REG_T, int, int);
|
56 |
|
|
INSTR_T bfin_gen_progctrl (int, int);
|
57 |
|
|
INSTR_T bfin_gen_loopsetup (Expr_Node *, REG_T, int, Expr_Node *, REG_T);
|
58 |
|
|
INSTR_T bfin_gen_loop (Expr_Node *, REG_T, int, REG_T);
|
59 |
|
|
void bfin_loop_attempt_create_label (Expr_Node *, int);
|
60 |
|
|
void bfin_loop_beginend (Expr_Node *, int);
|
61 |
|
|
INSTR_T bfin_gen_pushpopmultiple (int, int, int, int, int);
|
62 |
|
|
INSTR_T bfin_gen_pushpopreg (REG_T, int);
|
63 |
|
|
INSTR_T bfin_gen_calla (Expr_Node *, int);
|
64 |
|
|
INSTR_T bfin_gen_linkage (int, int);
|
65 |
|
|
INSTR_T bfin_gen_pseudodbg (int, int, int);
|
66 |
|
|
INSTR_T bfin_gen_pseudodbg_assert (int, REG_T, int);
|
67 |
|
|
INSTR_T bfin_gen_pseudochr (int);
|
68 |
|
|
bfd_boolean bfin_resource_conflict (INSTR_T, INSTR_T, INSTR_T);
|
69 |
|
|
INSTR_T bfin_gen_multi_instr (INSTR_T, INSTR_T, INSTR_T);
|