Go to the source code of this file.
Define Documentation
| #define _is_inst_branch |
( |
|
_inst |
) |
|
Value:(_inst.i_format.opcode == beq_op || \
_inst.i_format.opcode == bne_op || \
_inst.i_format.opcode == blez_op || \
_inst.i_format.opcode == bgtz_op || \
_inst.i_format.opcode == beql_op || \
_inst.i_format.opcode == bnel_op || \
_inst.i_format.opcode == blezl_op || \
_inst.i_format.opcode == bgtzl_op || \
(_inst.i_format.opcode == bcond_op && \
(_inst.i_format.rt == bltz_op || \
_inst.i_format.rt == bgez_op || \
_inst.i_format.rt == bltzl_op || \
_inst.i_format.rt == bgezl_op || \
_inst.i_format.rt == bltzal_op || \
_inst.i_format.rt == bgezal_op || \
_inst.i_format.rt == bltzall_op || \
_inst.i_format.rt == bgezall_op)) || \
((_inst.i_format.opcode == cop0_op || \
_inst.i_format.opcode == cop1_op || \
_inst.i_format.opcode == cop3_op || \
_inst.i_format.opcode == cop2_op) && \
_inst.i_format.rs == bc_op))
Definition at line 133 of file newinst.h.
| #define _is_inst_branch_and_link |
( |
|
_inst |
) |
|
| #define _is_inst_move |
( |
|
_inst |
) |
|
Value:(_inst.r_format.opcode == spec_op && \
(_inst.r_format.func == addu_op || \
_inst.r_format.func == daddu_op || \
_inst.r_format.func == or_op) && \
_inst.r_format.rt == 0)
Definition at line 112 of file newinst.h.
| #define _is_inst_uncondbr |
( |
|
_inst |
) |
|
Value:(_inst.i_format.opcode == beq_op && \
_inst.i_format.rs == 0 && \
_inst.i_format.rt == 0)
Definition at line 119 of file newinst.h.
| #define D_FMT (cop_op+d_fmt) |
| #define E_FMT (cop_op+e_fmt) |
| #define L_FMT (cop_op+l_fmt) |
| #define PS_FMT (cop_op+ps_fmt) |
| #define Q_FMT (cop_op+q_fmt) |
| #define S_FMT (cop_op+s_fmt) |
| #define W_FMT (cop_op+w_fmt) |