Debian Codegraph @

arch/AArch64/AArch64Disassembler.c

raw symbols SCIP
1 //===- AArch64Disassembler.cpp - Disassembler for AArch64 ISA -------------===//cxx . . $ `<file>/arch/AArch64/AArch64Disassembler.c`/
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the functions necessary to decode AArch64 instruction
11 // bitpatterns into MCInsts (with the help of TableGenerated information from
12 // the instruction definitions).
13 //
14 //===----------------------------------------------------------------------===//
15
16 /* Capstone Disassembly Engine */
17 /* By Nguyen Anh Quynh <[email protected]>, 2013-2019 */
18
19 #ifdef CAPSTONE_HAS_ARM64cxx . . $ `<built-in>:413:9`!
20
21 #include <stdio.h> // DEBUG
22 #include <stdlib.h>
23
24 #include "../../cs_priv.h"cxx . . $ `<file>/cs_priv.h`/
25 #include "../../utils.h"cxx . . $ `<file>/utils.h`/
26
27 #include "AArch64Disassembler.h"cxx . . $ `<file>/arch/AArch64/AArch64Disassembler.h`/
28
29 #include "../../MCDisassembler.h"cxx . . $ `<file>/MCDisassembler.h`/
30 #include "../../MCFixedLenDisassembler.h"cxx . . $ `<file>/MCFixedLenDisassembler.h`/
31 #include "../../MCInst.h"cxx . . $ `<file>/MCInst.h`/
32 #include "../../MCInstrDesc.h"cxx . . $ `<file>/MCInstrDesc.h`/
33 #include "../../MCRegisterInfo.h"cxx . . $ `<file>/MCRegisterInfo.h`/
34
35 #include "AArch64AddressingModes.h"cxx . . $ `<file>/arch/AArch64/AArch64AddressingModes.h`/
36 #include "AArch64BaseInfo.h"cxx . . $ `<file>/arch/AArch64/AArch64BaseInfo.h`/
37
38 // Forward declare these because the autogenerated code will reference them.
39 // Definitions are further down.
40 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
41 unsigned RegNo, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
42 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
43 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
44 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR32RegisterClasscxx . . $ DecodeFPR32RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
45 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
46 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR16RegisterClasscxx . . $ DecodeFPR16RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
47 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
48 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR8RegisterClasscxx . . $ DecodeFPR8RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
49 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
50 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
51 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
52 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64x8ClassRegisterClasscxx . . $ DecodeGPR64x8ClassRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
53 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
54 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
55 unsigned RegNo, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
56 static DecodeStatuscxx . . $ DecodeStatus# DecodeMatrixIndexGPR32_12_15RegisterClasscxx . . $ DecodeMatrixIndexGPR32_12_15RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
57 unsigned RegNo, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
58 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
59 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
60 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
61 unsigned RegNo, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
62 static DecodeStatuscxx . . $ DecodeStatus# DecodeQQRegisterClasscxx . . $ DecodeQQRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
63 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
64 static DecodeStatuscxx . . $ DecodeStatus# DecodeQQQRegisterClasscxx . . $ DecodeQQQRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
65 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
66 static DecodeStatuscxx . . $ DecodeStatus# DecodeQQQQRegisterClasscxx . . $ DecodeQQQQRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
67 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
68 static DecodeStatuscxx . . $ DecodeStatus# DecodeDDRegisterClasscxx . . $ DecodeDDRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
69 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
70 static DecodeStatuscxx . . $ DecodeStatus# DecodeDDDRegisterClasscxx . . $ DecodeDDDRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
71 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
72 static DecodeStatuscxx . . $ DecodeStatus# DecodeDDDDRegisterClasscxx . . $ DecodeDDDDRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
73 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
74 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPRRegisterClasscxx . . $ DecodeZPRRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
75 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
76 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR_4bRegisterClasscxx . . $ DecodeZPR_4bRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
77 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
78 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR_3bRegisterClasscxx . . $ DecodeZPR_3bRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
79 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
80 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR2RegisterClasscxx . . $ DecodeZPR2RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
81 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
82 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR3RegisterClasscxx . . $ DecodeZPR3RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
83 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
84 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR4RegisterClasscxx . . $ DecodeZPR4RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
85 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
86 static DecodeStatuscxx . . $ DecodeStatus# DecodeMatrixTilecxx . . $ DecodeMatrixTile(a468861a7f03fb50).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
87 uint64_tcxx . . $ uint64_t# Address, const void *Decoder, unsigned NumBitsForTile);
88 static DecodeStatuscxx . . $ DecodeStatus# DecodeMatrixTileListRegisterClasscxx . . $ DecodeMatrixTileListRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
89 unsigned RegMask, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
90 static DecodeStatuscxx . . $ DecodeStatus# DecodePPRRegisterClasscxx . . $ DecodePPRRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
91 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
92 static DecodeStatuscxx . . $ DecodeStatus# DecodePPR_3bRegisterClasscxx . . $ DecodePPR_3bRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
93 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
94 static DecodeStatuscxx . . $ DecodeStatus# DecodeFixedPointScaleImm32cxx . . $ DecodeFixedPointScaleImm32(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
95 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
96 static DecodeStatuscxx . . $ DecodeStatus# DecodeFixedPointScaleImm64cxx . . $ DecodeFixedPointScaleImm64(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
97 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
98 static DecodeStatuscxx . . $ DecodeStatus# DecodePCRelLabel19cxx . . $ DecodePCRelLabel19(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
99 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
100 static DecodeStatuscxx . . $ DecodeStatus# DecodeMemExtendcxx . . $ DecodeMemExtend(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
101 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
102 static DecodeStatuscxx . . $ DecodeStatus# DecodeMRSSystemRegistercxx . . $ DecodeMRSSystemRegister(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
103 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
104 static DecodeStatuscxx . . $ DecodeStatus# DecodeMSRSystemRegistercxx . . $ DecodeMSRSystemRegister(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
105 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
106 static DecodeStatuscxx . . $ DecodeStatus# DecodeMoveImmInstructioncxx . . $ DecodeMoveImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
107 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
108 static DecodeStatuscxx . . $ DecodeStatus# DecodeUnsignedLdStInstructioncxx . . $ DecodeUnsignedLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
109 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
110 static DecodeStatuscxx . . $ DecodeStatus# DecodeSignedLdStInstructioncxx . . $ DecodeSignedLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
111 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
112 static DecodeStatuscxx . . $ DecodeStatus# DecodeExclusiveLdStInstructioncxx . . $ DecodeExclusiveLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
113 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
114 static DecodeStatuscxx . . $ DecodeStatus# DecodePairLdStInstructioncxx . . $ DecodePairLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
115 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
116 static DecodeStatuscxx . . $ DecodeStatus# DecodeAuthLoadInstructioncxx . . $ DecodeAuthLoadInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
117 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
118 static DecodeStatuscxx . . $ DecodeStatus# DecodeAddSubERegInstructioncxx . . $ DecodeAddSubERegInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
119 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
120 static DecodeStatuscxx . . $ DecodeStatus# DecodeLogicalImmInstructioncxx . . $ DecodeLogicalImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
121 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
122 static DecodeStatuscxx . . $ DecodeStatus# DecodeModImmInstructioncxx . . $ DecodeModImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
123 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
124 static DecodeStatuscxx . . $ DecodeStatus# DecodeModImmTiedInstructioncxx . . $ DecodeModImmTiedInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
125 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
126 static DecodeStatuscxx . . $ DecodeStatus# DecodeAdrInstructioncxx . . $ DecodeAdrInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
127 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
128 static DecodeStatuscxx . . $ DecodeStatus# DecodeAddSubImmShiftcxx . . $ DecodeAddSubImmShift(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
129 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
130 static DecodeStatuscxx . . $ DecodeStatus# DecodeUnconditionalBranchcxx . . $ DecodeUnconditionalBranch(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
131 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
132 static DecodeStatuscxx . . $ DecodeStatus# DecodeSystemPStateInstructioncxx . . $ DecodeSystemPStateInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
133 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
134 static DecodeStatuscxx . . $ DecodeStatus# DecodeTestAndBranchcxx . . $ DecodeTestAndBranch(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
135 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
136 static DecodeStatuscxx . . $ DecodeStatus# DecodeFMOVLaneInstructioncxx . . $ DecodeFMOVLaneInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Insn,
137 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
138 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR64Immcxx . . $ DecodeVecShiftR64Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
139 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
140 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR64ImmNarrowcxx . . $ DecodeVecShiftR64ImmNarrow(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
141 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
142 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR32Immcxx . . $ DecodeVecShiftR32Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
143 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
144 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR32ImmNarrowcxx . . $ DecodeVecShiftR32ImmNarrow(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
145 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
146 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR16Immcxx . . $ DecodeVecShiftR16Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
147 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
148 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR16ImmNarrowcxx . . $ DecodeVecShiftR16ImmNarrow(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
149 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
150 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR8Immcxx . . $ DecodeVecShiftR8Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
151 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
152 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL64Immcxx . . $ DecodeVecShiftL64Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
153 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
154 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL32Immcxx . . $ DecodeVecShiftL32Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
155 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
156 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL16Immcxx . . $ DecodeVecShiftL16Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
157 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
158 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL8Immcxx . . $ DecodeVecShiftL8Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
159 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
160 static DecodeStatuscxx . . $ DecodeStatus# DecodeWSeqPairsClassRegisterClasscxx . . $ DecodeWSeqPairsClassRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
161 unsigned RegNo, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
162 static DecodeStatuscxx . . $ DecodeStatus# DecodeXSeqPairsClassRegisterClasscxx . . $ DecodeXSeqPairsClassRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
163 unsigned RegNo, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
164 static DecodeStatuscxx . . $ DecodeStatus# DecodeSVELogicalImmInstructioncxx . . $ DecodeSVELogicalImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
165 uint64_tcxx . . $ uint64_t# Address, const void *Decoder);
166 static DecodeStatuscxx . . $ DecodeStatus# DecodeSImmcxx . . $ DecodeSImm(61c735210f7be329).(MCInstcxx . . $ MCInst# *Inst, uint64_tcxx . . $ uint64_t# Imm, uint64_tcxx . . $ uint64_t# Address,
167 const void *Decoder, int Bits);
168 static DecodeStatuscxx . . $ DecodeStatus# DecodeImm8OptLslcxx . . $ DecodeImm8OptLsl(a523770ddf250a4f).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm, uint64_tcxx . . $ uint64_t# Addr,
169 const void *Decoder, int ElementWidth);
170 static DecodeStatuscxx . . $ DecodeStatus# DecodeSVEIncDecImmcxx . . $ DecodeSVEIncDecImm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
171 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
172 static DecodeStatuscxx . . $ DecodeStatus# DecodeThreeAddrSRegInstructioncxx . . $ DecodeThreeAddrSRegInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
173 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
174 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
175 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
176 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR128_loRegisterClasscxx . . $ DecodeFPR128_loRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
177 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
178 static DecodeStatuscxx . . $ DecodeStatus# DecodeSVCROpcxx . . $ DecodeSVCROp(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm, uint64_tcxx . . $ uint64_t# Address,
179 const void *Decoder);
180 static DecodeStatuscxx . . $ DecodeStatus# DecodeCPYMemOpInstructioncxx . . $ DecodeCPYMemOpInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
181 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
182 static DecodeStatuscxx . . $ DecodeStatus# DecodeSETMemOpInstructioncxx . . $ DecodeSETMemOpInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
183 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder);
184
185
186 static boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! Checkcxx . . $ Check(3b71af48831d6686).(DecodeStatuscxx . . $ DecodeStatus# *Out, DecodeStatuscxx . . $ DecodeStatus# In)
187 {
188 switch (In) {
189 default: // never reach
190 return truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
191
192 case MCDisassembler_Successcxx . . $ MCDisassembler_Success.:
193 // Out stays the same.
194 return truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
195
196 case MCDisassembler_SoftFailcxx . . $ MCDisassembler_SoftFail.:
197 *Out = In;
198 return truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
199
200 case MCDisassembler_Failcxx . . $ MCDisassembler_Fail.:
201 *Out = In;
202 return falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
203 }
204 // llvm_unreachable("Invalid DecodeStatus!");
205 }
206
207 // Hacky: enable all features for disassembler
208 uint64_tcxx . . $ uint64_t# AArch64_getFeatureBitscxx . . $ AArch64_getFeatureBits(c104ebd7d68b2193).(int feature)
209 {
210 // enable all features
211 return (uint64_tcxx . . $ uint64_t#)-1;
212 }
213
214 #define GET_SUBTARGETINFO_ENUMcxx . . $ `arch/AArch64/AArch64Disassembler.c:214:9`!
215 #include "AArch64GenSubtargetInfo.inc"cxx . . $ `<file>/arch/AArch64/AArch64GenSubtargetInfo.inc`/
216
217 #include "AArch64GenDisassemblerTables.inc"cxx . . $ `<file>/arch/AArch64/AArch64GenDisassemblerTables.inc`/
218
219 #define GET_INSTRINFO_ENUMcxx . . $ `arch/AArch64/AArch64Disassembler.c:219:9`!
220 #include "AArch64GenInstrInfo.inc"cxx . . $ `<file>/arch/AArch64/AArch64GenInstrInfo.inc`/
221
222 #define GET_REGINFO_ENUMcxx . . $ `arch/AArch64/AArch64Disassembler.c:222:9`!
223 #define GET_REGINFO_MC_DESCcxx . . $ `arch/AArch64/AArch64Disassembler.c:223:9`!
224 #include "AArch64GenRegisterInfo.inc"cxx . . $ `<file>/arch/AArch64/AArch64GenRegisterInfo.inc`/
225
226 #define Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`! MCDisassembler_Success
227 #define Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`! MCDisassembler_Fail
228 #define SoftFailcxx . . $ `arch/AArch64/AArch64Disassembler.c:228:9`! MCDisassembler_SoftFail
229
230 static DecodeStatuscxx . . $ DecodeStatus# _getInstructioncxx . . $ _getInstruction(442fcccd5efbe011).(cs_structcxx . . $ cs_struct# *ud, MCInstcxx . . $ MCInst# *MI,
231 const uint8_tcxx . . $ uint8_t# *code, size_t code_len,
232 uint16_tcxx . . $ uint16_t# *Size,
233 uint64_tcxx . . $ uint64_t# Address, MCRegisterInfocxx . . $ MCRegisterInfo# *MRI)
234 {
235 uint32_tcxx . . $ uint32_t# insn;
236 DecodeStatuscxx . . $ DecodeStatus# result;
237 size_t i;
238
239 if (code_len < 4) {
240 // not enough data
241 *Size = 0;
242 return MCDisassembler_Failcxx . . $ MCDisassembler_Fail.;
243 }
244
245 if (MI->flat_insncxx . . $ MCInst#flat_insn.->detailcxx . . $ cs_insn#detail.) {
246 memsetcxx . . $ memset(d1de1e4fb215f1c6).(MI->flat_insncxx . . $ MCInst#flat_insn.->detailcxx . . $ cs_insn#detail., 0, offsetofcxx . . $ `<external>/16391990256953433862/stddef.h:431:9`!(cs_detail, arm64)+sizeof(cs_arm64cxx . . $ cs_arm64#));
247 for (i = 0; i < ARR_SIZEcxx . . $ `arch/AArch64/AArch64Mapping.h:9:9`!(MI->flat_insn->detail->arm64.operands); i++)
248 MI->flat_insncxx . . $ MCInst#flat_insn.->detailcxx . . $ cs_insn#detail.->arm64cxx . . $ cs_detail#$anonymous_type_0#arm64..operandscxx . . $ cs_arm64#operands.[i].vector_indexcxx . . $ cs_arm64_op#vector_index. = -1;
249 }
250
251 if (MODE_IS_BIG_ENDIANcxx . . $ `cs_priv.h:89:9`!(ud->mode))
252 insn = (code[3] << 0) | (code[2] << 8) |
253 (code[1] << 16) | ((uint32_tcxx . . $ uint32_t#) code[0] << 24);
254 else
255 insn = ((uint32_tcxx . . $ uint32_t#) code[3] << 24) | (code[2] << 16) |
256 (code[1] << 8) | (code[0] << 0);
257
258 // Calling the auto-generated decoder function.
259 result = decodeInstruction_4cxx . . $ decodeInstruction_4(714cd018d15cc6e6).(DecoderTable32cxx . . $ DecoderTable32., MI, insn, Address);
260 // If Decoding fails initially, try Fallback table.
261 if(result == MCDisassembler_Failcxx . . $ MCDisassembler_Fail.){
262 result = decodeInstruction_4cxx . . $ decodeInstruction_4(714cd018d15cc6e6).(DecoderTableFallback32cxx . . $ DecoderTableFallback32., MI, insn, Address);
263 }
264
265 // Init new MCOperand to be used in switch below.
266 // Kind RegVal set inside a case when needed.
267 MCOperandcxx . . $ MCOperand# op_storage;
268 MCOperandcxx . . $ MCOperand# *Op = &op_storage;
269 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(MI)) {
270 default:
271 break;
272 // For Scalable Matrix Extension (SME) instructions that have an implicit
273 // operand for the accumulator (ZA) which isn't encoded, manually insert
274 // operand.
275 case AArch64_LDR_ZAcxx . . $ AArch64_LDR_ZA.:
276 case AArch64_STR_ZAcxx . . $ AArch64_STR_ZA.: {
277 Op->Kindcxx . . $ MCOperand#Kind. = kRegistercxx . . $ MCOperand#kRegister.;
278 Op->RegValcxx . . $ MCOperand#$anonymous_type_1#RegVal. = AArch64_ZAcxx . . $ AArch64_ZA.;
279 MCInst_insert0cxx . . $ MCInst_insert0(add3700b84a5c3fa).(MI, 0, Op);
280 // Spill and fill instructions have a single immediate used for both the
281 // vector select offset and optional memory offset. Replicate the decoded
282 // immediate.
283 MCOperandcxx . . $ MCOperand# *Imm4Op = MCInst_getOperandcxx . . $ MCInst_getOperand(4687f87e75986a5b).(MI, 2);
284 // assert(MCOperand_isImm(Imm4Op) && "Unexpected operand type!");
285 MCInst_addOperand2cxx . . $ MCInst_addOperand2(c51f4ddcb6809868).(MI, Imm4Op);
286 break;
287 }
288 case AArch64_LD1_MXIPXX_H_Bcxx . . $ AArch64_LD1_MXIPXX_H_B.:
289 case AArch64_LD1_MXIPXX_V_Bcxx . . $ AArch64_LD1_MXIPXX_V_B.:
290 case AArch64_ST1_MXIPXX_H_Bcxx . . $ AArch64_ST1_MXIPXX_H_B.:
291 case AArch64_ST1_MXIPXX_V_Bcxx . . $ AArch64_ST1_MXIPXX_V_B.:
292 case AArch64_INSERT_MXIPZ_H_Bcxx . . $ AArch64_INSERT_MXIPZ_H_B.:
293 case AArch64_INSERT_MXIPZ_V_Bcxx . . $ AArch64_INSERT_MXIPZ_V_B.:
294 // e.g.
295 // MOVA ZA0<HV>.B[<Ws>, <imm>], <Pg>/M, <Zn>.B
296 // ^ insert implicit 8-bit element tile
297 Op->Kindcxx . . $ MCOperand#Kind. = kRegistercxx . . $ MCOperand#kRegister.;
298 Op->RegValcxx . . $ MCOperand#$anonymous_type_1#RegVal. = AArch64_ZAB0cxx . . $ AArch64_ZAB0.;
299 MCInst_insert0cxx . . $ MCInst_insert0(add3700b84a5c3fa).(MI, 0, Op);
300 break;
301 case AArch64_EXTRACT_ZPMXI_H_Bcxx . . $ AArch64_EXTRACT_ZPMXI_H_B.:
302 case AArch64_EXTRACT_ZPMXI_V_Bcxx . . $ AArch64_EXTRACT_ZPMXI_V_B.:
303 // MOVA <Zd>.B, <Pg>/M, ZA0<HV>.B[<Ws>, <imm>]
304 // ^ insert implicit 8-bit element tile
305 Op->Kindcxx . . $ MCOperand#Kind. = kRegistercxx . . $ MCOperand#kRegister.;
306 Op->RegValcxx . . $ MCOperand#$anonymous_type_1#RegVal. = AArch64_ZAB0cxx . . $ AArch64_ZAB0.;
307 MCInst_insert0cxx . . $ MCInst_insert0(add3700b84a5c3fa).(MI, 2, Op);
308 break;
309 case AArch64_LD1_MXIPXX_H_Qcxx . . $ AArch64_LD1_MXIPXX_H_Q.:
310 case AArch64_LD1_MXIPXX_V_Qcxx . . $ AArch64_LD1_MXIPXX_V_Q.:
311 case AArch64_ST1_MXIPXX_H_Qcxx . . $ AArch64_ST1_MXIPXX_H_Q.:
312 case AArch64_ST1_MXIPXX_V_Qcxx . . $ AArch64_ST1_MXIPXX_V_Q.:
313 // 128-bit load/store have implicit zero vector index.
314 Op->Kindcxx . . $ MCOperand#Kind. = kImmediatecxx . . $ MCOperand#kImmediate.;
315 Op->ImmValcxx . . $ MCOperand#$anonymous_type_1#ImmVal. = 0;
316 MCInst_insert0cxx . . $ MCInst_insert0(add3700b84a5c3fa).(MI, 2, Op);
317 break;
318 // 128-bit mova have implicit zero vector index.
319 case AArch64_INSERT_MXIPZ_H_Qcxx . . $ AArch64_INSERT_MXIPZ_H_Q.:
320 case AArch64_INSERT_MXIPZ_V_Qcxx . . $ AArch64_INSERT_MXIPZ_V_Q.:
321 Op->Kindcxx . . $ MCOperand#Kind. = kImmediatecxx . . $ MCOperand#kImmediate.;
322 Op->ImmValcxx . . $ MCOperand#$anonymous_type_1#ImmVal. = 0;
323 MCInst_insert0cxx . . $ MCInst_insert0(add3700b84a5c3fa).(MI, 2, Op);
324 break;
325 case AArch64_EXTRACT_ZPMXI_H_Qcxx . . $ AArch64_EXTRACT_ZPMXI_H_Q.:
326 case AArch64_EXTRACT_ZPMXI_V_Qcxx . . $ AArch64_EXTRACT_ZPMXI_V_Q.:
327 Op->Kindcxx . . $ MCOperand#Kind. = kImmediatecxx . . $ MCOperand#kImmediate.;
328 Op->ImmValcxx . . $ MCOperand#$anonymous_type_1#ImmVal. = 0;
329 MCInst_addOperand2cxx . . $ MCInst_addOperand2(c51f4ddcb6809868).(MI, Op);
330 break;
331 case AArch64_SMOVvi8to32_idx0cxx . . $ AArch64_SMOVvi8to32_idx0.:
332 case AArch64_SMOVvi8to64_idx0cxx . . $ AArch64_SMOVvi8to64_idx0.:
333 case AArch64_SMOVvi16to32_idx0cxx . . $ AArch64_SMOVvi16to32_idx0.:
334 case AArch64_SMOVvi16to64_idx0cxx . . $ AArch64_SMOVvi16to64_idx0.:
335 case AArch64_SMOVvi32to64_idx0cxx . . $ AArch64_SMOVvi32to64_idx0.:
336 case AArch64_UMOVvi8_idx0cxx . . $ AArch64_UMOVvi8_idx0.:
337 case AArch64_UMOVvi16_idx0cxx . . $ AArch64_UMOVvi16_idx0.:
338 case AArch64_UMOVvi32_idx0cxx . . $ AArch64_UMOVvi32_idx0.:
339 case AArch64_UMOVvi64_idx0cxx . . $ AArch64_UMOVvi64_idx0.:
340 Op->Kindcxx . . $ MCOperand#Kind. = kImmediatecxx . . $ MCOperand#kImmediate.;
341 Op->ImmValcxx . . $ MCOperand#$anonymous_type_1#ImmVal. = 0;
342 MCInst_addOperand2cxx . . $ MCInst_addOperand2(c51f4ddcb6809868).(MI, Op);
343 break;
344 }
345
346 if (result != MCDisassembler_Failcxx . . $ MCDisassembler_Fail.) {
347 *Size = 4;
348
349 return result;
350 }
351
352 // invalid code
353 MCInst_clearcxx . . $ MCInst_clear(94c8a3269074abe9).(MI);
354 *Size = 0;
355
356 return MCDisassembler_Failcxx . . $ MCDisassembler_Fail.;
357 }
358
359 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! AArch64_getInstructioncxx . . $ AArch64_getInstruction(fe94ce91eeab61e9).(cshcxx . . $ csh# ud, const uint8_tcxx . . $ uint8_t# *code, size_t code_len,
360 MCInstcxx . . $ MCInst# *instr, uint16_tcxx . . $ uint16_t# *size, uint64_tcxx . . $ uint64_t# address, void *info)
361 {
362 DecodeStatuscxx . . $ DecodeStatus# status = _getInstructioncxx . . $ _getInstruction(442fcccd5efbe011).((cs_structcxx . . $ cs_struct# *)ud, instr,
363 code, code_len,
364 size,
365 address, (MCRegisterInfocxx . . $ MCRegisterInfo# *)info);
366
367 return status == MCDisassembler_Successcxx . . $ MCDisassembler_Success.;
368 }
369
370 static const unsigned FPR128DecoderTablecxx . . $ FPR128DecoderTable.[] = {
371 AArch64_Q0cxx . . $ AArch64_Q0., AArch64_Q1cxx . . $ AArch64_Q1., AArch64_Q2cxx . . $ AArch64_Q2., AArch64_Q3cxx . . $ AArch64_Q3., AArch64_Q4cxx . . $ AArch64_Q4.,
372 AArch64_Q5cxx . . $ AArch64_Q5., AArch64_Q6cxx . . $ AArch64_Q6., AArch64_Q7cxx . . $ AArch64_Q7., AArch64_Q8cxx . . $ AArch64_Q8., AArch64_Q9cxx . . $ AArch64_Q9.,
373 AArch64_Q10cxx . . $ AArch64_Q10., AArch64_Q11cxx . . $ AArch64_Q11., AArch64_Q12cxx . . $ AArch64_Q12., AArch64_Q13cxx . . $ AArch64_Q13., AArch64_Q14cxx . . $ AArch64_Q14.,
374 AArch64_Q15cxx . . $ AArch64_Q15., AArch64_Q16cxx . . $ AArch64_Q16., AArch64_Q17cxx . . $ AArch64_Q17., AArch64_Q18cxx . . $ AArch64_Q18., AArch64_Q19cxx . . $ AArch64_Q19.,
375 AArch64_Q20cxx . . $ AArch64_Q20., AArch64_Q21cxx . . $ AArch64_Q21., AArch64_Q22cxx . . $ AArch64_Q22., AArch64_Q23cxx . . $ AArch64_Q23., AArch64_Q24cxx . . $ AArch64_Q24.,
376 AArch64_Q25cxx . . $ AArch64_Q25., AArch64_Q26cxx . . $ AArch64_Q26., AArch64_Q27cxx . . $ AArch64_Q27., AArch64_Q28cxx . . $ AArch64_Q28., AArch64_Q29cxx . . $ AArch64_Q29.,
377 AArch64_Q30cxx . . $ AArch64_Q30., AArch64_Q31cxx . . $ AArch64_Q31.
378 };
379
380 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
381 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
382 {
383 unsigned Register;
384
385 if (RegNo > 31)
386 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
387
388 Register = FPR128DecoderTablecxx . . $ FPR128DecoderTable.[RegNo];
389 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
390
391 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
392 }
393
394 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR128_loRegisterClasscxx . . $ DecodeFPR128_loRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
395 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
396 {
397 if (RegNo > 15)
398 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
399
400 return DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, RegNo, Addr, Decoder);
401 }
402
403 static const unsigned FPR64DecoderTablecxx . . $ FPR64DecoderTable.[] = {
404 AArch64_D0cxx . . $ AArch64_D0., AArch64_D1cxx . . $ AArch64_D1., AArch64_D2cxx . . $ AArch64_D2., AArch64_D3cxx . . $ AArch64_D3., AArch64_D4cxx . . $ AArch64_D4.,
405 AArch64_D5cxx . . $ AArch64_D5., AArch64_D6cxx . . $ AArch64_D6., AArch64_D7cxx . . $ AArch64_D7., AArch64_D8cxx . . $ AArch64_D8., AArch64_D9cxx . . $ AArch64_D9.,
406 AArch64_D10cxx . . $ AArch64_D10., AArch64_D11cxx . . $ AArch64_D11., AArch64_D12cxx . . $ AArch64_D12., AArch64_D13cxx . . $ AArch64_D13., AArch64_D14cxx . . $ AArch64_D14.,
407 AArch64_D15cxx . . $ AArch64_D15., AArch64_D16cxx . . $ AArch64_D16., AArch64_D17cxx . . $ AArch64_D17., AArch64_D18cxx . . $ AArch64_D18., AArch64_D19cxx . . $ AArch64_D19.,
408 AArch64_D20cxx . . $ AArch64_D20., AArch64_D21cxx . . $ AArch64_D21., AArch64_D22cxx . . $ AArch64_D22., AArch64_D23cxx . . $ AArch64_D23., AArch64_D24cxx . . $ AArch64_D24.,
409 AArch64_D25cxx . . $ AArch64_D25., AArch64_D26cxx . . $ AArch64_D26., AArch64_D27cxx . . $ AArch64_D27., AArch64_D28cxx . . $ AArch64_D28., AArch64_D29cxx . . $ AArch64_D29.,
410 AArch64_D30cxx . . $ AArch64_D30., AArch64_D31cxx . . $ AArch64_D31.
411 };
412
413 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
414 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
415 {
416 unsigned Register;
417
418 if (RegNo > 31)
419 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
420
421 Register = FPR64DecoderTablecxx . . $ FPR64DecoderTable.[RegNo];
422 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
423
424 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
425 }
426
427 static const unsigned FPR32DecoderTablecxx . . $ FPR32DecoderTable.[] = {
428 AArch64_S0cxx . . $ AArch64_S0., AArch64_S1cxx . . $ AArch64_S1., AArch64_S2cxx . . $ AArch64_S2., AArch64_S3cxx . . $ AArch64_S3., AArch64_S4cxx . . $ AArch64_S4.,
429 AArch64_S5cxx . . $ AArch64_S5., AArch64_S6cxx . . $ AArch64_S6., AArch64_S7cxx . . $ AArch64_S7., AArch64_S8cxx . . $ AArch64_S8., AArch64_S9cxx . . $ AArch64_S9.,
430 AArch64_S10cxx . . $ AArch64_S10., AArch64_S11cxx . . $ AArch64_S11., AArch64_S12cxx . . $ AArch64_S12., AArch64_S13cxx . . $ AArch64_S13., AArch64_S14cxx . . $ AArch64_S14.,
431 AArch64_S15cxx . . $ AArch64_S15., AArch64_S16cxx . . $ AArch64_S16., AArch64_S17cxx . . $ AArch64_S17., AArch64_S18cxx . . $ AArch64_S18., AArch64_S19cxx . . $ AArch64_S19.,
432 AArch64_S20cxx . . $ AArch64_S20., AArch64_S21cxx . . $ AArch64_S21., AArch64_S22cxx . . $ AArch64_S22., AArch64_S23cxx . . $ AArch64_S23., AArch64_S24cxx . . $ AArch64_S24.,
433 AArch64_S25cxx . . $ AArch64_S25., AArch64_S26cxx . . $ AArch64_S26., AArch64_S27cxx . . $ AArch64_S27., AArch64_S28cxx . . $ AArch64_S28., AArch64_S29cxx . . $ AArch64_S29.,
434 AArch64_S30cxx . . $ AArch64_S30., AArch64_S31cxx . . $ AArch64_S31.
435 };
436
437 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR32RegisterClasscxx . . $ DecodeFPR32RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
438 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
439 {
440 unsigned Register;
441
442 if (RegNo > 31)
443 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
444
445 Register = FPR32DecoderTablecxx . . $ FPR32DecoderTable.[RegNo];
446 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
447
448 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
449 }
450
451 static const unsigned FPR16DecoderTablecxx . . $ FPR16DecoderTable.[] = {
452 AArch64_H0cxx . . $ AArch64_H0., AArch64_H1cxx . . $ AArch64_H1., AArch64_H2cxx . . $ AArch64_H2., AArch64_H3cxx . . $ AArch64_H3., AArch64_H4cxx . . $ AArch64_H4.,
453 AArch64_H5cxx . . $ AArch64_H5., AArch64_H6cxx . . $ AArch64_H6., AArch64_H7cxx . . $ AArch64_H7., AArch64_H8cxx . . $ AArch64_H8., AArch64_H9cxx . . $ AArch64_H9.,
454 AArch64_H10cxx . . $ AArch64_H10., AArch64_H11cxx . . $ AArch64_H11., AArch64_H12cxx . . $ AArch64_H12., AArch64_H13cxx . . $ AArch64_H13., AArch64_H14cxx . . $ AArch64_H14.,
455 AArch64_H15cxx . . $ AArch64_H15., AArch64_H16cxx . . $ AArch64_H16., AArch64_H17cxx . . $ AArch64_H17., AArch64_H18cxx . . $ AArch64_H18., AArch64_H19cxx . . $ AArch64_H19.,
456 AArch64_H20cxx . . $ AArch64_H20., AArch64_H21cxx . . $ AArch64_H21., AArch64_H22cxx . . $ AArch64_H22., AArch64_H23cxx . . $ AArch64_H23., AArch64_H24cxx . . $ AArch64_H24.,
457 AArch64_H25cxx . . $ AArch64_H25., AArch64_H26cxx . . $ AArch64_H26., AArch64_H27cxx . . $ AArch64_H27., AArch64_H28cxx . . $ AArch64_H28., AArch64_H29cxx . . $ AArch64_H29.,
458 AArch64_H30cxx . . $ AArch64_H30., AArch64_H31cxx . . $ AArch64_H31.
459 };
460
461 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR16RegisterClasscxx . . $ DecodeFPR16RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
462 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
463 {
464 unsigned Register;
465
466 if (RegNo > 31)
467 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
468
469 Register = FPR16DecoderTablecxx . . $ FPR16DecoderTable.[RegNo];
470 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
471
472 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
473 }
474
475 static const unsigned FPR8DecoderTablecxx . . $ FPR8DecoderTable.[] = {
476 AArch64_B0cxx . . $ AArch64_B0., AArch64_B1cxx . . $ AArch64_B1., AArch64_B2cxx . . $ AArch64_B2., AArch64_B3cxx . . $ AArch64_B3., AArch64_B4cxx . . $ AArch64_B4.,
477 AArch64_B5cxx . . $ AArch64_B5., AArch64_B6cxx . . $ AArch64_B6., AArch64_B7cxx . . $ AArch64_B7., AArch64_B8cxx . . $ AArch64_B8., AArch64_B9cxx . . $ AArch64_B9.,
478 AArch64_B10cxx . . $ AArch64_B10., AArch64_B11cxx . . $ AArch64_B11., AArch64_B12cxx . . $ AArch64_B12., AArch64_B13cxx . . $ AArch64_B13., AArch64_B14cxx . . $ AArch64_B14.,
479 AArch64_B15cxx . . $ AArch64_B15., AArch64_B16cxx . . $ AArch64_B16., AArch64_B17cxx . . $ AArch64_B17., AArch64_B18cxx . . $ AArch64_B18., AArch64_B19cxx . . $ AArch64_B19.,
480 AArch64_B20cxx . . $ AArch64_B20., AArch64_B21cxx . . $ AArch64_B21., AArch64_B22cxx . . $ AArch64_B22., AArch64_B23cxx . . $ AArch64_B23., AArch64_B24cxx . . $ AArch64_B24.,
481 AArch64_B25cxx . . $ AArch64_B25., AArch64_B26cxx . . $ AArch64_B26., AArch64_B27cxx . . $ AArch64_B27., AArch64_B28cxx . . $ AArch64_B28., AArch64_B29cxx . . $ AArch64_B29.,
482 AArch64_B30cxx . . $ AArch64_B30., AArch64_B31cxx . . $ AArch64_B31.
483 };
484
485 static DecodeStatuscxx . . $ DecodeStatus# DecodeFPR8RegisterClasscxx . . $ DecodeFPR8RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
486 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
487 {
488 unsigned Register;
489
490 if (RegNo > 31)
491 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
492
493 Register = FPR8DecoderTablecxx . . $ FPR8DecoderTable.[RegNo];
494 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
495
496 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
497 }
498
499 static const unsigned GPR64DecoderTablecxx . . $ GPR64DecoderTable.[] = {
500 AArch64_X0cxx . . $ AArch64_X0., AArch64_X1cxx . . $ AArch64_X1., AArch64_X2cxx . . $ AArch64_X2., AArch64_X3cxx . . $ AArch64_X3., AArch64_X4cxx . . $ AArch64_X4.,
501 AArch64_X5cxx . . $ AArch64_X5., AArch64_X6cxx . . $ AArch64_X6., AArch64_X7cxx . . $ AArch64_X7., AArch64_X8cxx . . $ AArch64_X8., AArch64_X9cxx . . $ AArch64_X9.,
502 AArch64_X10cxx . . $ AArch64_X10., AArch64_X11cxx . . $ AArch64_X11., AArch64_X12cxx . . $ AArch64_X12., AArch64_X13cxx . . $ AArch64_X13., AArch64_X14cxx . . $ AArch64_X14.,
503 AArch64_X15cxx . . $ AArch64_X15., AArch64_X16cxx . . $ AArch64_X16., AArch64_X17cxx . . $ AArch64_X17., AArch64_X18cxx . . $ AArch64_X18., AArch64_X19cxx . . $ AArch64_X19.,
504 AArch64_X20cxx . . $ AArch64_X20., AArch64_X21cxx . . $ AArch64_X21., AArch64_X22cxx . . $ AArch64_X22., AArch64_X23cxx . . $ AArch64_X23., AArch64_X24cxx . . $ AArch64_X24.,
505 AArch64_X25cxx . . $ AArch64_X25., AArch64_X26cxx . . $ AArch64_X26., AArch64_X27cxx . . $ AArch64_X27., AArch64_X28cxx . . $ AArch64_X28., AArch64_FPcxx . . $ AArch64_FP.,
506 AArch64_LRcxx . . $ AArch64_LR., AArch64_XZRcxx . . $ AArch64_XZR.
507 };
508
509 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
510 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
511 {
512 unsigned Register;
513
514 if (RegNo > 30)
515 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
516
517 Register = GPR64DecoderTablecxx . . $ GPR64DecoderTable.[RegNo];
518 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
519
520 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
521 }
522
523 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
524 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
525 {
526 unsigned Register;
527
528 if (RegNo > 31)
529 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
530
531 Register = GPR64DecoderTablecxx . . $ GPR64DecoderTable.[RegNo];
532 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
533
534 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
535 }
536
537 static const unsigned GPR64x8DecoderTablecxx . . $ GPR64x8DecoderTable.[] = {
538 AArch64_X0_X1_X2_X3_X4_X5_X6_X7cxx . . $ AArch64_X0_X1_X2_X3_X4_X5_X6_X7., AArch64_X2_X3_X4_X5_X6_X7_X8_X9cxx . . $ AArch64_X2_X3_X4_X5_X6_X7_X8_X9.,
539 AArch64_X4_X5_X6_X7_X8_X9_X10_X11cxx . . $ AArch64_X4_X5_X6_X7_X8_X9_X10_X11., AArch64_X6_X7_X8_X9_X10_X11_X12_X13cxx . . $ AArch64_X6_X7_X8_X9_X10_X11_X12_X13.,
540 AArch64_X8_X9_X10_X11_X12_X13_X14_X15cxx . . $ AArch64_X8_X9_X10_X11_X12_X13_X14_X15., AArch64_X10_X11_X12_X13_X14_X15_X16_X17cxx . . $ AArch64_X10_X11_X12_X13_X14_X15_X16_X17.,
541 AArch64_X12_X13_X14_X15_X16_X17_X18_X19cxx . . $ AArch64_X12_X13_X14_X15_X16_X17_X18_X19., AArch64_X14_X15_X16_X17_X18_X19_X20_X21cxx . . $ AArch64_X14_X15_X16_X17_X18_X19_X20_X21.,
542 AArch64_X16_X17_X18_X19_X20_X21_X22_X23cxx . . $ AArch64_X16_X17_X18_X19_X20_X21_X22_X23., AArch64_X18_X19_X20_X21_X22_X23_X24_X25cxx . . $ AArch64_X18_X19_X20_X21_X22_X23_X24_X25.,
543 AArch64_X20_X21_X22_X23_X24_X25_X26_X27cxx . . $ AArch64_X20_X21_X22_X23_X24_X25_X26_X27., AArch64_X22_X23_X24_X25_X26_X27_X28_FPcxx . . $ AArch64_X22_X23_X24_X25_X26_X27_X28_FP.
544 };
545
546 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64x8ClassRegisterClasscxx . . $ DecodeGPR64x8ClassRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
547 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
548 {
549 if (RegNo > 22)
550 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
551 if (RegNo & 1)
552 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
553
554 unsigned Register = GPR64x8DecoderTablecxx . . $ GPR64x8DecoderTable.[RegNo >> 1];
555 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
556
557 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
558 }
559
560 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
561 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
562 {
563 unsigned Register;
564
565 if (RegNo > 31)
566 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
567
568 Register = GPR64DecoderTablecxx . . $ GPR64DecoderTable.[RegNo];
569 if (Register == AArch64_XZRcxx . . $ AArch64_XZR.)
570 Register = AArch64_SPcxx . . $ AArch64_SP.;
571
572 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
573
574 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
575 }
576
577
578 static const unsigned MatrixIndexGPR32_12_15DecoderTablecxx . . $ MatrixIndexGPR32_12_15DecoderTable.[] = {
579 AArch64_W12cxx . . $ AArch64_W12., AArch64_W13cxx . . $ AArch64_W13., AArch64_W14cxx . . $ AArch64_W14., AArch64_W15cxx . . $ AArch64_W15.
580 };
581
582 static DecodeStatuscxx . . $ DecodeStatus# DecodeMatrixIndexGPR32_12_15RegisterClasscxx . . $ DecodeMatrixIndexGPR32_12_15RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
583 unsigned RegNo, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
584 {
585 unsigned Register;
586
587 if (RegNo > 3)
588 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
589
590 Register = MatrixIndexGPR32_12_15DecoderTablecxx . . $ MatrixIndexGPR32_12_15DecoderTable.[RegNo];
591 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
592
593 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
594 }
595
596 static const unsigned GPR32DecoderTablecxx . . $ GPR32DecoderTable.[] = {
597 AArch64_W0cxx . . $ AArch64_W0., AArch64_W1cxx . . $ AArch64_W1., AArch64_W2cxx . . $ AArch64_W2., AArch64_W3cxx . . $ AArch64_W3., AArch64_W4cxx . . $ AArch64_W4.,
598 AArch64_W5cxx . . $ AArch64_W5., AArch64_W6cxx . . $ AArch64_W6., AArch64_W7cxx . . $ AArch64_W7., AArch64_W8cxx . . $ AArch64_W8., AArch64_W9cxx . . $ AArch64_W9.,
599 AArch64_W10cxx . . $ AArch64_W10., AArch64_W11cxx . . $ AArch64_W11., AArch64_W12cxx . . $ AArch64_W12., AArch64_W13cxx . . $ AArch64_W13., AArch64_W14cxx . . $ AArch64_W14.,
600 AArch64_W15cxx . . $ AArch64_W15., AArch64_W16cxx . . $ AArch64_W16., AArch64_W17cxx . . $ AArch64_W17., AArch64_W18cxx . . $ AArch64_W18., AArch64_W19cxx . . $ AArch64_W19.,
601 AArch64_W20cxx . . $ AArch64_W20., AArch64_W21cxx . . $ AArch64_W21., AArch64_W22cxx . . $ AArch64_W22., AArch64_W23cxx . . $ AArch64_W23., AArch64_W24cxx . . $ AArch64_W24.,
602 AArch64_W25cxx . . $ AArch64_W25., AArch64_W26cxx . . $ AArch64_W26., AArch64_W27cxx . . $ AArch64_W27., AArch64_W28cxx . . $ AArch64_W28., AArch64_W29cxx . . $ AArch64_W29.,
603 AArch64_W30cxx . . $ AArch64_W30., AArch64_WZRcxx . . $ AArch64_WZR.
604 };
605
606 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
607 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
608 {
609 unsigned Register;
610
611 if (RegNo > 31)
612 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
613
614 Register = GPR32DecoderTablecxx . . $ GPR32DecoderTable.[RegNo];
615 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
616
617 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
618 }
619
620 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
621 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
622 {
623 unsigned Register;
624
625 if (RegNo > 31)
626 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
627
628 Register = GPR32DecoderTablecxx . . $ GPR32DecoderTable.[RegNo];
629 if (Register == AArch64_WZRcxx . . $ AArch64_WZR.)
630 Register = AArch64_WSPcxx . . $ AArch64_WSP.;
631
632 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
633
634 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
635 }
636
637 static const unsigned ZPRDecoderTablecxx . . $ ZPRDecoderTable.[] = {
638 AArch64_Z0cxx . . $ AArch64_Z0., AArch64_Z1cxx . . $ AArch64_Z1., AArch64_Z2cxx . . $ AArch64_Z2., AArch64_Z3cxx . . $ AArch64_Z3.,
639 AArch64_Z4cxx . . $ AArch64_Z4., AArch64_Z5cxx . . $ AArch64_Z5., AArch64_Z6cxx . . $ AArch64_Z6., AArch64_Z7cxx . . $ AArch64_Z7.,
640 AArch64_Z8cxx . . $ AArch64_Z8., AArch64_Z9cxx . . $ AArch64_Z9., AArch64_Z10cxx . . $ AArch64_Z10., AArch64_Z11cxx . . $ AArch64_Z11.,
641 AArch64_Z12cxx . . $ AArch64_Z12., AArch64_Z13cxx . . $ AArch64_Z13., AArch64_Z14cxx . . $ AArch64_Z14., AArch64_Z15cxx . . $ AArch64_Z15.,
642 AArch64_Z16cxx . . $ AArch64_Z16., AArch64_Z17cxx . . $ AArch64_Z17., AArch64_Z18cxx . . $ AArch64_Z18., AArch64_Z19cxx . . $ AArch64_Z19.,
643 AArch64_Z20cxx . . $ AArch64_Z20., AArch64_Z21cxx . . $ AArch64_Z21., AArch64_Z22cxx . . $ AArch64_Z22., AArch64_Z23cxx . . $ AArch64_Z23.,
644 AArch64_Z24cxx . . $ AArch64_Z24., AArch64_Z25cxx . . $ AArch64_Z25., AArch64_Z26cxx . . $ AArch64_Z26., AArch64_Z27cxx . . $ AArch64_Z27.,
645 AArch64_Z28cxx . . $ AArch64_Z28., AArch64_Z29cxx . . $ AArch64_Z29., AArch64_Z30cxx . . $ AArch64_Z30., AArch64_Z31cxx . . $ AArch64_Z31.
646 };
647
648 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPRRegisterClasscxx . . $ DecodeZPRRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
649 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
650 {
651 unsigned Register;
652
653 if (RegNo > 31)
654 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
655
656 Register = ZPRDecoderTablecxx . . $ ZPRDecoderTable.[RegNo];
657 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
658
659 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
660 }
661
662 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR_4bRegisterClasscxx . . $ DecodeZPR_4bRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
663 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
664 {
665 if (RegNo > 15)
666 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
667
668 return DecodeZPRRegisterClasscxx . . $ DecodeZPRRegisterClass(cbc3db6d502b7505).(Inst, RegNo, Address, Decoder);
669 }
670
671 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR_3bRegisterClasscxx . . $ DecodeZPR_3bRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
672 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
673 {
674 if (RegNo > 7)
675 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
676
677 return DecodeZPRRegisterClasscxx . . $ DecodeZPRRegisterClass(cbc3db6d502b7505).(Inst, RegNo, Address, Decoder);
678 }
679
680 static const unsigned ZZDecoderTablecxx . . $ ZZDecoderTable.[] = {
681 AArch64_Z0_Z1cxx . . $ AArch64_Z0_Z1., AArch64_Z1_Z2cxx . . $ AArch64_Z1_Z2., AArch64_Z2_Z3cxx . . $ AArch64_Z2_Z3., AArch64_Z3_Z4cxx . . $ AArch64_Z3_Z4.,
682 AArch64_Z4_Z5cxx . . $ AArch64_Z4_Z5., AArch64_Z5_Z6cxx . . $ AArch64_Z5_Z6., AArch64_Z6_Z7cxx . . $ AArch64_Z6_Z7., AArch64_Z7_Z8cxx . . $ AArch64_Z7_Z8.,
683 AArch64_Z8_Z9cxx . . $ AArch64_Z8_Z9., AArch64_Z9_Z10cxx . . $ AArch64_Z9_Z10., AArch64_Z10_Z11cxx . . $ AArch64_Z10_Z11., AArch64_Z11_Z12cxx . . $ AArch64_Z11_Z12.,
684 AArch64_Z12_Z13cxx . . $ AArch64_Z12_Z13., AArch64_Z13_Z14cxx . . $ AArch64_Z13_Z14., AArch64_Z14_Z15cxx . . $ AArch64_Z14_Z15., AArch64_Z15_Z16cxx . . $ AArch64_Z15_Z16.,
685 AArch64_Z16_Z17cxx . . $ AArch64_Z16_Z17., AArch64_Z17_Z18cxx . . $ AArch64_Z17_Z18., AArch64_Z18_Z19cxx . . $ AArch64_Z18_Z19., AArch64_Z19_Z20cxx . . $ AArch64_Z19_Z20.,
686 AArch64_Z20_Z21cxx . . $ AArch64_Z20_Z21., AArch64_Z21_Z22cxx . . $ AArch64_Z21_Z22., AArch64_Z22_Z23cxx . . $ AArch64_Z22_Z23., AArch64_Z23_Z24cxx . . $ AArch64_Z23_Z24.,
687 AArch64_Z24_Z25cxx . . $ AArch64_Z24_Z25., AArch64_Z25_Z26cxx . . $ AArch64_Z25_Z26., AArch64_Z26_Z27cxx . . $ AArch64_Z26_Z27., AArch64_Z27_Z28cxx . . $ AArch64_Z27_Z28.,
688 AArch64_Z28_Z29cxx . . $ AArch64_Z28_Z29., AArch64_Z29_Z30cxx . . $ AArch64_Z29_Z30., AArch64_Z30_Z31cxx . . $ AArch64_Z30_Z31., AArch64_Z31_Z0cxx . . $ AArch64_Z31_Z0.
689 };
690
691 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR2RegisterClasscxx . . $ DecodeZPR2RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
692 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
693 {
694 unsigned Register;
695
696 if (RegNo > 31)
697 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
698
699 Register = ZZDecoderTablecxx . . $ ZZDecoderTable.[RegNo];
700 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
701
702 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
703 }
704
705 static const unsigned ZZZDecoderTablecxx . . $ ZZZDecoderTable.[] = {
706 AArch64_Z0_Z1_Z2cxx . . $ AArch64_Z0_Z1_Z2., AArch64_Z1_Z2_Z3cxx . . $ AArch64_Z1_Z2_Z3., AArch64_Z2_Z3_Z4cxx . . $ AArch64_Z2_Z3_Z4.,
707 AArch64_Z3_Z4_Z5cxx . . $ AArch64_Z3_Z4_Z5., AArch64_Z4_Z5_Z6cxx . . $ AArch64_Z4_Z5_Z6., AArch64_Z5_Z6_Z7cxx . . $ AArch64_Z5_Z6_Z7.,
708 AArch64_Z6_Z7_Z8cxx . . $ AArch64_Z6_Z7_Z8., AArch64_Z7_Z8_Z9cxx . . $ AArch64_Z7_Z8_Z9., AArch64_Z8_Z9_Z10cxx . . $ AArch64_Z8_Z9_Z10.,
709 AArch64_Z9_Z10_Z11cxx . . $ AArch64_Z9_Z10_Z11., AArch64_Z10_Z11_Z12cxx . . $ AArch64_Z10_Z11_Z12., AArch64_Z11_Z12_Z13cxx . . $ AArch64_Z11_Z12_Z13.,
710 AArch64_Z12_Z13_Z14cxx . . $ AArch64_Z12_Z13_Z14., AArch64_Z13_Z14_Z15cxx . . $ AArch64_Z13_Z14_Z15., AArch64_Z14_Z15_Z16cxx . . $ AArch64_Z14_Z15_Z16.,
711 AArch64_Z15_Z16_Z17cxx . . $ AArch64_Z15_Z16_Z17., AArch64_Z16_Z17_Z18cxx . . $ AArch64_Z16_Z17_Z18., AArch64_Z17_Z18_Z19cxx . . $ AArch64_Z17_Z18_Z19.,
712 AArch64_Z18_Z19_Z20cxx . . $ AArch64_Z18_Z19_Z20., AArch64_Z19_Z20_Z21cxx . . $ AArch64_Z19_Z20_Z21., AArch64_Z20_Z21_Z22cxx . . $ AArch64_Z20_Z21_Z22.,
713 AArch64_Z21_Z22_Z23cxx . . $ AArch64_Z21_Z22_Z23., AArch64_Z22_Z23_Z24cxx . . $ AArch64_Z22_Z23_Z24., AArch64_Z23_Z24_Z25cxx . . $ AArch64_Z23_Z24_Z25.,
714 AArch64_Z24_Z25_Z26cxx . . $ AArch64_Z24_Z25_Z26., AArch64_Z25_Z26_Z27cxx . . $ AArch64_Z25_Z26_Z27., AArch64_Z26_Z27_Z28cxx . . $ AArch64_Z26_Z27_Z28.,
715 AArch64_Z27_Z28_Z29cxx . . $ AArch64_Z27_Z28_Z29., AArch64_Z28_Z29_Z30cxx . . $ AArch64_Z28_Z29_Z30., AArch64_Z29_Z30_Z31cxx . . $ AArch64_Z29_Z30_Z31.,
716 AArch64_Z30_Z31_Z0cxx . . $ AArch64_Z30_Z31_Z0., AArch64_Z31_Z0_Z1cxx . . $ AArch64_Z31_Z0_Z1.
717 };
718
719 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR3RegisterClasscxx . . $ DecodeZPR3RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
720 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
721 {
722 unsigned Register;
723
724 if (RegNo > 31)
725 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
726
727 Register = ZZZDecoderTablecxx . . $ ZZZDecoderTable.[RegNo];
728 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
729
730 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
731 }
732
733 static const unsigned ZZZZDecoderTablecxx . . $ ZZZZDecoderTable.[] = {
734 AArch64_Z0_Z1_Z2_Z3cxx . . $ AArch64_Z0_Z1_Z2_Z3., AArch64_Z1_Z2_Z3_Z4cxx . . $ AArch64_Z1_Z2_Z3_Z4., AArch64_Z2_Z3_Z4_Z5cxx . . $ AArch64_Z2_Z3_Z4_Z5.,
735 AArch64_Z3_Z4_Z5_Z6cxx . . $ AArch64_Z3_Z4_Z5_Z6., AArch64_Z4_Z5_Z6_Z7cxx . . $ AArch64_Z4_Z5_Z6_Z7., AArch64_Z5_Z6_Z7_Z8cxx . . $ AArch64_Z5_Z6_Z7_Z8.,
736 AArch64_Z6_Z7_Z8_Z9cxx . . $ AArch64_Z6_Z7_Z8_Z9., AArch64_Z7_Z8_Z9_Z10cxx . . $ AArch64_Z7_Z8_Z9_Z10., AArch64_Z8_Z9_Z10_Z11cxx . . $ AArch64_Z8_Z9_Z10_Z11.,
737 AArch64_Z9_Z10_Z11_Z12cxx . . $ AArch64_Z9_Z10_Z11_Z12., AArch64_Z10_Z11_Z12_Z13cxx . . $ AArch64_Z10_Z11_Z12_Z13., AArch64_Z11_Z12_Z13_Z14cxx . . $ AArch64_Z11_Z12_Z13_Z14.,
738 AArch64_Z12_Z13_Z14_Z15cxx . . $ AArch64_Z12_Z13_Z14_Z15., AArch64_Z13_Z14_Z15_Z16cxx . . $ AArch64_Z13_Z14_Z15_Z16., AArch64_Z14_Z15_Z16_Z17cxx . . $ AArch64_Z14_Z15_Z16_Z17.,
739 AArch64_Z15_Z16_Z17_Z18cxx . . $ AArch64_Z15_Z16_Z17_Z18., AArch64_Z16_Z17_Z18_Z19cxx . . $ AArch64_Z16_Z17_Z18_Z19., AArch64_Z17_Z18_Z19_Z20cxx . . $ AArch64_Z17_Z18_Z19_Z20.,
740 AArch64_Z18_Z19_Z20_Z21cxx . . $ AArch64_Z18_Z19_Z20_Z21., AArch64_Z19_Z20_Z21_Z22cxx . . $ AArch64_Z19_Z20_Z21_Z22., AArch64_Z20_Z21_Z22_Z23cxx . . $ AArch64_Z20_Z21_Z22_Z23.,
741 AArch64_Z21_Z22_Z23_Z24cxx . . $ AArch64_Z21_Z22_Z23_Z24., AArch64_Z22_Z23_Z24_Z25cxx . . $ AArch64_Z22_Z23_Z24_Z25., AArch64_Z23_Z24_Z25_Z26cxx . . $ AArch64_Z23_Z24_Z25_Z26.,
742 AArch64_Z24_Z25_Z26_Z27cxx . . $ AArch64_Z24_Z25_Z26_Z27., AArch64_Z25_Z26_Z27_Z28cxx . . $ AArch64_Z25_Z26_Z27_Z28., AArch64_Z26_Z27_Z28_Z29cxx . . $ AArch64_Z26_Z27_Z28_Z29.,
743 AArch64_Z27_Z28_Z29_Z30cxx . . $ AArch64_Z27_Z28_Z29_Z30., AArch64_Z28_Z29_Z30_Z31cxx . . $ AArch64_Z28_Z29_Z30_Z31., AArch64_Z29_Z30_Z31_Z0cxx . . $ AArch64_Z29_Z30_Z31_Z0.,
744 AArch64_Z30_Z31_Z0_Z1cxx . . $ AArch64_Z30_Z31_Z0_Z1., AArch64_Z31_Z0_Z1_Z2cxx . . $ AArch64_Z31_Z0_Z1_Z2.
745 };
746
747 static DecodeStatuscxx . . $ DecodeStatus# DecodeZPR4RegisterClasscxx . . $ DecodeZPR4RegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
748 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
749 {
750 unsigned Register;
751
752 if (RegNo > 31)
753 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
754
755 Register = ZZZZDecoderTablecxx . . $ ZZZZDecoderTable.[RegNo];
756 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
757
758 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
759 }
760
761 static DecodeStatuscxx . . $ DecodeStatus# DecodeMatrixTileListRegisterClasscxx . . $ DecodeMatrixTileListRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
762 unsigned RegMask, uint64_tcxx . . $ uint64_t# Address, const void *Decoder) {
763 if (RegMask > 0xFF)
764 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
765
766 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, RegMask);
767 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
768 }
769
770 static const unsigned MatrixZATileDecoderTablecxx . . $ MatrixZATileDecoderTable.[] = {
771 AArch64_ZAB0cxx . . $ AArch64_ZAB0.,
772 AArch64_ZAH0cxx . . $ AArch64_ZAH0., AArch64_ZAH1cxx . . $ AArch64_ZAH1.,
773 AArch64_ZAS0cxx . . $ AArch64_ZAS0., AArch64_ZAS1cxx . . $ AArch64_ZAS1., AArch64_ZAS2cxx . . $ AArch64_ZAS2., AArch64_ZAS3cxx . . $ AArch64_ZAS3.,
774 AArch64_ZAD0cxx . . $ AArch64_ZAD0., AArch64_ZAD1cxx . . $ AArch64_ZAD1., AArch64_ZAD2cxx . . $ AArch64_ZAD2., AArch64_ZAD3cxx . . $ AArch64_ZAD3.,
775 AArch64_ZAD4cxx . . $ AArch64_ZAD4., AArch64_ZAD5cxx . . $ AArch64_ZAD5., AArch64_ZAD6cxx . . $ AArch64_ZAD6., AArch64_ZAD7cxx . . $ AArch64_ZAD7.,
776 AArch64_ZAQ0cxx . . $ AArch64_ZAQ0., AArch64_ZAQ1cxx . . $ AArch64_ZAQ1., AArch64_ZAQ2cxx . . $ AArch64_ZAQ2., AArch64_ZAQ3cxx . . $ AArch64_ZAQ3.,
777 AArch64_ZAQ4cxx . . $ AArch64_ZAQ4., AArch64_ZAQ5cxx . . $ AArch64_ZAQ5., AArch64_ZAQ6cxx . . $ AArch64_ZAQ6., AArch64_ZAQ7cxx . . $ AArch64_ZAQ7.,
778 AArch64_ZAQ8cxx . . $ AArch64_ZAQ8., AArch64_ZAQ9cxx . . $ AArch64_ZAQ9., AArch64_ZAQ10cxx . . $ AArch64_ZAQ10., AArch64_ZAQ11cxx . . $ AArch64_ZAQ11.,
779 AArch64_ZAQ12cxx . . $ AArch64_ZAQ12., AArch64_ZAQ13cxx . . $ AArch64_ZAQ13., AArch64_ZAQ14cxx . . $ AArch64_ZAQ14., AArch64_ZAQ15cxx . . $ AArch64_ZAQ15.
780 };
781
782 static DecodeStatuscxx . . $ DecodeStatus# DecodeMatrixTilecxx . . $ DecodeMatrixTile(a468861a7f03fb50).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
783 uint64_tcxx . . $ uint64_t# Address, const void *Decoder, unsigned NumBitsForTile) {
784 unsigned LastReg = (1 << NumBitsForTile) - 1;
785 if (RegNo > LastReg)
786 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
787
788 // Convert original 2D indexes into 1D table index
789 unsigned index = 0;
790 switch (NumBitsForTile)
791 {
792 case 0:
793 // Only a single Byte tile at beginning of list so index = 0
794 break;
795 case 1:
796 index = 1 + RegNo;
797 break;
798 case 2:
799 index = 3 + RegNo;
800 break;
801 case 3:
802 index = 7 + RegNo;
803 break;
804 case 4:
805 index = 15 + RegNo;
806 break;
807 default:
808 break;
809 }
810
811 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, MatrixZATileDecoderTablecxx . . $ MatrixZATileDecoderTable.[index]);
812 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
813 }
814
815
816 static const unsigned PPRDecoderTablecxx . . $ PPRDecoderTable.[] = {
817 AArch64_P0cxx . . $ AArch64_P0., AArch64_P1cxx . . $ AArch64_P1., AArch64_P2cxx . . $ AArch64_P2., AArch64_P3cxx . . $ AArch64_P3.,
818 AArch64_P4cxx . . $ AArch64_P4., AArch64_P5cxx . . $ AArch64_P5., AArch64_P6cxx . . $ AArch64_P6., AArch64_P7cxx . . $ AArch64_P7.,
819 AArch64_P8cxx . . $ AArch64_P8., AArch64_P9cxx . . $ AArch64_P9., AArch64_P10cxx . . $ AArch64_P10., AArch64_P11cxx . . $ AArch64_P11.,
820 AArch64_P12cxx . . $ AArch64_P12., AArch64_P13cxx . . $ AArch64_P13., AArch64_P14cxx . . $ AArch64_P14., AArch64_P15cxx . . $ AArch64_P15.
821 };
822
823 static DecodeStatuscxx . . $ DecodeStatus# DecodePPRRegisterClasscxx . . $ DecodePPRRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
824 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
825 {
826 unsigned Register;
827
828 if (RegNo > 15)
829 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
830
831 Register = PPRDecoderTablecxx . . $ PPRDecoderTable.[RegNo];
832 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
833
834 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
835 }
836
837 static DecodeStatuscxx . . $ DecodeStatus# DecodePPR_3bRegisterClasscxx . . $ DecodePPR_3bRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
838 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
839 {
840 if (RegNo > 7)
841 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
842
843 // Just reuse the PPR decode table
844 return DecodePPRRegisterClasscxx . . $ DecodePPRRegisterClass(cbc3db6d502b7505).(Inst, RegNo, Addr, Decoder);
845 }
846
847 static const unsigned VectorDecoderTablecxx . . $ VectorDecoderTable.[] = {
848 AArch64_Q0cxx . . $ AArch64_Q0., AArch64_Q1cxx . . $ AArch64_Q1., AArch64_Q2cxx . . $ AArch64_Q2., AArch64_Q3cxx . . $ AArch64_Q3., AArch64_Q4cxx . . $ AArch64_Q4.,
849 AArch64_Q5cxx . . $ AArch64_Q5., AArch64_Q6cxx . . $ AArch64_Q6., AArch64_Q7cxx . . $ AArch64_Q7., AArch64_Q8cxx . . $ AArch64_Q8., AArch64_Q9cxx . . $ AArch64_Q9.,
850 AArch64_Q10cxx . . $ AArch64_Q10., AArch64_Q11cxx . . $ AArch64_Q11., AArch64_Q12cxx . . $ AArch64_Q12., AArch64_Q13cxx . . $ AArch64_Q13., AArch64_Q14cxx . . $ AArch64_Q14.,
851 AArch64_Q15cxx . . $ AArch64_Q15., AArch64_Q16cxx . . $ AArch64_Q16., AArch64_Q17cxx . . $ AArch64_Q17., AArch64_Q18cxx . . $ AArch64_Q18., AArch64_Q19cxx . . $ AArch64_Q19.,
852 AArch64_Q20cxx . . $ AArch64_Q20., AArch64_Q21cxx . . $ AArch64_Q21., AArch64_Q22cxx . . $ AArch64_Q22., AArch64_Q23cxx . . $ AArch64_Q23., AArch64_Q24cxx . . $ AArch64_Q24.,
853 AArch64_Q25cxx . . $ AArch64_Q25., AArch64_Q26cxx . . $ AArch64_Q26., AArch64_Q27cxx . . $ AArch64_Q27., AArch64_Q28cxx . . $ AArch64_Q28., AArch64_Q29cxx . . $ AArch64_Q29.,
854 AArch64_Q30cxx . . $ AArch64_Q30., AArch64_Q31cxx . . $ AArch64_Q31.
855 };
856
857 static DecodeStatuscxx . . $ DecodeStatus# DecodeVectorRegisterClasscxx . . $ DecodeVectorRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
858 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
859 {
860 unsigned Register;
861
862 if (RegNo > 31)
863 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
864
865 Register = VectorDecoderTablecxx . . $ VectorDecoderTable.[RegNo];
866 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
867
868 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
869 }
870
871 static const unsigned QQDecoderTablecxx . . $ QQDecoderTable.[] = {
872 AArch64_Q0_Q1cxx . . $ AArch64_Q0_Q1., AArch64_Q1_Q2cxx . . $ AArch64_Q1_Q2., AArch64_Q2_Q3cxx . . $ AArch64_Q2_Q3., AArch64_Q3_Q4cxx . . $ AArch64_Q3_Q4.,
873 AArch64_Q4_Q5cxx . . $ AArch64_Q4_Q5., AArch64_Q5_Q6cxx . . $ AArch64_Q5_Q6., AArch64_Q6_Q7cxx . . $ AArch64_Q6_Q7., AArch64_Q7_Q8cxx . . $ AArch64_Q7_Q8.,
874 AArch64_Q8_Q9cxx . . $ AArch64_Q8_Q9., AArch64_Q9_Q10cxx . . $ AArch64_Q9_Q10., AArch64_Q10_Q11cxx . . $ AArch64_Q10_Q11., AArch64_Q11_Q12cxx . . $ AArch64_Q11_Q12.,
875 AArch64_Q12_Q13cxx . . $ AArch64_Q12_Q13., AArch64_Q13_Q14cxx . . $ AArch64_Q13_Q14., AArch64_Q14_Q15cxx . . $ AArch64_Q14_Q15., AArch64_Q15_Q16cxx . . $ AArch64_Q15_Q16.,
876 AArch64_Q16_Q17cxx . . $ AArch64_Q16_Q17., AArch64_Q17_Q18cxx . . $ AArch64_Q17_Q18., AArch64_Q18_Q19cxx . . $ AArch64_Q18_Q19., AArch64_Q19_Q20cxx . . $ AArch64_Q19_Q20.,
877 AArch64_Q20_Q21cxx . . $ AArch64_Q20_Q21., AArch64_Q21_Q22cxx . . $ AArch64_Q21_Q22., AArch64_Q22_Q23cxx . . $ AArch64_Q22_Q23., AArch64_Q23_Q24cxx . . $ AArch64_Q23_Q24.,
878 AArch64_Q24_Q25cxx . . $ AArch64_Q24_Q25., AArch64_Q25_Q26cxx . . $ AArch64_Q25_Q26., AArch64_Q26_Q27cxx . . $ AArch64_Q26_Q27., AArch64_Q27_Q28cxx . . $ AArch64_Q27_Q28.,
879 AArch64_Q28_Q29cxx . . $ AArch64_Q28_Q29., AArch64_Q29_Q30cxx . . $ AArch64_Q29_Q30., AArch64_Q30_Q31cxx . . $ AArch64_Q30_Q31., AArch64_Q31_Q0cxx . . $ AArch64_Q31_Q0.
880 };
881
882 static DecodeStatuscxx . . $ DecodeStatus# DecodeQQRegisterClasscxx . . $ DecodeQQRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
883 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
884 {
885 unsigned Register;
886
887 if (RegNo > 31)
888 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
889
890 Register = QQDecoderTablecxx . . $ QQDecoderTable.[RegNo];
891 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
892
893 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
894 }
895
896 static const unsigned QQQDecoderTablecxx . . $ QQQDecoderTable.[] = {
897 AArch64_Q0_Q1_Q2cxx . . $ AArch64_Q0_Q1_Q2., AArch64_Q1_Q2_Q3cxx . . $ AArch64_Q1_Q2_Q3., AArch64_Q2_Q3_Q4cxx . . $ AArch64_Q2_Q3_Q4.,
898 AArch64_Q3_Q4_Q5cxx . . $ AArch64_Q3_Q4_Q5., AArch64_Q4_Q5_Q6cxx . . $ AArch64_Q4_Q5_Q6., AArch64_Q5_Q6_Q7cxx . . $ AArch64_Q5_Q6_Q7.,
899 AArch64_Q6_Q7_Q8cxx . . $ AArch64_Q6_Q7_Q8., AArch64_Q7_Q8_Q9cxx . . $ AArch64_Q7_Q8_Q9., AArch64_Q8_Q9_Q10cxx . . $ AArch64_Q8_Q9_Q10.,
900 AArch64_Q9_Q10_Q11cxx . . $ AArch64_Q9_Q10_Q11., AArch64_Q10_Q11_Q12cxx . . $ AArch64_Q10_Q11_Q12., AArch64_Q11_Q12_Q13cxx . . $ AArch64_Q11_Q12_Q13.,
901 AArch64_Q12_Q13_Q14cxx . . $ AArch64_Q12_Q13_Q14., AArch64_Q13_Q14_Q15cxx . . $ AArch64_Q13_Q14_Q15., AArch64_Q14_Q15_Q16cxx . . $ AArch64_Q14_Q15_Q16.,
902 AArch64_Q15_Q16_Q17cxx . . $ AArch64_Q15_Q16_Q17., AArch64_Q16_Q17_Q18cxx . . $ AArch64_Q16_Q17_Q18., AArch64_Q17_Q18_Q19cxx . . $ AArch64_Q17_Q18_Q19.,
903 AArch64_Q18_Q19_Q20cxx . . $ AArch64_Q18_Q19_Q20., AArch64_Q19_Q20_Q21cxx . . $ AArch64_Q19_Q20_Q21., AArch64_Q20_Q21_Q22cxx . . $ AArch64_Q20_Q21_Q22.,
904 AArch64_Q21_Q22_Q23cxx . . $ AArch64_Q21_Q22_Q23., AArch64_Q22_Q23_Q24cxx . . $ AArch64_Q22_Q23_Q24., AArch64_Q23_Q24_Q25cxx . . $ AArch64_Q23_Q24_Q25.,
905 AArch64_Q24_Q25_Q26cxx . . $ AArch64_Q24_Q25_Q26., AArch64_Q25_Q26_Q27cxx . . $ AArch64_Q25_Q26_Q27., AArch64_Q26_Q27_Q28cxx . . $ AArch64_Q26_Q27_Q28.,
906 AArch64_Q27_Q28_Q29cxx . . $ AArch64_Q27_Q28_Q29., AArch64_Q28_Q29_Q30cxx . . $ AArch64_Q28_Q29_Q30., AArch64_Q29_Q30_Q31cxx . . $ AArch64_Q29_Q30_Q31.,
907 AArch64_Q30_Q31_Q0cxx . . $ AArch64_Q30_Q31_Q0., AArch64_Q31_Q0_Q1cxx . . $ AArch64_Q31_Q0_Q1.
908 };
909
910 static DecodeStatuscxx . . $ DecodeStatus# DecodeQQQRegisterClasscxx . . $ DecodeQQQRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
911 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
912 {
913 unsigned Register;
914
915 if (RegNo > 31)
916 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
917
918 Register = QQQDecoderTablecxx . . $ QQQDecoderTable.[RegNo];
919 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
920
921 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
922 }
923
924 static const unsigned QQQQDecoderTablecxx . . $ QQQQDecoderTable.[] = {
925 AArch64_Q0_Q1_Q2_Q3cxx . . $ AArch64_Q0_Q1_Q2_Q3., AArch64_Q1_Q2_Q3_Q4cxx . . $ AArch64_Q1_Q2_Q3_Q4., AArch64_Q2_Q3_Q4_Q5cxx . . $ AArch64_Q2_Q3_Q4_Q5.,
926 AArch64_Q3_Q4_Q5_Q6cxx . . $ AArch64_Q3_Q4_Q5_Q6., AArch64_Q4_Q5_Q6_Q7cxx . . $ AArch64_Q4_Q5_Q6_Q7., AArch64_Q5_Q6_Q7_Q8cxx . . $ AArch64_Q5_Q6_Q7_Q8.,
927 AArch64_Q6_Q7_Q8_Q9cxx . . $ AArch64_Q6_Q7_Q8_Q9., AArch64_Q7_Q8_Q9_Q10cxx . . $ AArch64_Q7_Q8_Q9_Q10., AArch64_Q8_Q9_Q10_Q11cxx . . $ AArch64_Q8_Q9_Q10_Q11.,
928 AArch64_Q9_Q10_Q11_Q12cxx . . $ AArch64_Q9_Q10_Q11_Q12., AArch64_Q10_Q11_Q12_Q13cxx . . $ AArch64_Q10_Q11_Q12_Q13., AArch64_Q11_Q12_Q13_Q14cxx . . $ AArch64_Q11_Q12_Q13_Q14.,
929 AArch64_Q12_Q13_Q14_Q15cxx . . $ AArch64_Q12_Q13_Q14_Q15., AArch64_Q13_Q14_Q15_Q16cxx . . $ AArch64_Q13_Q14_Q15_Q16., AArch64_Q14_Q15_Q16_Q17cxx . . $ AArch64_Q14_Q15_Q16_Q17.,
930 AArch64_Q15_Q16_Q17_Q18cxx . . $ AArch64_Q15_Q16_Q17_Q18., AArch64_Q16_Q17_Q18_Q19cxx . . $ AArch64_Q16_Q17_Q18_Q19., AArch64_Q17_Q18_Q19_Q20cxx . . $ AArch64_Q17_Q18_Q19_Q20.,
931 AArch64_Q18_Q19_Q20_Q21cxx . . $ AArch64_Q18_Q19_Q20_Q21., AArch64_Q19_Q20_Q21_Q22cxx . . $ AArch64_Q19_Q20_Q21_Q22., AArch64_Q20_Q21_Q22_Q23cxx . . $ AArch64_Q20_Q21_Q22_Q23.,
932 AArch64_Q21_Q22_Q23_Q24cxx . . $ AArch64_Q21_Q22_Q23_Q24., AArch64_Q22_Q23_Q24_Q25cxx . . $ AArch64_Q22_Q23_Q24_Q25., AArch64_Q23_Q24_Q25_Q26cxx . . $ AArch64_Q23_Q24_Q25_Q26.,
933 AArch64_Q24_Q25_Q26_Q27cxx . . $ AArch64_Q24_Q25_Q26_Q27., AArch64_Q25_Q26_Q27_Q28cxx . . $ AArch64_Q25_Q26_Q27_Q28., AArch64_Q26_Q27_Q28_Q29cxx . . $ AArch64_Q26_Q27_Q28_Q29.,
934 AArch64_Q27_Q28_Q29_Q30cxx . . $ AArch64_Q27_Q28_Q29_Q30., AArch64_Q28_Q29_Q30_Q31cxx . . $ AArch64_Q28_Q29_Q30_Q31., AArch64_Q29_Q30_Q31_Q0cxx . . $ AArch64_Q29_Q30_Q31_Q0.,
935 AArch64_Q30_Q31_Q0_Q1cxx . . $ AArch64_Q30_Q31_Q0_Q1., AArch64_Q31_Q0_Q1_Q2cxx . . $ AArch64_Q31_Q0_Q1_Q2.
936 };
937
938 static DecodeStatuscxx . . $ DecodeStatus# DecodeQQQQRegisterClasscxx . . $ DecodeQQQQRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
939 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
940 {
941 unsigned Register;
942
943 if (RegNo > 31)
944 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
945
946 Register = QQQQDecoderTablecxx . . $ QQQQDecoderTable.[RegNo];
947 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
948
949 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
950 }
951
952 static const unsigned DDDecoderTablecxx . . $ DDDecoderTable.[] = {
953 AArch64_D0_D1cxx . . $ AArch64_D0_D1., AArch64_D1_D2cxx . . $ AArch64_D1_D2., AArch64_D2_D3cxx . . $ AArch64_D2_D3., AArch64_D3_D4cxx . . $ AArch64_D3_D4.,
954 AArch64_D4_D5cxx . . $ AArch64_D4_D5., AArch64_D5_D6cxx . . $ AArch64_D5_D6., AArch64_D6_D7cxx . . $ AArch64_D6_D7., AArch64_D7_D8cxx . . $ AArch64_D7_D8.,
955 AArch64_D8_D9cxx . . $ AArch64_D8_D9., AArch64_D9_D10cxx . . $ AArch64_D9_D10., AArch64_D10_D11cxx . . $ AArch64_D10_D11., AArch64_D11_D12cxx . . $ AArch64_D11_D12.,
956 AArch64_D12_D13cxx . . $ AArch64_D12_D13., AArch64_D13_D14cxx . . $ AArch64_D13_D14., AArch64_D14_D15cxx . . $ AArch64_D14_D15., AArch64_D15_D16cxx . . $ AArch64_D15_D16.,
957 AArch64_D16_D17cxx . . $ AArch64_D16_D17., AArch64_D17_D18cxx . . $ AArch64_D17_D18., AArch64_D18_D19cxx . . $ AArch64_D18_D19., AArch64_D19_D20cxx . . $ AArch64_D19_D20.,
958 AArch64_D20_D21cxx . . $ AArch64_D20_D21., AArch64_D21_D22cxx . . $ AArch64_D21_D22., AArch64_D22_D23cxx . . $ AArch64_D22_D23., AArch64_D23_D24cxx . . $ AArch64_D23_D24.,
959 AArch64_D24_D25cxx . . $ AArch64_D24_D25., AArch64_D25_D26cxx . . $ AArch64_D25_D26., AArch64_D26_D27cxx . . $ AArch64_D26_D27., AArch64_D27_D28cxx . . $ AArch64_D27_D28.,
960 AArch64_D28_D29cxx . . $ AArch64_D28_D29., AArch64_D29_D30cxx . . $ AArch64_D29_D30., AArch64_D30_D31cxx . . $ AArch64_D30_D31., AArch64_D31_D0cxx . . $ AArch64_D31_D0.
961 };
962
963 static DecodeStatuscxx . . $ DecodeStatus# DecodeDDRegisterClasscxx . . $ DecodeDDRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
964 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
965 {
966 unsigned Register;
967
968 if (RegNo > 31)
969 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
970
971 Register = DDDecoderTablecxx . . $ DDDecoderTable.[RegNo];
972 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
973
974 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
975 }
976
977 static const unsigned DDDDecoderTablecxx . . $ DDDDecoderTable.[] = {
978 AArch64_D0_D1_D2cxx . . $ AArch64_D0_D1_D2., AArch64_D1_D2_D3cxx . . $ AArch64_D1_D2_D3., AArch64_D2_D3_D4cxx . . $ AArch64_D2_D3_D4.,
979 AArch64_D3_D4_D5cxx . . $ AArch64_D3_D4_D5., AArch64_D4_D5_D6cxx . . $ AArch64_D4_D5_D6., AArch64_D5_D6_D7cxx . . $ AArch64_D5_D6_D7.,
980 AArch64_D6_D7_D8cxx . . $ AArch64_D6_D7_D8., AArch64_D7_D8_D9cxx . . $ AArch64_D7_D8_D9., AArch64_D8_D9_D10cxx . . $ AArch64_D8_D9_D10.,
981 AArch64_D9_D10_D11cxx . . $ AArch64_D9_D10_D11., AArch64_D10_D11_D12cxx . . $ AArch64_D10_D11_D12., AArch64_D11_D12_D13cxx . . $ AArch64_D11_D12_D13.,
982 AArch64_D12_D13_D14cxx . . $ AArch64_D12_D13_D14., AArch64_D13_D14_D15cxx . . $ AArch64_D13_D14_D15., AArch64_D14_D15_D16cxx . . $ AArch64_D14_D15_D16.,
983 AArch64_D15_D16_D17cxx . . $ AArch64_D15_D16_D17., AArch64_D16_D17_D18cxx . . $ AArch64_D16_D17_D18., AArch64_D17_D18_D19cxx . . $ AArch64_D17_D18_D19.,
984 AArch64_D18_D19_D20cxx . . $ AArch64_D18_D19_D20., AArch64_D19_D20_D21cxx . . $ AArch64_D19_D20_D21., AArch64_D20_D21_D22cxx . . $ AArch64_D20_D21_D22.,
985 AArch64_D21_D22_D23cxx . . $ AArch64_D21_D22_D23., AArch64_D22_D23_D24cxx . . $ AArch64_D22_D23_D24., AArch64_D23_D24_D25cxx . . $ AArch64_D23_D24_D25.,
986 AArch64_D24_D25_D26cxx . . $ AArch64_D24_D25_D26., AArch64_D25_D26_D27cxx . . $ AArch64_D25_D26_D27., AArch64_D26_D27_D28cxx . . $ AArch64_D26_D27_D28.,
987 AArch64_D27_D28_D29cxx . . $ AArch64_D27_D28_D29., AArch64_D28_D29_D30cxx . . $ AArch64_D28_D29_D30., AArch64_D29_D30_D31cxx . . $ AArch64_D29_D30_D31.,
988 AArch64_D30_D31_D0cxx . . $ AArch64_D30_D31_D0., AArch64_D31_D0_D1cxx . . $ AArch64_D31_D0_D1.
989 };
990
991 static DecodeStatuscxx . . $ DecodeStatus# DecodeDDDRegisterClasscxx . . $ DecodeDDDRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
992 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
993 {
994 unsigned Register;
995
996 if (RegNo > 31)
997 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
998
999 Register = DDDDecoderTablecxx . . $ DDDDecoderTable.[RegNo];
1000 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
1001
1002 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1003 }
1004
1005 static const unsigned DDDDDecoderTablecxx . . $ DDDDDecoderTable.[] = {
1006 AArch64_D0_D1_D2_D3cxx . . $ AArch64_D0_D1_D2_D3., AArch64_D1_D2_D3_D4cxx . . $ AArch64_D1_D2_D3_D4., AArch64_D2_D3_D4_D5cxx . . $ AArch64_D2_D3_D4_D5.,
1007 AArch64_D3_D4_D5_D6cxx . . $ AArch64_D3_D4_D5_D6., AArch64_D4_D5_D6_D7cxx . . $ AArch64_D4_D5_D6_D7., AArch64_D5_D6_D7_D8cxx . . $ AArch64_D5_D6_D7_D8.,
1008 AArch64_D6_D7_D8_D9cxx . . $ AArch64_D6_D7_D8_D9., AArch64_D7_D8_D9_D10cxx . . $ AArch64_D7_D8_D9_D10., AArch64_D8_D9_D10_D11cxx . . $ AArch64_D8_D9_D10_D11.,
1009 AArch64_D9_D10_D11_D12cxx . . $ AArch64_D9_D10_D11_D12., AArch64_D10_D11_D12_D13cxx . . $ AArch64_D10_D11_D12_D13., AArch64_D11_D12_D13_D14cxx . . $ AArch64_D11_D12_D13_D14.,
1010 AArch64_D12_D13_D14_D15cxx . . $ AArch64_D12_D13_D14_D15., AArch64_D13_D14_D15_D16cxx . . $ AArch64_D13_D14_D15_D16., AArch64_D14_D15_D16_D17cxx . . $ AArch64_D14_D15_D16_D17.,
1011 AArch64_D15_D16_D17_D18cxx . . $ AArch64_D15_D16_D17_D18., AArch64_D16_D17_D18_D19cxx . . $ AArch64_D16_D17_D18_D19., AArch64_D17_D18_D19_D20cxx . . $ AArch64_D17_D18_D19_D20.,
1012 AArch64_D18_D19_D20_D21cxx . . $ AArch64_D18_D19_D20_D21., AArch64_D19_D20_D21_D22cxx . . $ AArch64_D19_D20_D21_D22., AArch64_D20_D21_D22_D23cxx . . $ AArch64_D20_D21_D22_D23.,
1013 AArch64_D21_D22_D23_D24cxx . . $ AArch64_D21_D22_D23_D24., AArch64_D22_D23_D24_D25cxx . . $ AArch64_D22_D23_D24_D25., AArch64_D23_D24_D25_D26cxx . . $ AArch64_D23_D24_D25_D26.,
1014 AArch64_D24_D25_D26_D27cxx . . $ AArch64_D24_D25_D26_D27., AArch64_D25_D26_D27_D28cxx . . $ AArch64_D25_D26_D27_D28., AArch64_D26_D27_D28_D29cxx . . $ AArch64_D26_D27_D28_D29.,
1015 AArch64_D27_D28_D29_D30cxx . . $ AArch64_D27_D28_D29_D30., AArch64_D28_D29_D30_D31cxx . . $ AArch64_D28_D29_D30_D31., AArch64_D29_D30_D31_D0cxx . . $ AArch64_D29_D30_D31_D0.,
1016 AArch64_D30_D31_D0_D1cxx . . $ AArch64_D30_D31_D0_D1., AArch64_D31_D0_D1_D2cxx . . $ AArch64_D31_D0_D1_D2.
1017 };
1018
1019 static DecodeStatuscxx . . $ DecodeStatus# DecodeDDDDRegisterClasscxx . . $ DecodeDDDDRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned RegNo,
1020 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1021 {
1022 unsigned Register;
1023
1024 if (RegNo > 31)
1025 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1026
1027 Register = DDDDDecoderTablecxx . . $ DDDDDecoderTable.[RegNo];
1028 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
1029
1030 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1031 }
1032
1033 static DecodeStatuscxx . . $ DecodeStatus# DecodeFixedPointScaleImm32cxx . . $ DecodeFixedPointScaleImm32(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1034 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1035 {
1036 // scale{5} is asserted as 1 in tblgen.
1037 Imm |= 0x20;
1038 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, 64 - Imm);
1039
1040 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1041 }
1042
1043 static DecodeStatuscxx . . $ DecodeStatus# DecodeFixedPointScaleImm64cxx . . $ DecodeFixedPointScaleImm64(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1044 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1045 {
1046 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, 64 - Imm);
1047
1048 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1049 }
1050
1051 static DecodeStatuscxx . . $ DecodeStatus# DecodePCRelLabel19cxx . . $ DecodePCRelLabel19(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1052 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1053 {
1054 int64_tcxx . . $ int64_t# ImmVal = Imm;
1055
1056 // Sign-extend 19-bit immediate.
1057 if (ImmVal & (1 << (19 - 1)))
1058 ImmVal |= ~((1LL << 19) - 1);
1059
1060 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, ImmVal);
1061
1062 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1063 }
1064
1065 static DecodeStatuscxx . . $ DecodeStatus# DecodeMemExtendcxx . . $ DecodeMemExtend(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1066 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
1067 {
1068 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, (Imm >> 1) & 1);
1069 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Imm & 1);
1070
1071 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1072 }
1073
1074 static DecodeStatuscxx . . $ DecodeStatus# DecodeMRSSystemRegistercxx . . $ DecodeMRSSystemRegister(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1075 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
1076 {
1077 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Imm);
1078
1079 // Every system register in the encoding space is valid with the syntax
1080 // S<op0>_<op1>_<Cn>_<Cm>_<op2>, so decoding system registers always succeeds.
1081 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1082 }
1083
1084 static DecodeStatuscxx . . $ DecodeStatus# DecodeMSRSystemRegistercxx . . $ DecodeMSRSystemRegister(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1085 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
1086 {
1087 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Imm);
1088
1089 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1090 }
1091
1092 static DecodeStatuscxx . . $ DecodeStatus# DecodeFMOVLaneInstructioncxx . . $ DecodeFMOVLaneInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Insn,
1093 uint64_tcxx . . $ uint64_t# Address, const void *Decoder)
1094 {
1095 // This decoder exists to add the dummy Lane operand to the MCInst, which must
1096 // be 1 in assembly but has no other real manifestation.
1097 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(Insn, 0, 5);
1098 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(Insn, 5, 5);
1099 unsigned IsToVec = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(Insn, 16, 1);
1100
1101 if (IsToVec) {
1102 DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, Rd, Address, Decoder);
1103 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Address, Decoder);
1104 } else {
1105 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Address, Decoder);
1106 DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, Rn, Address, Decoder);
1107 }
1108
1109 // Add the lane
1110 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, 1);
1111
1112 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1113 }
1114
1115 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1116 unsigned Add)
1117 {
1118 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Add - Imm);
1119
1120 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1121 }
1122
1123 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftLImmcxx . . $ DecodeVecShiftLImm(edb1ea3940c45923).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1124 unsigned Add)
1125 {
1126 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, (Imm + Add) & (Add - 1));
1127
1128 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1129 }
1130
1131 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR64Immcxx . . $ DecodeVecShiftR64Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1132 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1133 {
1134 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm, 64);
1135 }
1136
1137 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR64ImmNarrowcxx . . $ DecodeVecShiftR64ImmNarrow(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1138 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1139 {
1140 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm | 0x20, 64);
1141 }
1142
1143 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR32Immcxx . . $ DecodeVecShiftR32Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1144 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1145 {
1146 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm, 32);
1147 }
1148
1149 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR32ImmNarrowcxx . . $ DecodeVecShiftR32ImmNarrow(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1150 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1151 {
1152 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm | 0x10, 32);
1153 }
1154
1155 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR16Immcxx . . $ DecodeVecShiftR16Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1156 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1157 {
1158 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm, 16);
1159 }
1160
1161 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR16ImmNarrowcxx . . $ DecodeVecShiftR16ImmNarrow(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1162 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1163 {
1164 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm | 0x8, 16);
1165 }
1166
1167 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftR8Immcxx . . $ DecodeVecShiftR8Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1168 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1169 {
1170 return DecodeVecShiftRImmcxx . . $ DecodeVecShiftRImm(edb1ea3940c45923).(Inst, Imm, 8);
1171 }
1172
1173 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL64Immcxx . . $ DecodeVecShiftL64Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1174 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1175 {
1176 return DecodeVecShiftLImmcxx . . $ DecodeVecShiftLImm(edb1ea3940c45923).(Inst, Imm, 64);
1177 }
1178
1179 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL32Immcxx . . $ DecodeVecShiftL32Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1180 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1181 {
1182 return DecodeVecShiftLImmcxx . . $ DecodeVecShiftLImm(edb1ea3940c45923).(Inst, Imm, 32);
1183 }
1184
1185 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL16Immcxx . . $ DecodeVecShiftL16Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1186 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1187 {
1188 return DecodeVecShiftLImmcxx . . $ DecodeVecShiftLImm(edb1ea3940c45923).(Inst, Imm, 16);
1189 }
1190
1191 static DecodeStatuscxx . . $ DecodeStatus# DecodeVecShiftL8Immcxx . . $ DecodeVecShiftL8Imm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
1192 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1193 {
1194 return DecodeVecShiftLImmcxx . . $ DecodeVecShiftLImm(edb1ea3940c45923).(Inst, Imm, 8);
1195 }
1196
1197 static DecodeStatuscxx . . $ DecodeStatus# DecodeThreeAddrSRegInstructioncxx . . $ DecodeThreeAddrSRegInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1198 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1199 {
1200 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1201 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1202 unsigned Rm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 5);
1203 unsigned shiftHi = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 22, 2);
1204 unsigned shiftLo = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 6);
1205 unsigned shift = (shiftHi << 6) | shiftLo;
1206
1207 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1208 default:
1209 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1210
1211 case AArch64_ADDWrscxx . . $ AArch64_ADDWrs.:
1212 case AArch64_ADDSWrscxx . . $ AArch64_ADDSWrs.:
1213 case AArch64_SUBWrscxx . . $ AArch64_SUBWrs.:
1214 case AArch64_SUBSWrscxx . . $ AArch64_SUBSWrs.:
1215 // if shift == '11' then ReservedValue()
1216 if (shiftHi == 0x3)
1217 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1218 // Deliberate fallthrough
1219
1220 case AArch64_ANDWrscxx . . $ AArch64_ANDWrs.:
1221 case AArch64_ANDSWrscxx . . $ AArch64_ANDSWrs.:
1222 case AArch64_BICWrscxx . . $ AArch64_BICWrs.:
1223 case AArch64_BICSWrscxx . . $ AArch64_BICSWrs.:
1224 case AArch64_ORRWrscxx . . $ AArch64_ORRWrs.:
1225 case AArch64_ORNWrscxx . . $ AArch64_ORNWrs.:
1226 case AArch64_EORWrscxx . . $ AArch64_EORWrs.:
1227 case AArch64_EONWrscxx . . $ AArch64_EONWrs.: {
1228 // if sf == '0' and imm6<5> == '1' then ReservedValue()
1229 if (shiftLo >> 5 == 1)
1230 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1231
1232 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1233 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1234 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1235 break;
1236 }
1237
1238 case AArch64_ADDXrscxx . . $ AArch64_ADDXrs.:
1239 case AArch64_ADDSXrscxx . . $ AArch64_ADDSXrs.:
1240 case AArch64_SUBXrscxx . . $ AArch64_SUBXrs.:
1241 case AArch64_SUBSXrscxx . . $ AArch64_SUBSXrs.:
1242 // if shift == '11' then ReservedValue()
1243 if (shiftHi == 0x3)
1244 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1245 // Deliberate fallthrough
1246
1247 case AArch64_ANDXrscxx . . $ AArch64_ANDXrs.:
1248 case AArch64_ANDSXrscxx . . $ AArch64_ANDSXrs.:
1249 case AArch64_BICXrscxx . . $ AArch64_BICXrs.:
1250 case AArch64_BICSXrscxx . . $ AArch64_BICSXrs.:
1251 case AArch64_ORRXrscxx . . $ AArch64_ORRXrs.:
1252 case AArch64_ORNXrscxx . . $ AArch64_ORNXrs.:
1253 case AArch64_EORXrscxx . . $ AArch64_EORXrs.:
1254 case AArch64_EONXrscxx . . $ AArch64_EONXrs.:
1255 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1256 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1257 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1258 break;
1259 }
1260
1261 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, shift);
1262
1263 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1264 }
1265
1266 static DecodeStatuscxx . . $ DecodeStatus# DecodeMoveImmInstructioncxx . . $ DecodeMoveImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
1267 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1268 {
1269 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1270 unsigned imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 16);
1271 unsigned shift = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 21, 2);
1272
1273 shift <<= 4;
1274
1275 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1276 default:
1277 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1278
1279 case AArch64_MOVZWicxx . . $ AArch64_MOVZWi.:
1280 case AArch64_MOVNWicxx . . $ AArch64_MOVNWi.:
1281 case AArch64_MOVKWicxx . . $ AArch64_MOVKWi.:
1282 if (shift & (1U << 5))
1283 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1284 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1285 break;
1286
1287 case AArch64_MOVZXicxx . . $ AArch64_MOVZXi.:
1288 case AArch64_MOVNXicxx . . $ AArch64_MOVNXi.:
1289 case AArch64_MOVKXicxx . . $ AArch64_MOVKXi.:
1290 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1291 break;
1292 }
1293
1294 if (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst) == AArch64_MOVKWicxx . . $ AArch64_MOVKWi. ||
1295 MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst) == AArch64_MOVKXicxx . . $ AArch64_MOVKXi.)
1296 MCInst_addOperand2cxx . . $ MCInst_addOperand2(c51f4ddcb6809868).(Inst, MCInst_getOperandcxx . . $ MCInst_getOperand(4687f87e75986a5b).(Inst, 0));
1297
1298 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
1299 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, shift);
1300
1301 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1302 }
1303
1304 static DecodeStatuscxx . . $ DecodeStatus# DecodeUnsignedLdStInstructioncxx . . $ DecodeUnsignedLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1305 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1306 {
1307 unsigned Rt = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1308 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1309 unsigned offset = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 12);
1310
1311 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1312 default:
1313 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1314
1315 case AArch64_PRFMuicxx . . $ AArch64_PRFMui.:
1316 // Rt is an immediate in prefetch.
1317 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Rt);
1318 break;
1319
1320 case AArch64_STRBBuicxx . . $ AArch64_STRBBui.:
1321 case AArch64_LDRBBuicxx . . $ AArch64_LDRBBui.:
1322 case AArch64_LDRSBWuicxx . . $ AArch64_LDRSBWui.:
1323 case AArch64_STRHHuicxx . . $ AArch64_STRHHui.:
1324 case AArch64_LDRHHuicxx . . $ AArch64_LDRHHui.:
1325 case AArch64_LDRSHWuicxx . . $ AArch64_LDRSHWui.:
1326 case AArch64_STRWuicxx . . $ AArch64_STRWui.:
1327 case AArch64_LDRWuicxx . . $ AArch64_LDRWui.:
1328 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1329 break;
1330
1331 case AArch64_LDRSBXuicxx . . $ AArch64_LDRSBXui.:
1332 case AArch64_LDRSHXuicxx . . $ AArch64_LDRSHXui.:
1333 case AArch64_LDRSWuicxx . . $ AArch64_LDRSWui.:
1334 case AArch64_STRXuicxx . . $ AArch64_STRXui.:
1335 case AArch64_LDRXuicxx . . $ AArch64_LDRXui.:
1336 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1337 break;
1338
1339 case AArch64_LDRQuicxx . . $ AArch64_LDRQui.:
1340 case AArch64_STRQuicxx . . $ AArch64_STRQui.:
1341 DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1342 break;
1343
1344 case AArch64_LDRDuicxx . . $ AArch64_LDRDui.:
1345 case AArch64_STRDuicxx . . $ AArch64_STRDui.:
1346 DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1347 break;
1348
1349 case AArch64_LDRSuicxx . . $ AArch64_LDRSui.:
1350 case AArch64_STRSuicxx . . $ AArch64_STRSui.:
1351 DecodeFPR32RegisterClasscxx . . $ DecodeFPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1352 break;
1353
1354 case AArch64_LDRHuicxx . . $ AArch64_LDRHui.:
1355 case AArch64_STRHuicxx . . $ AArch64_STRHui.:
1356 DecodeFPR16RegisterClasscxx . . $ DecodeFPR16RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1357 break;
1358
1359 case AArch64_LDRBuicxx . . $ AArch64_LDRBui.:
1360 case AArch64_STRBuicxx . . $ AArch64_STRBui.:
1361 DecodeFPR8RegisterClasscxx . . $ DecodeFPR8RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1362 break;
1363 }
1364
1365 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1366
1367 //if (!Dis->tryAddingSymbolicOperand(Inst, offset, Addr, Fail, 0, 4))
1368 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, offset);
1369
1370 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1371 }
1372
1373 static DecodeStatuscxx . . $ DecodeStatus# DecodeSignedLdStInstructioncxx . . $ DecodeSignedLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1374 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1375 {
1376 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! IsLoad, IsIndexed, IsFP;
1377 unsigned Rt = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1378 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1379 int64_tcxx . . $ int64_t# offset = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 12, 9);
1380
1381 // offset is a 9-bit signed immediate, so sign extend it to
1382 // fill the unsigned.
1383 if (offset & (1 << (9 - 1)))
1384 offset |= ~((1LL << 9) - 1);
1385
1386 // First operand is always the writeback to the address register, if needed.
1387 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1388 default:
1389 break;
1390
1391 case AArch64_LDRSBWprecxx . . $ AArch64_LDRSBWpre.:
1392 case AArch64_LDRSHWprecxx . . $ AArch64_LDRSHWpre.:
1393 case AArch64_STRBBprecxx . . $ AArch64_STRBBpre.:
1394 case AArch64_LDRBBprecxx . . $ AArch64_LDRBBpre.:
1395 case AArch64_STRHHprecxx . . $ AArch64_STRHHpre.:
1396 case AArch64_LDRHHprecxx . . $ AArch64_LDRHHpre.:
1397 case AArch64_STRWprecxx . . $ AArch64_STRWpre.:
1398 case AArch64_LDRWprecxx . . $ AArch64_LDRWpre.:
1399 case AArch64_LDRSBWpostcxx . . $ AArch64_LDRSBWpost.:
1400 case AArch64_LDRSHWpostcxx . . $ AArch64_LDRSHWpost.:
1401 case AArch64_STRBBpostcxx . . $ AArch64_STRBBpost.:
1402 case AArch64_LDRBBpostcxx . . $ AArch64_LDRBBpost.:
1403 case AArch64_STRHHpostcxx . . $ AArch64_STRHHpost.:
1404 case AArch64_LDRHHpostcxx . . $ AArch64_LDRHHpost.:
1405 case AArch64_STRWpostcxx . . $ AArch64_STRWpost.:
1406 case AArch64_LDRWpostcxx . . $ AArch64_LDRWpost.:
1407 case AArch64_LDRSBXprecxx . . $ AArch64_LDRSBXpre.:
1408 case AArch64_LDRSHXprecxx . . $ AArch64_LDRSHXpre.:
1409 case AArch64_STRXprecxx . . $ AArch64_STRXpre.:
1410 case AArch64_LDRSWprecxx . . $ AArch64_LDRSWpre.:
1411 case AArch64_LDRXprecxx . . $ AArch64_LDRXpre.:
1412 case AArch64_LDRSBXpostcxx . . $ AArch64_LDRSBXpost.:
1413 case AArch64_LDRSHXpostcxx . . $ AArch64_LDRSHXpost.:
1414 case AArch64_STRXpostcxx . . $ AArch64_STRXpost.:
1415 case AArch64_LDRSWpostcxx . . $ AArch64_LDRSWpost.:
1416 case AArch64_LDRXpostcxx . . $ AArch64_LDRXpost.:
1417 case AArch64_LDRQprecxx . . $ AArch64_LDRQpre.:
1418 case AArch64_STRQprecxx . . $ AArch64_STRQpre.:
1419 case AArch64_LDRQpostcxx . . $ AArch64_LDRQpost.:
1420 case AArch64_STRQpostcxx . . $ AArch64_STRQpost.:
1421 case AArch64_LDRDprecxx . . $ AArch64_LDRDpre.:
1422 case AArch64_STRDprecxx . . $ AArch64_STRDpre.:
1423 case AArch64_LDRDpostcxx . . $ AArch64_LDRDpost.:
1424 case AArch64_STRDpostcxx . . $ AArch64_STRDpost.:
1425 case AArch64_LDRSprecxx . . $ AArch64_LDRSpre.:
1426 case AArch64_STRSprecxx . . $ AArch64_STRSpre.:
1427 case AArch64_LDRSpostcxx . . $ AArch64_LDRSpost.:
1428 case AArch64_STRSpostcxx . . $ AArch64_STRSpost.:
1429 case AArch64_LDRHprecxx . . $ AArch64_LDRHpre.:
1430 case AArch64_STRHprecxx . . $ AArch64_STRHpre.:
1431 case AArch64_LDRHpostcxx . . $ AArch64_LDRHpost.:
1432 case AArch64_STRHpostcxx . . $ AArch64_STRHpost.:
1433 case AArch64_LDRBprecxx . . $ AArch64_LDRBpre.:
1434 case AArch64_STRBprecxx . . $ AArch64_STRBpre.:
1435 case AArch64_LDRBpostcxx . . $ AArch64_LDRBpost.:
1436 case AArch64_STRBpostcxx . . $ AArch64_STRBpost.:
1437 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1438 break;
1439 }
1440
1441 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1442 default:
1443 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1444
1445 case AArch64_PRFUMicxx . . $ AArch64_PRFUMi.:
1446 // Rt is an immediate in prefetch.
1447 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Rt);
1448 break;
1449
1450 case AArch64_STURBBicxx . . $ AArch64_STURBBi.:
1451 case AArch64_LDURBBicxx . . $ AArch64_LDURBBi.:
1452 case AArch64_LDURSBWicxx . . $ AArch64_LDURSBWi.:
1453 case AArch64_STURHHicxx . . $ AArch64_STURHHi.:
1454 case AArch64_LDURHHicxx . . $ AArch64_LDURHHi.:
1455 case AArch64_LDURSHWicxx . . $ AArch64_LDURSHWi.:
1456 case AArch64_STURWicxx . . $ AArch64_STURWi.:
1457 case AArch64_LDURWicxx . . $ AArch64_LDURWi.:
1458 case AArch64_LDTRSBWicxx . . $ AArch64_LDTRSBWi.:
1459 case AArch64_LDTRSHWicxx . . $ AArch64_LDTRSHWi.:
1460 case AArch64_STTRWicxx . . $ AArch64_STTRWi.:
1461 case AArch64_LDTRWicxx . . $ AArch64_LDTRWi.:
1462 case AArch64_STTRHicxx . . $ AArch64_STTRHi.:
1463 case AArch64_LDTRHicxx . . $ AArch64_LDTRHi.:
1464 case AArch64_LDTRBicxx . . $ AArch64_LDTRBi.:
1465 case AArch64_STTRBicxx . . $ AArch64_STTRBi.:
1466 case AArch64_LDRSBWprecxx . . $ AArch64_LDRSBWpre.:
1467 case AArch64_LDRSHWprecxx . . $ AArch64_LDRSHWpre.:
1468 case AArch64_STRBBprecxx . . $ AArch64_STRBBpre.:
1469 case AArch64_LDRBBprecxx . . $ AArch64_LDRBBpre.:
1470 case AArch64_STRHHprecxx . . $ AArch64_STRHHpre.:
1471 case AArch64_LDRHHprecxx . . $ AArch64_LDRHHpre.:
1472 case AArch64_STRWprecxx . . $ AArch64_STRWpre.:
1473 case AArch64_LDRWprecxx . . $ AArch64_LDRWpre.:
1474 case AArch64_LDRSBWpostcxx . . $ AArch64_LDRSBWpost.:
1475 case AArch64_LDRSHWpostcxx . . $ AArch64_LDRSHWpost.:
1476 case AArch64_STRBBpostcxx . . $ AArch64_STRBBpost.:
1477 case AArch64_LDRBBpostcxx . . $ AArch64_LDRBBpost.:
1478 case AArch64_STRHHpostcxx . . $ AArch64_STRHHpost.:
1479 case AArch64_LDRHHpostcxx . . $ AArch64_LDRHHpost.:
1480 case AArch64_STRWpostcxx . . $ AArch64_STRWpost.:
1481 case AArch64_LDRWpostcxx . . $ AArch64_LDRWpost.:
1482 case AArch64_STLURBicxx . . $ AArch64_STLURBi.:
1483 case AArch64_STLURHicxx . . $ AArch64_STLURHi.:
1484 case AArch64_STLURWicxx . . $ AArch64_STLURWi.:
1485 case AArch64_LDAPURBicxx . . $ AArch64_LDAPURBi.:
1486 case AArch64_LDAPURSBWicxx . . $ AArch64_LDAPURSBWi.:
1487 case AArch64_LDAPURHicxx . . $ AArch64_LDAPURHi.:
1488 case AArch64_LDAPURSHWicxx . . $ AArch64_LDAPURSHWi.:
1489 case AArch64_LDAPURicxx . . $ AArch64_LDAPURi.:
1490 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1491 break;
1492
1493 case AArch64_LDURSBXicxx . . $ AArch64_LDURSBXi.:
1494 case AArch64_LDURSHXicxx . . $ AArch64_LDURSHXi.:
1495 case AArch64_LDURSWicxx . . $ AArch64_LDURSWi.:
1496 case AArch64_STURXicxx . . $ AArch64_STURXi.:
1497 case AArch64_LDURXicxx . . $ AArch64_LDURXi.:
1498 case AArch64_LDTRSBXicxx . . $ AArch64_LDTRSBXi.:
1499 case AArch64_LDTRSHXicxx . . $ AArch64_LDTRSHXi.:
1500 case AArch64_LDTRSWicxx . . $ AArch64_LDTRSWi.:
1501 case AArch64_STTRXicxx . . $ AArch64_STTRXi.:
1502 case AArch64_LDTRXicxx . . $ AArch64_LDTRXi.:
1503 case AArch64_LDRSBXprecxx . . $ AArch64_LDRSBXpre.:
1504 case AArch64_LDRSHXprecxx . . $ AArch64_LDRSHXpre.:
1505 case AArch64_STRXprecxx . . $ AArch64_STRXpre.:
1506 case AArch64_LDRSWprecxx . . $ AArch64_LDRSWpre.:
1507 case AArch64_LDRXprecxx . . $ AArch64_LDRXpre.:
1508 case AArch64_LDRSBXpostcxx . . $ AArch64_LDRSBXpost.:
1509 case AArch64_LDRSHXpostcxx . . $ AArch64_LDRSHXpost.:
1510 case AArch64_STRXpostcxx . . $ AArch64_STRXpost.:
1511 case AArch64_LDRSWpostcxx . . $ AArch64_LDRSWpost.:
1512 case AArch64_LDRXpostcxx . . $ AArch64_LDRXpost.:
1513 case AArch64_LDAPURSWicxx . . $ AArch64_LDAPURSWi.:
1514 case AArch64_LDAPURSHXicxx . . $ AArch64_LDAPURSHXi.:
1515 case AArch64_LDAPURSBXicxx . . $ AArch64_LDAPURSBXi.:
1516 case AArch64_STLURXicxx . . $ AArch64_STLURXi.:
1517 case AArch64_LDAPURXicxx . . $ AArch64_LDAPURXi.:
1518 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1519 break;
1520
1521 case AArch64_LDURQicxx . . $ AArch64_LDURQi.:
1522 case AArch64_STURQicxx . . $ AArch64_STURQi.:
1523 case AArch64_LDRQprecxx . . $ AArch64_LDRQpre.:
1524 case AArch64_STRQprecxx . . $ AArch64_STRQpre.:
1525 case AArch64_LDRQpostcxx . . $ AArch64_LDRQpost.:
1526 case AArch64_STRQpostcxx . . $ AArch64_STRQpost.:
1527 DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1528 break;
1529
1530 case AArch64_LDURDicxx . . $ AArch64_LDURDi.:
1531 case AArch64_STURDicxx . . $ AArch64_STURDi.:
1532 case AArch64_LDRDprecxx . . $ AArch64_LDRDpre.:
1533 case AArch64_STRDprecxx . . $ AArch64_STRDpre.:
1534 case AArch64_LDRDpostcxx . . $ AArch64_LDRDpost.:
1535 case AArch64_STRDpostcxx . . $ AArch64_STRDpost.:
1536 DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1537 break;
1538
1539 case AArch64_LDURSicxx . . $ AArch64_LDURSi.:
1540 case AArch64_STURSicxx . . $ AArch64_STURSi.:
1541 case AArch64_LDRSprecxx . . $ AArch64_LDRSpre.:
1542 case AArch64_STRSprecxx . . $ AArch64_STRSpre.:
1543 case AArch64_LDRSpostcxx . . $ AArch64_LDRSpost.:
1544 case AArch64_STRSpostcxx . . $ AArch64_STRSpost.:
1545 DecodeFPR32RegisterClasscxx . . $ DecodeFPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1546 break;
1547
1548 case AArch64_LDURHicxx . . $ AArch64_LDURHi.:
1549 case AArch64_STURHicxx . . $ AArch64_STURHi.:
1550 case AArch64_LDRHprecxx . . $ AArch64_LDRHpre.:
1551 case AArch64_STRHprecxx . . $ AArch64_STRHpre.:
1552 case AArch64_LDRHpostcxx . . $ AArch64_LDRHpost.:
1553 case AArch64_STRHpostcxx . . $ AArch64_STRHpost.:
1554 DecodeFPR16RegisterClasscxx . . $ DecodeFPR16RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1555 break;
1556
1557 case AArch64_LDURBicxx . . $ AArch64_LDURBi.:
1558 case AArch64_STURBicxx . . $ AArch64_STURBi.:
1559 case AArch64_LDRBprecxx . . $ AArch64_LDRBpre.:
1560 case AArch64_STRBprecxx . . $ AArch64_STRBpre.:
1561 case AArch64_LDRBpostcxx . . $ AArch64_LDRBpost.:
1562 case AArch64_STRBpostcxx . . $ AArch64_STRBpost.:
1563 DecodeFPR8RegisterClasscxx . . $ DecodeFPR8RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1564 break;
1565 }
1566
1567 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1568 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, offset);
1569
1570 IsLoad = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 22, 1) != 0;
1571 IsIndexed = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 2) != 0;
1572 IsFP = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 26, 1) != 0;
1573
1574 // Cannot write back to a transfer register (but xzr != sp).
1575 if (IsLoad && IsIndexed && !IsFP && Rn != 31 && Rt == Rn)
1576 return SoftFailcxx . . $ `arch/AArch64/AArch64Disassembler.c:228:9`!;
1577
1578 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1579 }
1580
1581 static DecodeStatuscxx . . $ DecodeStatus# DecodeExclusiveLdStInstructioncxx . . $ DecodeExclusiveLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1582 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1583 {
1584 unsigned Rt = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1585 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1586 unsigned Rt2 = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 5);
1587 unsigned Rs = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 5);
1588 unsigned Opcode = MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst);
1589
1590 switch (Opcode) {
1591 default:
1592 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1593
1594 case AArch64_STLXRWcxx . . $ AArch64_STLXRW.:
1595 case AArch64_STLXRBcxx . . $ AArch64_STLXRB.:
1596 case AArch64_STLXRHcxx . . $ AArch64_STLXRH.:
1597 case AArch64_STXRWcxx . . $ AArch64_STXRW.:
1598 case AArch64_STXRBcxx . . $ AArch64_STXRB.:
1599 case AArch64_STXRHcxx . . $ AArch64_STXRH.:
1600 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rs, Addr, Decoder);
1601 // FALLTHROUGH
1602 case AArch64_LDARWcxx . . $ AArch64_LDARW.:
1603 case AArch64_LDARBcxx . . $ AArch64_LDARB.:
1604 case AArch64_LDARHcxx . . $ AArch64_LDARH.:
1605 case AArch64_LDAXRWcxx . . $ AArch64_LDAXRW.:
1606 case AArch64_LDAXRBcxx . . $ AArch64_LDAXRB.:
1607 case AArch64_LDAXRHcxx . . $ AArch64_LDAXRH.:
1608 case AArch64_LDXRWcxx . . $ AArch64_LDXRW.:
1609 case AArch64_LDXRBcxx . . $ AArch64_LDXRB.:
1610 case AArch64_LDXRHcxx . . $ AArch64_LDXRH.:
1611 case AArch64_STLRWcxx . . $ AArch64_STLRW.:
1612 case AArch64_STLRBcxx . . $ AArch64_STLRB.:
1613 case AArch64_STLRHcxx . . $ AArch64_STLRH.:
1614 case AArch64_STLLRWcxx . . $ AArch64_STLLRW.:
1615 case AArch64_STLLRBcxx . . $ AArch64_STLLRB.:
1616 case AArch64_STLLRHcxx . . $ AArch64_STLLRH.:
1617 case AArch64_LDLARWcxx . . $ AArch64_LDLARW.:
1618 case AArch64_LDLARBcxx . . $ AArch64_LDLARB.:
1619 case AArch64_LDLARHcxx . . $ AArch64_LDLARH.:
1620 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1621 break;
1622
1623 case AArch64_STLXRXcxx . . $ AArch64_STLXRX.:
1624 case AArch64_STXRXcxx . . $ AArch64_STXRX.:
1625 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rs, Addr, Decoder);
1626 // FALLTHROUGH
1627 case AArch64_LDARXcxx . . $ AArch64_LDARX.:
1628 case AArch64_LDAXRXcxx . . $ AArch64_LDAXRX.:
1629 case AArch64_LDXRXcxx . . $ AArch64_LDXRX.:
1630 case AArch64_STLRXcxx . . $ AArch64_STLRX.:
1631 case AArch64_LDLARXcxx . . $ AArch64_LDLARX.:
1632 case AArch64_STLLRXcxx . . $ AArch64_STLLRX.:
1633 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1634 break;
1635
1636 case AArch64_STLXPWcxx . . $ AArch64_STLXPW.:
1637 case AArch64_STXPWcxx . . $ AArch64_STXPW.:
1638 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rs, Addr, Decoder);
1639 // FALLTHROUGH
1640 case AArch64_LDAXPWcxx . . $ AArch64_LDAXPW.:
1641 case AArch64_LDXPWcxx . . $ AArch64_LDXPW.:
1642 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1643 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1644 break;
1645
1646 case AArch64_STLXPXcxx . . $ AArch64_STLXPX.:
1647 case AArch64_STXPXcxx . . $ AArch64_STXPX.:
1648 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rs, Addr, Decoder);
1649 // FALLTHROUGH
1650 case AArch64_LDAXPXcxx . . $ AArch64_LDAXPX.:
1651 case AArch64_LDXPXcxx . . $ AArch64_LDXPX.:
1652 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1653 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1654 break;
1655 }
1656
1657 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1658
1659 // You shouldn't load to the same register twice in an instruction...
1660 if ((Opcode == AArch64_LDAXPWcxx . . $ AArch64_LDAXPW. || Opcode == AArch64_LDXPWcxx . . $ AArch64_LDXPW. ||
1661 Opcode == AArch64_LDAXPXcxx . . $ AArch64_LDAXPX. || Opcode == AArch64_LDXPXcxx . . $ AArch64_LDXPX.) &&
1662 Rt == Rt2)
1663 return SoftFailcxx . . $ `arch/AArch64/AArch64Disassembler.c:228:9`!;
1664
1665 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1666 }
1667
1668 static DecodeStatuscxx . . $ DecodeStatus# DecodePairLdStInstructioncxx . . $ DecodePairLdStInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
1669 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1670 {
1671 unsigned Rt = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1672 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1673 unsigned Rt2 = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 5);
1674 int32_tcxx . . $ int32_t# offset = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 15, 7);
1675 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! IsLoad = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 22, 1) != 0;
1676 unsigned Opcode = MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst);
1677 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! NeedsDisjointWritebackTransfer = falsecxx . . $ `<external>/13015445228558014418/stdbool.h:38:9`!;
1678
1679 // offset is a 7-bit signed immediate, so sign extend it to
1680 // fill the unsigned.
1681 if (offset & (1 << (7 - 1)))
1682 offset |= ~((1LL << 7) - 1);
1683
1684 // First operand is always writeback of base register.
1685 switch (Opcode) {
1686 default:
1687 break;
1688
1689 case AArch64_LDPXpostcxx . . $ AArch64_LDPXpost.:
1690 case AArch64_STPXpostcxx . . $ AArch64_STPXpost.:
1691 case AArch64_LDPSWpostcxx . . $ AArch64_LDPSWpost.:
1692 case AArch64_LDPXprecxx . . $ AArch64_LDPXpre.:
1693 case AArch64_STPXprecxx . . $ AArch64_STPXpre.:
1694 case AArch64_LDPSWprecxx . . $ AArch64_LDPSWpre.:
1695 case AArch64_LDPWpostcxx . . $ AArch64_LDPWpost.:
1696 case AArch64_STPWpostcxx . . $ AArch64_STPWpost.:
1697 case AArch64_LDPWprecxx . . $ AArch64_LDPWpre.:
1698 case AArch64_STPWprecxx . . $ AArch64_STPWpre.:
1699 case AArch64_LDPQpostcxx . . $ AArch64_LDPQpost.:
1700 case AArch64_STPQpostcxx . . $ AArch64_STPQpost.:
1701 case AArch64_LDPQprecxx . . $ AArch64_LDPQpre.:
1702 case AArch64_STPQprecxx . . $ AArch64_STPQpre.:
1703 case AArch64_LDPDpostcxx . . $ AArch64_LDPDpost.:
1704 case AArch64_STPDpostcxx . . $ AArch64_STPDpost.:
1705 case AArch64_LDPDprecxx . . $ AArch64_LDPDpre.:
1706 case AArch64_STPDprecxx . . $ AArch64_STPDpre.:
1707 case AArch64_LDPSpostcxx . . $ AArch64_LDPSpost.:
1708 case AArch64_STPSpostcxx . . $ AArch64_STPSpost.:
1709 case AArch64_LDPSprecxx . . $ AArch64_LDPSpre.:
1710 case AArch64_STPSprecxx . . $ AArch64_STPSpre.:
1711 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1712 break;
1713 }
1714
1715 switch (Opcode) {
1716 default:
1717 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1718
1719 case AArch64_LDPXpostcxx . . $ AArch64_LDPXpost.:
1720 case AArch64_STPXpostcxx . . $ AArch64_STPXpost.:
1721 case AArch64_LDPSWpostcxx . . $ AArch64_LDPSWpost.:
1722 case AArch64_LDPXprecxx . . $ AArch64_LDPXpre.:
1723 case AArch64_STPXprecxx . . $ AArch64_STPXpre.:
1724 case AArch64_LDPSWprecxx . . $ AArch64_LDPSWpre.:
1725 NeedsDisjointWritebackTransfer = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
1726 // Fallthrough
1727 case AArch64_LDNPXicxx . . $ AArch64_LDNPXi.:
1728 case AArch64_STNPXicxx . . $ AArch64_STNPXi.:
1729 case AArch64_LDPXicxx . . $ AArch64_LDPXi.:
1730 case AArch64_STPXicxx . . $ AArch64_STPXi.:
1731 case AArch64_LDPSWicxx . . $ AArch64_LDPSWi.:
1732 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1733 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1734 break;
1735
1736 case AArch64_LDPWpostcxx . . $ AArch64_LDPWpost.:
1737 case AArch64_STPWpostcxx . . $ AArch64_STPWpost.:
1738 case AArch64_LDPWprecxx . . $ AArch64_LDPWpre.:
1739 case AArch64_STPWprecxx . . $ AArch64_STPWpre.:
1740 NeedsDisjointWritebackTransfer = truecxx . . $ `<external>/13015445228558014418/stdbool.h:37:9`!;
1741 // Fallthrough
1742 case AArch64_LDNPWicxx . . $ AArch64_LDNPWi.:
1743 case AArch64_STNPWicxx . . $ AArch64_STNPWi.:
1744 case AArch64_LDPWicxx . . $ AArch64_LDPWi.:
1745 case AArch64_STPWicxx . . $ AArch64_STPWi.:
1746 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1747 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1748 break;
1749
1750 case AArch64_LDNPQicxx . . $ AArch64_LDNPQi.:
1751 case AArch64_STNPQicxx . . $ AArch64_STNPQi.:
1752 case AArch64_LDPQpostcxx . . $ AArch64_LDPQpost.:
1753 case AArch64_STPQpostcxx . . $ AArch64_STPQpost.:
1754 case AArch64_LDPQicxx . . $ AArch64_LDPQi.:
1755 case AArch64_STPQicxx . . $ AArch64_STPQi.:
1756 case AArch64_LDPQprecxx . . $ AArch64_LDPQpre.:
1757 case AArch64_STPQprecxx . . $ AArch64_STPQpre.:
1758 DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1759 DecodeFPR128RegisterClasscxx . . $ DecodeFPR128RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1760 break;
1761
1762 case AArch64_LDNPDicxx . . $ AArch64_LDNPDi.:
1763 case AArch64_STNPDicxx . . $ AArch64_STNPDi.:
1764 case AArch64_LDPDpostcxx . . $ AArch64_LDPDpost.:
1765 case AArch64_STPDpostcxx . . $ AArch64_STPDpost.:
1766 case AArch64_LDPDicxx . . $ AArch64_LDPDi.:
1767 case AArch64_STPDicxx . . $ AArch64_STPDi.:
1768 case AArch64_LDPDprecxx . . $ AArch64_LDPDpre.:
1769 case AArch64_STPDprecxx . . $ AArch64_STPDpre.:
1770 DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1771 DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1772 break;
1773
1774 case AArch64_LDNPSicxx . . $ AArch64_LDNPSi.:
1775 case AArch64_STNPSicxx . . $ AArch64_STNPSi.:
1776 case AArch64_LDPSpostcxx . . $ AArch64_LDPSpost.:
1777 case AArch64_STPSpostcxx . . $ AArch64_STPSpost.:
1778 case AArch64_LDPSicxx . . $ AArch64_LDPSi.:
1779 case AArch64_STPSicxx . . $ AArch64_STPSi.:
1780 case AArch64_LDPSprecxx . . $ AArch64_LDPSpre.:
1781 case AArch64_STPSprecxx . . $ AArch64_STPSpre.:
1782 DecodeFPR32RegisterClasscxx . . $ DecodeFPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1783 DecodeFPR32RegisterClasscxx . . $ DecodeFPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt2, Addr, Decoder);
1784 break;
1785 }
1786
1787 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1788 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, offset);
1789
1790 // You shouldn't load to the same register twice in an instruction...
1791 if (IsLoad && Rt == Rt2)
1792 return SoftFailcxx . . $ `arch/AArch64/AArch64Disassembler.c:228:9`!;
1793
1794 // ... or do any operation that writes-back to a transfer register. But note
1795 // that "stp xzr, xzr, [sp], #4" is fine because xzr and sp are different.
1796 if (NeedsDisjointWritebackTransfer && Rn != 31 && (Rt == Rn || Rt2 == Rn))
1797 return SoftFailcxx . . $ `arch/AArch64/AArch64Disassembler.c:228:9`!;
1798
1799 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1800 }
1801
1802 static DecodeStatuscxx . . $ DecodeStatus# DecodeAuthLoadInstructioncxx . . $ DecodeAuthLoadInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
1803 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1804 {
1805 unsigned Rt = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1806 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1807 uint64_tcxx . . $ uint64_t# offset = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 22, 1) << 9 |
1808 fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 12, 9);
1809 unsigned writeback = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 11, 1);
1810
1811 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1812 default:
1813 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1814 case AArch64_LDRAAwritebackcxx . . $ AArch64_LDRAAwriteback.:
1815 case AArch64_LDRABwritebackcxx . . $ AArch64_LDRABwriteback.:
1816 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn /* writeback register */, Addr,
1817 Decoder);
1818 break;
1819 case AArch64_LDRAAindexedcxx . . $ AArch64_LDRAAindexed.:
1820 case AArch64_LDRABindexedcxx . . $ AArch64_LDRABindexed.:
1821 break;
1822 }
1823
1824 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
1825 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1826 DecodeSImmcxx . . $ DecodeSImm(61c735210f7be329).(Inst, offset, Addr, Decoder, 10);
1827
1828 if (writeback && Rt == Rn && Rn != 31) {
1829 return SoftFailcxx . . $ `arch/AArch64/AArch64Disassembler.c:228:9`!;
1830 }
1831
1832 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1833 }
1834
1835 static DecodeStatuscxx . . $ DecodeStatus# DecodeAddSubERegInstructioncxx . . $ DecodeAddSubERegInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1836 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1837 {
1838 unsigned Rd, Rn, Rm;
1839 unsigned extend = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 6);
1840 unsigned shift = extend & 0x7;
1841
1842 if (shift > 4)
1843 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1844
1845 Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1846 Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1847 Rm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 5);
1848
1849 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1850 default:
1851 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1852
1853 case AArch64_ADDWrxcxx . . $ AArch64_ADDWrx.:
1854 case AArch64_SUBWrxcxx . . $ AArch64_SUBWrx.:
1855 DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1856 DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1857 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1858 break;
1859
1860 case AArch64_ADDSWrxcxx . . $ AArch64_ADDSWrx.:
1861 case AArch64_SUBSWrxcxx . . $ AArch64_SUBSWrx.:
1862 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1863 DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1864 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1865 break;
1866
1867 case AArch64_ADDXrxcxx . . $ AArch64_ADDXrx.:
1868 case AArch64_SUBXrxcxx . . $ AArch64_SUBXrx.:
1869 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1870 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1871 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1872 break;
1873
1874 case AArch64_ADDSXrxcxx . . $ AArch64_ADDSXrx.:
1875 case AArch64_SUBSXrxcxx . . $ AArch64_SUBSXrx.:
1876 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1877 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1878 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1879 break;
1880
1881 case AArch64_ADDXrx64cxx . . $ AArch64_ADDXrx64.:
1882 case AArch64_SUBXrx64cxx . . $ AArch64_SUBXrx64.:
1883 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1884 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1885 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1886 break;
1887
1888 case AArch64_SUBSXrx64cxx . . $ AArch64_SUBSXrx64.:
1889 case AArch64_ADDSXrx64cxx . . $ AArch64_ADDSXrx64.:
1890 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1891 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1892 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder);
1893 break;
1894 }
1895
1896 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, extend);
1897
1898 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1899 }
1900
1901 static DecodeStatuscxx . . $ DecodeStatus# DecodeLogicalImmInstructioncxx . . $ DecodeLogicalImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1902 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1903 {
1904 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1905 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1906 unsigned Datasize = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 31, 1);
1907 unsigned imm;
1908
1909 if (Datasize) {
1910 if (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst) == AArch64_ANDSXricxx . . $ AArch64_ANDSXri.)
1911 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1912 else
1913 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1914
1915 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1916
1917 imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 13);
1918 if (!AArch64_AM_isValidDecodeLogicalImmediatecxx . . $ AArch64_AM_isValidDecodeLogicalImmediate(7817402494aa1c61).(imm, 64))
1919 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1920 } else {
1921 if (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst) == AArch64_ANDSWricxx . . $ AArch64_ANDSWri.)
1922 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1923 else
1924 DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1925
1926 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
1927
1928 imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 12);
1929 if (!AArch64_AM_isValidDecodeLogicalImmediatecxx . . $ AArch64_AM_isValidDecodeLogicalImmediate(7817402494aa1c61).(imm, 32))
1930 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
1931 }
1932
1933 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
1934
1935 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1936 }
1937
1938 static DecodeStatuscxx . . $ DecodeStatus# DecodeModImmInstructioncxx . . $ DecodeModImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
1939 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1940 {
1941 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1942 unsigned cmode = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 12, 4);
1943 unsigned imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 3) << 5;
1944 imm |= fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1945
1946 if (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst) == AArch64_MOVIDcxx . . $ AArch64_MOVID.)
1947 DecodeFPR64RegisterClasscxx . . $ DecodeFPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1948 else
1949 DecodeVectorRegisterClasscxx . . $ DecodeVectorRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1950
1951 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
1952
1953 switch (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst)) {
1954 default:
1955 break;
1956
1957 case AArch64_MOVIv4i16cxx . . $ AArch64_MOVIv4i16.:
1958 case AArch64_MOVIv8i16cxx . . $ AArch64_MOVIv8i16.:
1959 case AArch64_MVNIv4i16cxx . . $ AArch64_MVNIv4i16.:
1960 case AArch64_MVNIv8i16cxx . . $ AArch64_MVNIv8i16.:
1961 case AArch64_MOVIv2i32cxx . . $ AArch64_MOVIv2i32.:
1962 case AArch64_MOVIv4i32cxx . . $ AArch64_MOVIv4i32.:
1963 case AArch64_MVNIv2i32cxx . . $ AArch64_MVNIv2i32.:
1964 case AArch64_MVNIv4i32cxx . . $ AArch64_MVNIv4i32.:
1965 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, (cmode & 6) << 2);
1966 break;
1967
1968 case AArch64_MOVIv2s_mslcxx . . $ AArch64_MOVIv2s_msl.:
1969 case AArch64_MOVIv4s_mslcxx . . $ AArch64_MOVIv4s_msl.:
1970 case AArch64_MVNIv2s_mslcxx . . $ AArch64_MVNIv2s_msl.:
1971 case AArch64_MVNIv4s_mslcxx . . $ AArch64_MVNIv4s_msl.:
1972 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, cmode & 1 ? 0x110 : 0x108);
1973 break;
1974 }
1975
1976 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1977 }
1978
1979 static DecodeStatuscxx . . $ DecodeStatus# DecodeModImmTiedInstructioncxx . . $ DecodeModImmTiedInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
1980 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1981 {
1982 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
1983 unsigned cmode = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 12, 4);
1984 unsigned imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 3) << 5;
1985 imm |= fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
1986
1987 // Tied operands added twice.
1988 DecodeVectorRegisterClasscxx . . $ DecodeVectorRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1989 DecodeVectorRegisterClasscxx . . $ DecodeVectorRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
1990
1991 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
1992 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, (cmode & 6) << 2);
1993
1994 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
1995 }
1996
1997 static DecodeStatuscxx . . $ DecodeStatus# DecodeAdrInstructioncxx . . $ DecodeAdrInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
1998 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
1999 {
2000 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
2001 int64_tcxx . . $ int64_t# imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 19) << 2;
2002 imm |= fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 29, 2);
2003
2004 // Sign-extend the 21-bit immediate.
2005 if (imm & (1 << (21 - 1)))
2006 imm |= ~((1LL << 21) - 1);
2007
2008 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
2009 //if (!Dis->tryAddingSymbolicOperand(Inst, imm, Addr, Fail, 0, 4))
2010 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
2011
2012 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2013 }
2014
2015 static DecodeStatuscxx . . $ DecodeStatus# DecodeAddSubImmShiftcxx . . $ DecodeAddSubImmShift(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
2016 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2017 {
2018 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
2019 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
2020 unsigned Imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 10, 14);
2021 unsigned S = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 29, 1);
2022 unsigned Datasize = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 31, 1);
2023
2024 unsigned ShifterVal = (Imm >> 12) & 3;
2025 unsigned ImmVal = Imm & 0xFFF;
2026 // const AArch64Disassembler *Dis =
2027 // static_cast<const AArch64Disassembler *>(Decoder);
2028
2029 if (ShifterVal != 0 && ShifterVal != 1)
2030 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2031
2032 if (Datasize) {
2033 if (Rd == 31 && !S)
2034 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
2035 else
2036 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
2037 DecodeGPR64spRegisterClasscxx . . $ DecodeGPR64spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
2038 } else {
2039 if (Rd == 31 && !S)
2040 DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
2041 else
2042 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder);
2043 DecodeGPR32spRegisterClasscxx . . $ DecodeGPR32spRegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder);
2044 }
2045
2046 // if (!Dis->tryAddingSymbolicOperand(Inst, Imm, Addr, Fail, 0, 4))
2047 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, ImmVal);
2048
2049 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, (12 * ShifterVal));
2050 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2051 }
2052
2053 static DecodeStatuscxx . . $ DecodeStatus# DecodeUnconditionalBranchcxx . . $ DecodeUnconditionalBranch(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
2054 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2055 {
2056 int64_tcxx . . $ int64_t# imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 26);
2057
2058 // Sign-extend the 26-bit immediate.
2059 if (imm & (1 << (26 - 1)))
2060 imm |= ~((1LL << 26) - 1);
2061
2062 // if (!Dis->tryAddingSymbolicOperand(Inst, imm << 2, Addr, true, 0, 4))
2063 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
2064
2065 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2066 }
2067
2068 static DecodeStatuscxx . . $ DecodeStatus# DecodeSystemPStateInstructioncxx . . $ DecodeSystemPStateInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
2069 uint32_tcxx . . $ uint32_t# insn, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2070 {
2071 uint32_tcxx . . $ uint32_t# op1 = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 3);
2072 uint32_tcxx . . $ uint32_t# op2 = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 3);
2073 uint32_tcxx . . $ uint32_t# crm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 8, 4);
2074 uint32_tcxx . . $ uint32_t# pstate_field = (op1 << 3) | op2;
2075
2076 if ((pstate_field == AArch64PState_PANcxx . . $ AArch64PState_PAN. ||
2077 pstate_field == AArch64PState_UAOcxx . . $ AArch64PState_UAO.) && crm > 1)
2078 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2079
2080 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, pstate_field);
2081 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, crm);
2082
2083 if (lookupPStateByEncodingcxx . . $ lookupPStateByEncoding(c2e5e16aec3f65d0).(pstate_field))
2084 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2085
2086 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2087 }
2088
2089 static DecodeStatuscxx . . $ DecodeStatus# DecodeTestAndBranchcxx . . $ DecodeTestAndBranch(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
2090 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2091 {
2092 uint32_tcxx . . $ uint32_t# Rt = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
2093 uint32_tcxx . . $ uint32_t# bit = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 31, 1) << 5;
2094 uint64_tcxx . . $ uint64_t# dst = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 14);
2095
2096 bit |= fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 19, 5);
2097
2098 // Sign-extend 14-bit immediate.
2099 if (dst & (1 << (14 - 1)))
2100 dst |= ~((1LL << 14) - 1);
2101
2102 if (fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 31, 1) == 0)
2103 DecodeGPR32RegisterClasscxx . . $ DecodeGPR32RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
2104 else
2105 DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rt, Addr, Decoder);
2106
2107 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, bit);
2108
2109 //if (!Dis->tryAddingSymbolicOperand(Inst, dst << 2, Addr, true, 0, 4))
2110 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, dst);
2111
2112 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2113 }
2114
2115 static DecodeStatuscxx . . $ DecodeStatus# DecodeGPRSeqPairsClassRegisterClasscxx . . $ DecodeGPRSeqPairsClassRegisterClass(daf0fa6a76768b69).(MCInstcxx . . $ MCInst# *Inst,
2116 unsigned RegClassID, unsigned RegNo, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2117 {
2118 unsigned Register;
2119
2120 // Register number must be even (see CASP instruction)
2121 if (RegNo & 0x1)
2122 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2123
2124 Register = AArch64MCRegisterClassescxx . . $ AArch64MCRegisterClasses.[RegClassID].RegsBegincxx . . $ MCRegisterClass#RegsBegin.[RegNo / 2];
2125 MCOperand_CreateReg0cxx . . $ MCOperand_CreateReg0(1d3fdd902ae43da2).(Inst, Register);
2126
2127 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2128 }
2129
2130 static DecodeStatuscxx . . $ DecodeStatus# DecodeWSeqPairsClassRegisterClasscxx . . $ DecodeWSeqPairsClassRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
2131 unsigned RegNo, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2132 {
2133 return DecodeGPRSeqPairsClassRegisterClasscxx . . $ DecodeGPRSeqPairsClassRegisterClass(daf0fa6a76768b69).(Inst,
2134 AArch64_WSeqPairsClassRegClassIDcxx . . $ AArch64_WSeqPairsClassRegClassID., RegNo, Addr, Decoder);
2135 }
2136
2137 static DecodeStatuscxx . . $ DecodeStatus# DecodeXSeqPairsClassRegisterClasscxx . . $ DecodeXSeqPairsClassRegisterClass(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst,
2138 unsigned RegNo, uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2139 {
2140 return DecodeGPRSeqPairsClassRegisterClasscxx . . $ DecodeGPRSeqPairsClassRegisterClass(daf0fa6a76768b69).(Inst,
2141 AArch64_XSeqPairsClassRegClassIDcxx . . $ AArch64_XSeqPairsClassRegClassID., RegNo, Addr, Decoder);
2142 }
2143
2144 static DecodeStatuscxx . . $ DecodeStatus# DecodeSVELogicalImmInstructioncxx . . $ DecodeSVELogicalImmInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
2145 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2146 {
2147 unsigned Zdn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
2148 unsigned imm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 13);
2149
2150 if (!AArch64_AM_isValidDecodeLogicalImmediatecxx . . $ AArch64_AM_isValidDecodeLogicalImmediate(7817402494aa1c61).(imm, 64))
2151 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2152
2153 // The same (tied) operand is added twice to the instruction.
2154 DecodeZPRRegisterClasscxx . . $ DecodeZPRRegisterClass(cbc3db6d502b7505).(Inst, Zdn, Addr, Decoder);
2155 if (MCInst_getOpcodecxx . . $ MCInst_getOpcode(66549afbf0596d6c).(Inst) != AArch64_DUPM_ZIcxx . . $ AArch64_DUPM_ZI.)
2156 DecodeZPRRegisterClasscxx . . $ DecodeZPRRegisterClass(cbc3db6d502b7505).(Inst, Zdn, Addr, Decoder);
2157
2158 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, imm);
2159
2160 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2161 }
2162
2163 static DecodeStatuscxx . . $ DecodeStatus# DecodeSImmcxx . . $ DecodeSImm(61c735210f7be329).(MCInstcxx . . $ MCInst# *Inst, uint64_tcxx . . $ uint64_t# Imm, uint64_tcxx . . $ uint64_t# Address,
2164 const void *Decoder, int Bits)
2165 {
2166 if (Imm & ~((1LL << Bits) - 1))
2167 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2168
2169 // Imm is a signed immediate, so sign extend it.
2170 if (Imm & (1 << (Bits - 1)))
2171 Imm |= ~((1LL << Bits) - 1);
2172
2173 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Imm);
2174
2175 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2176 }
2177
2178 // Decode 8-bit signed/unsigned immediate for a given element width.
2179 static DecodeStatuscxx . . $ DecodeStatus# DecodeImm8OptLslcxx . . $ DecodeImm8OptLsl(a523770ddf250a4f).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm, uint64_tcxx . . $ uint64_t# Addr,
2180 const void *Decoder, int ElementWidth)
2181 {
2182 unsigned Val = (uint8_tcxx . . $ uint8_t#)Imm;
2183 unsigned Shift = (Imm & 0x100) ? 8 : 0;
2184
2185 if (ElementWidth == 8 && Shift)
2186 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2187
2188 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Val);
2189 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Shift);
2190
2191 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2192 }
2193
2194 // Decode uimm4 ranged from 1-16.
2195 static DecodeStatuscxx . . $ DecodeStatus# DecodeSVEIncDecImmcxx . . $ DecodeSVEIncDecImm(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm,
2196 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder)
2197 {
2198 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Imm + 1);
2199
2200 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2201 }
2202
2203 static DecodeStatuscxx . . $ DecodeStatus# DecodeSVCROpcxx . . $ DecodeSVCROp(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, unsigned Imm, uint64_tcxx . . $ uint64_t# Address,
2204 const void *Decoder) {
2205 if (lookupSVCRByEncodingcxx . . $ lookupSVCRByEncoding(704b7ddea0cd8637).(Imm)) {
2206 MCOperand_CreateImm0cxx . . $ MCOperand_CreateImm0(c25c894236a70359).(Inst, Imm);
2207 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2208 }
2209 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2210 }
2211
2212 static DecodeStatuscxx . . $ DecodeStatus# DecodeCPYMemOpInstructioncxx . . $ DecodeCPYMemOpInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
2213 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder) {
2214 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
2215 unsigned Rs = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 5);
2216 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
2217
2218 // None of the registers may alias: if they do, then the instruction is not
2219 // merely unpredictable but actually entirely unallocated.
2220 if (Rd == Rs || Rs == Rn || Rd == Rn)
2221 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2222
2223 // All three register operands are written back, so they all appear
2224 // twice in the operand list, once as outputs and once as inputs.
2225 if (!DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder) ||
2226 !DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(Inst, Rs, Addr, Decoder) ||
2227 !DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder) ||
2228 !DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder) ||
2229 !DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(Inst, Rs, Addr, Decoder) ||
2230 !DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder))
2231 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2232
2233 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2234 }
2235
2236 static DecodeStatuscxx . . $ DecodeStatus# DecodeSETMemOpInstructioncxx . . $ DecodeSETMemOpInstruction(cbc3db6d502b7505).(MCInstcxx . . $ MCInst# *Inst, uint32_tcxx . . $ uint32_t# insn,
2237 uint64_tcxx . . $ uint64_t# Addr, const void *Decoder) {
2238 unsigned Rd = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 0, 5);
2239 unsigned Rm = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 16, 5);
2240 unsigned Rn = fieldFromInstruction_4cxx . . $ fieldFromInstruction_4(4eebda9b5e4ecc9c).(insn, 5, 5);
2241
2242 // None of the registers may alias: if they do, then the instruction is not
2243 // merely unpredictable but actually entirely unallocated.
2244 if (Rd == Rm || Rm == Rn || Rd == Rn)
2245 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2246
2247 // Rd and Rn (not Rm) register operands are written back, so they appear
2248 // twice in the operand list, once as outputs and once as inputs.
2249 if (!DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder) ||
2250 !DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder) ||
2251 !DecodeGPR64commonRegisterClasscxx . . $ DecodeGPR64commonRegisterClass(cbc3db6d502b7505).(Inst, Rd, Addr, Decoder) ||
2252 !DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rn, Addr, Decoder) ||
2253 !DecodeGPR64RegisterClasscxx . . $ DecodeGPR64RegisterClass(cbc3db6d502b7505).(Inst, Rm, Addr, Decoder))
2254 return Failcxx . . $ `arch/AArch64/AArch64Disassembler.c:227:9`!;
2255
2256 return Successcxx . . $ `arch/AArch64/AArch64Disassembler.c:226:9`!;
2257 }
2258
2259 void AArch64_initcxx . . $ AArch64_init(c2e0c34190506c3d).(MCRegisterInfocxx . . $ MCRegisterInfo# *MRI)
2260 {
2261 /*
2262 InitMCRegisterInfo(AArch64RegDesc, 661,
2263 RA, PC,
2264 AArch64MCRegisterClasses, 100,
2265 AArch64RegUnitRoots, 115, AArch64RegDiffLists,
2266 AArch64LaneMaskLists, AArch64RegStrings, AArch64RegClassStrings,
2267 AArch64SubRegIdxLists, 100,
2268 AArch64SubRegIdxRanges, AArch64RegEncodingTable);
2269 */
2270
2271 MCRegisterInfo_InitMCRegisterInfocxx . . $ MCRegisterInfo_InitMCRegisterInfo(5e86a0227010d6ff).(MRI, AArch64RegDesccxx . . $ AArch64RegDesc., 674,
2272 0, 0,
2273 AArch64MCRegisterClassescxx . . $ AArch64MCRegisterClasses., 202,
2274 0, 0, AArch64RegDiffListscxx . . $ AArch64RegDiffLists.,
2275 0,
2276 AArch64SubRegIdxListscxx . . $ AArch64SubRegIdxLists., 100,
2277 0);
2278 }
2279
2280 #endif