rabbitizer/include/instructions/instr_id/cpu/cpu_cop0_tlb.inc
2022-10-13 13:32:22 -03:00

37 lines
926 B
PHP

/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
/* SPDX-License-Identifier: MIT */
// OP
RABBITIZER_DEF_INSTR_ID(
cpu, 0x01, tlbr,
.operands={0},
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN,
.notEmitedByCompilers=true
) // Read Indexed TLB Entry
RABBITIZER_DEF_INSTR_ID(
cpu, 0x02, tlbwi,
.operands={0},
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN,
.notEmitedByCompilers=true
) // Write Indexed TLB Entry
RABBITIZER_DEF_INSTR_ID(
cpu, 0x06, tlbwr,
.operands={0},
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN
) // Write Random TLB Entry
RABBITIZER_DEF_INSTR_ID(
cpu, 0x08, tlbp,
.operands={0},
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN,
.notEmitedByCompilers=true
) // Probe TLB for Matching Entry
RABBITIZER_DEF_INSTR_ID(
cpu, 0x18, eret,
.operands={0},
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN,
.notEmitedByCompilers=true
) // Return from Exception