/* aarch64-tbl.h -- AArch64 opcode description table and instruction operand description table. Copyright (C) 2012-2014 Free Software Foundation, Inc. This file is part of the GNU opcodes library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this file; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include "aarch64-opc.h" /* Operand type. */ #define OPND(x) AARCH64_OPND_##x #define OP0() {} #define OP1(a) {OPND(a)} #define OP2(a,b) {OPND(a), OPND(b)} #define OP3(a,b,c) {OPND(a), OPND(b), OPND(c)} #define OP4(a,b,c,d) {OPND(a), OPND(b), OPND(c), OPND(d)} #define OP5(a,b,c,d,e) {OPND(a), OPND(b), OPND(c), OPND(d), OPND(e)} #define QLF(x) AARCH64_OPND_QLF_##x #define QLF1(a) {QLF(a)} #define QLF2(a,b) {QLF(a), QLF(b)} #define QLF3(a,b,c) {QLF(a), QLF(b), QLF(c)} #define QLF4(a,b,c,d) {QLF(a), QLF(b), QLF(c), QLF(d)} #define QLF5(a,b,c,d,e) {QLF(a), QLF(b), QLF(c), QLF(d), QLF(e)} /* Qualifiers list. */ /* e.g. MSR , . */ #define QL_SRC_X \ { \ QLF2(NIL,X), \ } /* e.g. MRS , . */ #define QL_DST_X \ { \ QLF2(X,NIL), \ } /* e.g. SYS #, , , #{, }. */ #define QL_SYS \ { \ QLF5(NIL,NIL,NIL,NIL,X), \ } /* e.g. SYSL , #, , , #. */ #define QL_SYSL \ { \ QLF5(X,NIL,NIL,NIL,NIL), \ } /* e.g. ADRP ,