bfin-aux.h 3.1 KB

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