ia64-opc.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /* ia64-opc.h -- IA-64 opcode table.
  2. Copyright (C) 1998-2022 Free Software Foundation, Inc.
  3. Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
  4. This file is part of the GNU opcodes library.
  5. This library is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 3, or (at your option)
  8. any later version.
  9. It is distributed in the hope that it will be useful, but WITHOUT
  10. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  12. License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this file; see the file COPYING. If not, write to the
  15. Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
  16. MA 02110-1301, USA. */
  17. #ifndef IA64_OPC_H
  18. #define IA64_OPC_H
  19. #include "opcode/ia64.h"
  20. /* define a couple of abbreviations: */
  21. #define bOp(x) (((ia64_insn) ((x) & 0xf)) << 37)
  22. #define mOp bOp (-1)
  23. #define Op(x) bOp (x), mOp
  24. #define FIRST IA64_OPCODE_FIRST
  25. #define X_IN_MLX IA64_OPCODE_X_IN_MLX
  26. #define LAST IA64_OPCODE_LAST
  27. #define PRIV IA64_OPCODE_PRIV
  28. #define NO_PRED IA64_OPCODE_NO_PRED
  29. #define SLOT2 IA64_OPCODE_SLOT2
  30. #define PSEUDO IA64_OPCODE_PSEUDO
  31. #define F2_EQ_F3 IA64_OPCODE_F2_EQ_F3
  32. #define LEN_EQ_64MCNT IA64_OPCODE_LEN_EQ_64MCNT
  33. #define MOD_RRBS IA64_OPCODE_MOD_RRBS
  34. #define POSTINC IA64_OPCODE_POSTINC
  35. #define AR_CCV IA64_OPND_AR_CCV
  36. #define AR_PFS IA64_OPND_AR_PFS
  37. #define AR_CSD IA64_OPND_AR_CSD
  38. #define C1 IA64_OPND_C1
  39. #define C8 IA64_OPND_C8
  40. #define C16 IA64_OPND_C16
  41. #define GR0 IA64_OPND_GR0
  42. #define IP IA64_OPND_IP
  43. #define PR IA64_OPND_PR
  44. #define PR_ROT IA64_OPND_PR_ROT
  45. #define PSR IA64_OPND_PSR
  46. #define PSR_L IA64_OPND_PSR_L
  47. #define PSR_UM IA64_OPND_PSR_UM
  48. #define AR3 IA64_OPND_AR3
  49. #define B1 IA64_OPND_B1
  50. #define B2 IA64_OPND_B2
  51. #define CR3 IA64_OPND_CR3
  52. #define F1 IA64_OPND_F1
  53. #define F2 IA64_OPND_F2
  54. #define F3 IA64_OPND_F3
  55. #define F4 IA64_OPND_F4
  56. #define P1 IA64_OPND_P1
  57. #define P2 IA64_OPND_P2
  58. #define R1 IA64_OPND_R1
  59. #define R2 IA64_OPND_R2
  60. #define R3 IA64_OPND_R3
  61. #define R3_2 IA64_OPND_R3_2
  62. #define DAHR IA64_OPND_DAHR3
  63. #define CPUID_R3 IA64_OPND_CPUID_R3
  64. #define DBR_R3 IA64_OPND_DBR_R3
  65. #define DTR_R3 IA64_OPND_DTR_R3
  66. #define ITR_R3 IA64_OPND_ITR_R3
  67. #define IBR_R3 IA64_OPND_IBR_R3
  68. #define MR3 IA64_OPND_MR3
  69. #define MSR_R3 IA64_OPND_MSR_R3
  70. #define PKR_R3 IA64_OPND_PKR_R3
  71. #define PMC_R3 IA64_OPND_PMC_R3
  72. #define PMD_R3 IA64_OPND_PMD_R3
  73. #define DAHR_R3 IA64_OPND_DAHR_R3
  74. #define RR_R3 IA64_OPND_RR_R3
  75. #define CCNT5 IA64_OPND_CCNT5
  76. #define CNT2a IA64_OPND_CNT2a
  77. #define CNT2b IA64_OPND_CNT2b
  78. #define CNT2c IA64_OPND_CNT2c
  79. #define CNT5 IA64_OPND_CNT5
  80. #define CNT6 IA64_OPND_CNT6
  81. #define CPOS6a IA64_OPND_CPOS6a
  82. #define CPOS6b IA64_OPND_CPOS6b
  83. #define CPOS6c IA64_OPND_CPOS6c
  84. #define IMM1 IA64_OPND_IMM1
  85. #define IMM14 IA64_OPND_IMM14
  86. #define IMM17 IA64_OPND_IMM17
  87. #define IMM22 IA64_OPND_IMM22
  88. #define IMM44 IA64_OPND_IMM44
  89. #define SOF IA64_OPND_SOF
  90. #define SOL IA64_OPND_SOL
  91. #define SOR IA64_OPND_SOR
  92. #define IMM8 IA64_OPND_IMM8
  93. #define IMM8U4 IA64_OPND_IMM8U4
  94. #define IMM8M1 IA64_OPND_IMM8M1
  95. #define IMM8M1U4 IA64_OPND_IMM8M1U4
  96. #define IMM8M1U8 IA64_OPND_IMM8M1U8
  97. #define IMM9a IA64_OPND_IMM9a
  98. #define IMM9b IA64_OPND_IMM9b
  99. #define IMMU2 IA64_OPND_IMMU2
  100. #define IMMU16 IA64_OPND_IMMU16
  101. #define IMMU19 IA64_OPND_IMMU19
  102. #define IMMU21 IA64_OPND_IMMU21
  103. #define IMMU24 IA64_OPND_IMMU24
  104. #define IMMU62 IA64_OPND_IMMU62
  105. #define IMMU64 IA64_OPND_IMMU64
  106. #define IMMU5b IA64_OPND_IMMU5b
  107. #define IMMU7a IA64_OPND_IMMU7a
  108. #define IMMU7b IA64_OPND_IMMU7b
  109. #define IMMU9 IA64_OPND_IMMU9
  110. #define INC3 IA64_OPND_INC3
  111. #define LEN4 IA64_OPND_LEN4
  112. #define LEN6 IA64_OPND_LEN6
  113. #define MBTYPE4 IA64_OPND_MBTYPE4
  114. #define MHTYPE8 IA64_OPND_MHTYPE8
  115. #define POS6 IA64_OPND_POS6
  116. #define TAG13 IA64_OPND_TAG13
  117. #define TAG13b IA64_OPND_TAG13b
  118. #define TGT25 IA64_OPND_TGT25
  119. #define TGT25b IA64_OPND_TGT25b
  120. #define TGT25c IA64_OPND_TGT25c
  121. #define TGT64 IA64_OPND_TGT64
  122. #define CNT6a IA64_OPND_CNT6a
  123. #define STRD5b IA64_OPND_STRD5b
  124. #endif