|
enum | opcode {
UNKNOWN = 0
, ADD
, ADDI
, ADDIW
,
ADDW
, AUIPC
, LUI
, SD
,
SW
, LD
, LW
, MV
,
JAL
, JALR
, BEQ
, BNE
,
BLT
, BGE
, BLTU
, BGEU
,
LR
, SC
, ECALL
, OTHER
} |
|
|
int | decode_register_index (unsigned long opcode, int offset) |
|
int | decode_register_index_short (unsigned long opcode, int offset) |
|
void | decode_r_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_cr_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_i_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_ci_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_cl_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_s_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_cs_type_insn (enum opcode opcode, ULONGEST ival, int imm) |
|
void | decode_css_type_insn (enum opcode opcode, ULONGEST ival, int imm) |
|
void | decode_u_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_j_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_cj_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_b_type_insn (enum opcode opcode, ULONGEST ival) |
|
void | decode_cb_type_insn (enum opcode opcode, ULONGEST ival) |
|
Definition at line 1514 of file riscv-tdep.c.
◆ opcode
Enumerator |
---|
UNKNOWN | |
ADD | |
ADDI | |
ADDIW | |
ADDW | |
AUIPC | |
LUI | |
SD | |
SW | |
LD | |
LW | |
MV | |
JAL | |
JALR | |
BEQ | |
BNE | |
BLT | |
BGE | |
BLTU | |
BGEU | |
LR | |
SC | |
ECALL | |
OTHER | |
Definition at line 1519 of file riscv-tdep.c.
◆ riscv_insn()
riscv_insn::riscv_insn |
( |
| ) |
|
|
inline |
◆ decode()
void riscv_insn::decode |
( |
struct gdbarch * |
gdbarch, |
|
|
CORE_ADDR |
pc |
|
) |
| |
◆ decode_b_type_insn()
void riscv_insn::decode_b_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_cb_type_insn()
void riscv_insn::decode_cb_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_ci_type_insn()
void riscv_insn::decode_ci_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_cj_type_insn()
void riscv_insn::decode_cj_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_cl_type_insn()
void riscv_insn::decode_cl_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_cr_type_insn()
void riscv_insn::decode_cr_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_cs_type_insn()
void riscv_insn::decode_cs_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival, |
|
|
int |
imm |
|
) |
| |
|
inlineprivate |
◆ decode_css_type_insn()
void riscv_insn::decode_css_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival, |
|
|
int |
imm |
|
) |
| |
|
inlineprivate |
◆ decode_i_type_insn()
void riscv_insn::decode_i_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_j_type_insn()
void riscv_insn::decode_j_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_r_type_insn()
void riscv_insn::decode_r_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_register_index()
int riscv_insn::decode_register_index |
( |
unsigned long |
opcode, |
|
|
int |
offset |
|
) |
| |
|
inlineprivate |
◆ decode_register_index_short()
int riscv_insn::decode_register_index_short |
( |
unsigned long |
opcode, |
|
|
int |
offset |
|
) |
| |
|
inlineprivate |
◆ decode_s_type_insn()
void riscv_insn::decode_s_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ decode_u_type_insn()
void riscv_insn::decode_u_type_insn |
( |
enum opcode |
opcode, |
|
|
ULONGEST |
ival |
|
) |
| |
|
inlineprivate |
◆ fetch_instruction()
ULONGEST riscv_insn::fetch_instruction |
( |
struct gdbarch * |
gdbarch, |
|
|
CORE_ADDR |
addr, |
|
|
int * |
len |
|
) |
| |
|
staticprivate |
◆ imm_signed()
int riscv_insn::imm_signed |
( |
| ) |
const |
|
inline |
◆ length()
int riscv_insn::length |
( |
| ) |
const |
|
inline |
◆ opcode()
◆ rd()
int riscv_insn::rd |
( |
| ) |
const |
|
inline |
◆ rs1()
int riscv_insn::rs1 |
( |
| ) |
const |
|
inline |
◆ rs2()
int riscv_insn::rs2 |
( |
| ) |
const |
|
inline |
◆ m_imm
◆ m_length
◆ m_opcode
enum opcode riscv_insn::m_opcode |
|
private |
◆ m_rd
◆ m_rs1
◆ m_rs2
The documentation for this class was generated from the following file: