2022-08-23 14:55:14 +00:00
|
|
|
/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
|
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
|
|
|
|
// OP
|
2022-10-13 16:32:22 +00:00
|
|
|
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
|
2022-08-23 14:55:14 +00:00
|
|
|
|
2022-10-13 16:32:22 +00:00
|
|
|
RABBITIZER_DEF_INSTR_ID(
|
|
|
|
cpu, 0x06, tlbwr,
|
|
|
|
.operands={0},
|
|
|
|
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN
|
|
|
|
) // Write Random TLB Entry
|
2022-08-23 14:55:14 +00:00
|
|
|
|
2022-10-13 16:32:22 +00:00
|
|
|
RABBITIZER_DEF_INSTR_ID(
|
|
|
|
cpu, 0x08, tlbp,
|
|
|
|
.operands={0},
|
|
|
|
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN,
|
|
|
|
.notEmitedByCompilers=true
|
|
|
|
) // Probe TLB for Matching Entry
|
2022-08-23 14:55:14 +00:00
|
|
|
|
2022-10-13 16:32:22 +00:00
|
|
|
RABBITIZER_DEF_INSTR_ID(
|
|
|
|
cpu, 0x18, eret,
|
|
|
|
.operands={0},
|
|
|
|
.instrType=RABBITIZER_INSTR_TYPE_UNKNOWN,
|
|
|
|
.notEmitedByCompilers=true
|
|
|
|
) // Return from Exception
|