Branch: Tag:

2012-06-13

2012-06-13 17:01:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler (amd64): Fixed typo in add_reg_imm_reg()

This typo broke F_LOCAL_2_LOCAL (and probably others).

641:    }    rex(1,dst,0,src);    opcode( 0x8d ); /* LEA r64,m */ -  if( imm32 <= 0xf7 && imm32 >= -0x80 ) +  if( imm32 <= 0x7f && imm32 >= -0x80 )    {    modrm(1,dst,src);    ib( imm32 );