Skip to content

Commit 777d1ea

Browse files
authored
Use uop_MOVZX instead of uop_MOV
1 parent c478244 commit 777d1ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen_new/codegen_ops_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ LOAD_IMMEDIATE_FROM_RAM_8(UNUSED(codeblock_t *block), ir_data_t *ir, int dest_re
9292
uop_LOAD_FUNC_ARG_IMM(ir, 0, addr);
9393
uop_CALL_FUNC_RESULT(ir, IREG_temp1, fastreadb);
9494
uop_AND_IMM(ir, IREG_temp1, IREG_temp1, 0xFF);
95-
uop_MOV(ir, dest_reg, IREG_temp1_B);
95+
uop_MOVZX(ir, dest_reg, IREG_temp1_B);
9696
return;
9797
}
9898
uop_MOVZX_REG_PTR_8(ir, dest_reg, get_ram_ptr(addr));

0 commit comments

Comments
 (0)