mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2025-01-03 23:36:57 +00:00
37 lines
926 B
PHP
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
|