Go to the documentation of this file.
4 #ifdef CAPSTONE_HAS_SYSZ
9 #include "../../utils.h"
13 #define GET_INSTRINFO_ENUM
14 #include "SystemZGenInstrInfo.inc"
17 static const name_map reg_name_maps[] = {
141 #ifndef CAPSTONE_DIET
145 return reg_name_maps[reg].
name;
155 #ifndef CAPSTONE_DIET
156 { 0 }, { 0 }, { 0 }, 0, 0
160 #include "SystemZMappingInsn.inc"
170 insn->id = insns[
i].
mapid;
173 #ifndef CAPSTONE_DIET
174 memcpy(insn->detail->regs_read, insns[
i].regs_use,
sizeof(insns[
i].regs_use));
177 memcpy(insn->detail->regs_write, insns[
i].regs_mod,
sizeof(insns[
i].regs_mod));
180 memcpy(insn->detail->groups, insns[
i].groups,
sizeof(insns[
i].groups));
183 if (insns[
i].
branch || insns[
i].indirect_branch) {
185 insn->detail->groups[insn->detail->groups_count] =
SYSZ_GRP_JUMP;
186 insn->detail->groups_count++;
193 #ifndef CAPSTONE_DIET
194 static const name_map insn_name_maps[] = {
197 #include "SystemZGenInsnNameMaps.inc"
201 static const name_map alias_insn_names[] = {
208 #ifndef CAPSTONE_DIET
216 if (alias_insn_names[
i].
id ==
id)
217 return alias_insn_names[
i].
name;
220 return insn_name_maps[
id].
name;
226 #ifndef CAPSTONE_DIET
266 #ifndef CAPSTONE_DIET
276 static const unsigned int map[] = { 0,
const char * SystemZ_reg_name(csh handle, unsigned int reg)
@ SYSZ_GRP_RESETREFERENCEBITSMULTIPLE
unsigned short insn_find(const insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache)
sysz_reg SystemZ_map_register(unsigned int r)
@ SYSZ_GRP_INSERTREFERENCEBITSMULTIPLE
const char * SystemZ_group_name(csh handle, unsigned int id)
@ SYSZ_GRP_INVALID
= CS_GRP_INVALID
@ SYSZ_GRP_VECTORENHANCEMENTS1
unsigned int count_positive(const uint16_t *list)
@ SYSZ_GRP_POPULATIONCOUNT
const char * id2name(const name_map *map, int max, const unsigned int id)
@ SYSZ_GRP_LOADSTOREONCOND
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
@ SYSZ_GRP_JUMP
= CS_GRP_JUMP
@ SYSZ_GRP_DFPZONEDCONVERSION
@ SYSZ_GRP_PROCESSORASSIST
@ SYSZ_GRP_MESSAGESECURITYASSIST5
unsigned int count_positive8(const unsigned char *list)
@ SYSZ_GRP_MISCELLANEOUSEXTENSIONS2
@ SYSZ_GRP_MESSAGESECURITYASSIST8
@ SYSZ_GRP_VECTORPACKEDDECIMAL
static name_map group_name_maps[]
@ SYSZ_GRP_MESSAGESECURITYASSIST7
sysz_reg
SystemZ registers.
@ SYSZ_GRP_LOADSTOREONCOND2
@ SYSZ_GRP_LOADANDZERORIGHTMOSTBYTE
@ SYSZ_GRP_MESSAGESECURITYASSIST4
@ SYSZ_GRP_MISCELLANEOUSEXTENSIONS
@ SYSZ_GRP_MESSAGESECURITYASSIST3
const char * SystemZ_insn_name(csh handle, unsigned int id)
@ SYSZ_GRP_DFPPACKEDCONVERSION
@ SYSZ_GRP_GUARDEDSTORAGE
void SystemZ_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
@ SYSZ_GRP_TRANSACTIONALEXECUTION
@ SYSZ_GRP_INTERLOCKEDACCESS1
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:28