]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/config/bfin-aux.h
gas: blackfin: support numeric local labels with LOOP_BEGIN/LOOP_END pseudo insns
[thirdparty/binutils-gdb.git] / gas / config / bfin-aux.h
CommitLineData
e690f7f3 1/* bfin-aux.h ADI Blackfin Header file for gas
62fb9fe1 2 Copyright 2005, 2007, 2009, 2010
e690f7f3
JZ
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
62fb9fe1
JZ
26INSTR_T bfin_gen_dsp32mac (int, int, int, int, int, int, int, int, int, int,
27 REG_T, REG_T, REG_T, int);
28INSTR_T bfin_gen_dsp32mult (int, int, int, int, int, int, int, int, int, int,
29 REG_T, REG_T, REG_T, int);
30INSTR_T bfin_gen_dsp32alu (int, int, int, int, int, REG_T, REG_T, REG_T, REG_T);
31INSTR_T bfin_gen_dsp32shift (int, REG_T, REG_T, REG_T, int, int);
32INSTR_T bfin_gen_dsp32shiftimm (int, REG_T, int, REG_T, int, int);
33INSTR_T bfin_gen_ldimmhalf (REG_T, int, int, int, Expr_Node *, int);
34INSTR_T bfin_gen_ldstidxi (REG_T, REG_T, int, int, int, Expr_Node *);
35INSTR_T bfin_gen_ldst (REG_T, REG_T, int, int, int, int);
36INSTR_T bfin_gen_ldstii (REG_T, REG_T, Expr_Node *, int, int);
37INSTR_T bfin_gen_ldstiifp (REG_T, Expr_Node *, int);
38INSTR_T bfin_gen_ldstpmod (REG_T, REG_T, int, int, REG_T);
39INSTR_T bfin_gen_dspldst (REG_T, REG_T, int, int, int);
40INSTR_T bfin_gen_alu2op (REG_T, REG_T, int);
41INSTR_T bfin_gen_compi2opd (REG_T, int, int);
42INSTR_T bfin_gen_compi2opp (REG_T, int, int);
43INSTR_T bfin_gen_dagmodik (REG_T, int);
44INSTR_T bfin_gen_dagmodim (REG_T, REG_T, int, int);
45INSTR_T bfin_gen_ptr2op (REG_T, REG_T, int);
46INSTR_T bfin_gen_logi2op (int, int, int);
47INSTR_T bfin_gen_comp3op (REG_T, REG_T, REG_T, int);
48INSTR_T bfin_gen_ccmv (REG_T, REG_T, int);
49INSTR_T bfin_gen_ccflag (REG_T, int, int, int, int);
50INSTR_T bfin_gen_cc2stat (int, int, int);
51INSTR_T bfin_gen_regmv (REG_T, REG_T);
52INSTR_T bfin_gen_cc2dreg (int, REG_T);
53INSTR_T bfin_gen_brcc (int, int, Expr_Node *);
54INSTR_T bfin_gen_ujump (Expr_Node *);
55INSTR_T bfin_gen_cactrl (REG_T, int, int);
56INSTR_T bfin_gen_progctrl (int, int);
57INSTR_T bfin_gen_loopsetup (Expr_Node *, REG_T, int, Expr_Node *, REG_T);
58INSTR_T bfin_gen_loop (Expr_Node *, REG_T, int, REG_T);
56640434 59void bfin_loop_attempt_create_label (Expr_Node *, int);
62fb9fe1
JZ
60void bfin_loop_beginend (Expr_Node *, int);
61INSTR_T bfin_gen_pushpopmultiple (int, int, int, int, int);
62INSTR_T bfin_gen_pushpopreg (REG_T, int);
63INSTR_T bfin_gen_calla (Expr_Node *, int);
64INSTR_T bfin_gen_linkage (int, int);
65INSTR_T bfin_gen_pseudodbg (int, int, int);
66INSTR_T bfin_gen_pseudodbg_assert (int, REG_T, int);
73a63ccf 67INSTR_T bfin_gen_pseudochr (int);
62fb9fe1
JZ
68bfd_boolean bfin_resource_conflict (INSTR_T, INSTR_T, INSTR_T);
69INSTR_T bfin_gen_multi_instr (INSTR_T, INSTR_T, INSTR_T);