2023-05-02 20:41:02 +00:00
|
|
|
/* SPDX-FileCopyrightText: © 2022-2023 Decompollaborate */
|
2022-12-16 18:37:46 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
|
|
|
|
#define RABBITIZER_DEF_INSTR_ID(prefix, caseBits, name, ...) \
|
|
|
|
RABBITIZER_INSTR_ID_##prefix##_##name,
|
|
|
|
|
|
|
|
#define RABBITIZER_DEF_INSTR_ID_ALTNAME(prefix, caseBits, name, altname, ...) \
|
|
|
|
RABBITIZER_DEF_INSTR_ID(prefix, caseBits, name, __VA_ARGS__)
|
|
|
|
|
|
|
|
typedef enum RabbitizerInstrId {
|
2023-05-02 23:01:54 +00:00
|
|
|
#include "InstrIds.inc"
|
2022-12-16 18:37:46 +00:00
|
|
|
|
|
|
|
RABBITIZER_INSTR_ID_ALL_MAX = RABBITIZER_DEF_INSTR_ID(r5900, , MAX, )
|
|
|
|
} RabbitizerInstrId;
|
|
|
|
|
|
|
|
#undef RABBITIZER_DEF_INSTR_ID
|
|
|
|
#undef RABBITIZER_DEF_INSTR_ID_ALTNAME
|