CACAO
Macros | Functions
md.cpp File Reference

Go to the source code of this file.

Macros

#define IS_SETHI(instr)
 
#define IS_LDX_IMM(instr)   (((instr >> 13) & 0x60fc1) == 0x602c1)
 
#define IS_SUB(instr)   (((instr >> 13) & 0x60fc0) == 0x40100)
 

Functions

void asm_store_fp_state_reg (u8 *mem)
 
void asm_load_fp_state_reg (u8 *mem)
 
s2 decode_13bit_imm (u4 instr)
 
void md_init (void)
 
voidmd_jit_method_patch_address (void *pv, void *ra, void *mptr)
 

Macro Definition Documentation

#define IS_LDX_IMM (   instr)    (((instr >> 13) & 0x60fc1) == 0x602c1)

Definition at line 51 of file md.cpp.

#define IS_SETHI (   instr)
Value:
(((instr & 0xc1c00000) == 0x01000000) \
&& ((instr & 0x3fffff) != 0x0))

Definition at line 47 of file md.cpp.

#define IS_SUB (   instr)    (((instr >> 13) & 0x60fc0) == 0x40100)

Definition at line 54 of file md.cpp.

Function Documentation

void asm_load_fp_state_reg ( u8 mem)
void asm_store_fp_state_reg ( u8 mem)
s2 decode_13bit_imm ( u4  instr)
inline

Definition at line 57 of file md.cpp.

void md_init ( void  )

Definition at line 76 of file md.cpp.

void* md_jit_method_patch_address ( void pv,
void ra,
void mptr 
)

Definition at line 119 of file md.cpp.