Temp MMX debugging logs
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#include "codegen_ops_mmx_loadstore.h"
|
||||
#include "codegen_ops_helpers.h"
|
||||
|
||||
extern void codegen_print_mmx(void);
|
||||
|
||||
uint32_t
|
||||
ropMOVD_r_d(codeblock_t *block, ir_data_t *ir, UNUSED(uint8_t opcode), uint32_t fetchdat, uint32_t op_32, uint32_t op_pc)
|
||||
{
|
||||
@@ -36,6 +38,7 @@ ropMOVD_r_d(codeblock_t *block, ir_data_t *ir, UNUSED(uint8_t opcode), uint32_t
|
||||
uop_MOVZX(ir, IREG_MM(dest_reg), IREG_temp0);
|
||||
}
|
||||
|
||||
uop_CALL_FUNC(ir, codegen_print_mmx);
|
||||
return op_pc + 1;
|
||||
}
|
||||
uint32_t
|
||||
@@ -62,6 +65,7 @@ ropMOVD_d_r(codeblock_t *block, ir_data_t *ir, UNUSED(uint8_t opcode), uint32_t
|
||||
uop_MEM_STORE_REG(ir, ireg_seg_base(target_seg), IREG_eaaddr, IREG_temp0);
|
||||
}
|
||||
|
||||
uop_CALL_FUNC(ir, codegen_print_mmx);
|
||||
return op_pc + 1;
|
||||
}
|
||||
|
||||
@@ -84,6 +88,7 @@ ropMOVQ_r_q(codeblock_t *block, ir_data_t *ir, UNUSED(uint8_t opcode), uint32_t
|
||||
uop_MEM_LOAD_REG(ir, IREG_MM(dest_reg), ireg_seg_base(target_seg), IREG_eaaddr);
|
||||
}
|
||||
|
||||
uop_CALL_FUNC(ir, codegen_print_mmx);
|
||||
return op_pc + 1;
|
||||
}
|
||||
|
||||
@@ -107,5 +112,6 @@ ropMOVQ_q_r(codeblock_t *block, ir_data_t *ir, UNUSED(uint8_t opcode), uint32_t
|
||||
uop_MEM_STORE_REG(ir, ireg_seg_base(target_seg), IREG_eaaddr, IREG_MM(src_reg));
|
||||
}
|
||||
|
||||
uop_CALL_FUNC(ir, codegen_print_mmx);
|
||||
return op_pc + 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user