FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | mips_foreach_opcode |
#define | mips_foreach_special_funct |
#define | mips_foreach_special2_funct |
#define | mips_foreach_regimm_rt |
#define | mips_foreach_cop0_rs |
#define | mips_foreach_cop0_funct |
#define | mips_foreach_cop1_rs |
#define | mips_foreach_cop1_funct |
#define | mips_foreach_cop1x_funct |
#define | mips_foreach_mdmx_funct |
#define | mips_insn_r(op, funct, rd, rs, rt, sa) |
#define | mips_insn_i(op, rs, rt, imm) mips_insn_encode_i_type (MIPS_OPCODE_##op, (rs), (rt), (imm)) |
#define | mips_insn_j(op, target) mips_insn_encode_i_type (MIPS_OPCODE_##op, (rs), (rt), (imm)) |
Enumerations | |
enum | mips_insn_opcode_t { mips_foreach_opcode } |
enum | mips_insn_special_funct_t { mips_foreach_special_funct } |
enum | mips_insn_special2_funct_t { mips_foreach_special2_funct } |
enum | mips_insn_regimm_rt_t { mips_foreach_regimm_rt } |
enum | mips_insn_cop0_rs_t { mips_foreach_cop0_rs } |
enum | mips_insn_cop0_funct_t { mips_foreach_cop0_funct } |
enum | mips_insn_cop1_rs_t { mips_foreach_cop1_rs } |
enum | mips_insn_cop1_funct_t { mips_foreach_cop1_funct } |
enum | mips_insn_cop1x_funct_t { mips_foreach_cop1x_funct } |
enum | mips_insn_mdmx_funct_t { mips_foreach_mdmx_funct } |
enum | mips_reg_t { MIPS_REG_SP = 29, MIPS_REG_RA = 31 } |
Functions | |
always_inline mips_insn_opcode_t | mips_insn_get_op (u32 insn) |
always_inline u32 | mips_insn_get_rs (u32 insn) |
always_inline u32 | mips_insn_get_rt (u32 insn) |
always_inline u32 | mips_insn_get_rd (u32 insn) |
always_inline u32 | mips_insn_get_sa (u32 insn) |
always_inline u32 | mips_insn_get_funct (u32 insn) |
always_inline i32 | mips_insn_get_immediate (u32 insn) |
always_inline u32 | mips_insn_encode_i_type (int op, int rs, int rt, int immediate) |
always_inline u32 | mips_insn_encode_j_type (int op, u32 addr) |
always_inline u32 | mips_insn_encode_r_type (int op, int rs, int rt, int rd, int sa, int funct) |
always_inline u32 | mips_insn_load (u32 rd, i32 offset, u32 base, u32 log2_bytes) |
#define mips_foreach_cop0_funct |
Definition at line 90 of file asm_mips.h.
#define mips_foreach_cop0_rs |
Definition at line 83 of file asm_mips.h.
#define mips_foreach_cop1_funct |
Definition at line 108 of file asm_mips.h.
#define mips_foreach_cop1_rs |
Definition at line 101 of file asm_mips.h.
#define mips_foreach_cop1x_funct |
Definition at line 119 of file asm_mips.h.
#define mips_foreach_mdmx_funct |
Definition at line 129 of file asm_mips.h.
#define mips_foreach_opcode |
Definition at line 43 of file asm_mips.h.
#define mips_foreach_regimm_rt |
Definition at line 76 of file asm_mips.h.
#define mips_foreach_special2_funct |
Definition at line 65 of file asm_mips.h.
#define mips_foreach_special_funct |
Definition at line 54 of file asm_mips.h.
#define mips_insn_i | ( | op, | |
rs, | |||
rt, | |||
imm | |||
) | mips_insn_encode_i_type (MIPS_OPCODE_##op, (rs), (rt), (imm)) |
Definition at line 281 of file asm_mips.h.
#define mips_insn_j | ( | op, | |
target | |||
) | mips_insn_encode_i_type (MIPS_OPCODE_##op, (rs), (rt), (imm)) |
Definition at line 284 of file asm_mips.h.
#define mips_insn_r | ( | op, | |
funct, | |||
rd, | |||
rs, | |||
rt, | |||
sa | |||
) |
Definition at line 276 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_cop0_funct |
Definition at line 170 of file asm_mips.h.
enum mips_insn_cop0_rs_t |
Enumerator | |
---|---|
mips_foreach_cop0_rs |
Definition at line 164 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_cop1_funct |
Definition at line 182 of file asm_mips.h.
enum mips_insn_cop1_rs_t |
Enumerator | |
---|---|
mips_foreach_cop1_rs |
Definition at line 176 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_cop1x_funct |
Definition at line 188 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_mdmx_funct |
Definition at line 194 of file asm_mips.h.
enum mips_insn_opcode_t |
Enumerator | |
---|---|
mips_foreach_opcode |
Definition at line 140 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_regimm_rt |
Definition at line 158 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_special2_funct |
Definition at line 152 of file asm_mips.h.
Enumerator | |
---|---|
mips_foreach_special_funct |
Definition at line 146 of file asm_mips.h.
enum mips_reg_t |
Enumerator | |
---|---|
MIPS_REG_SP | |
MIPS_REG_RA |
Definition at line 313 of file asm_mips.h.
always_inline u32 mips_insn_encode_i_type | ( | int | op, |
int | rs, | ||
int | rt, | ||
int | immediate | ||
) |
Definition at line 228 of file asm_mips.h.
always_inline u32 mips_insn_encode_j_type | ( | int | op, |
u32 | addr | ||
) |
Definition at line 245 of file asm_mips.h.
always_inline u32 mips_insn_encode_r_type | ( | int | op, |
int | rs, | ||
int | rt, | ||
int | rd, | ||
int | sa, | ||
int | funct | ||
) |
always_inline u32 mips_insn_get_funct | ( | u32 | insn | ) |
always_inline i32 mips_insn_get_immediate | ( | u32 | insn | ) |
always_inline mips_insn_opcode_t mips_insn_get_op | ( | u32 | insn | ) |
always_inline u32 mips_insn_get_rd | ( | u32 | insn | ) |
always_inline u32 mips_insn_get_rs | ( | u32 | insn | ) |
always_inline u32 mips_insn_get_rt | ( | u32 | insn | ) |
always_inline u32 mips_insn_get_sa | ( | u32 | insn | ) |