From: Rhys Weatherley Date: Wed, 9 Jun 2004 06:49:13 +0000 (+0000) Subject: _arm_alu_reg_imm: forgot to update the instruction pointer when X-Git-Tag: r.0.0.4~28 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=8c81362995edbb9cbdf77037dce451e03b9f5b3c;p=francis%2Flibjit.git _arm_alu_reg_imm: forgot to update the instruction pointer when loading the immediate value. --- diff --git a/ChangeLog b/ChangeLog index 269a933..60bcc0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ * jit/jit-gen-arm.h: fix some bugs in the encoding of floating-point load and store instructions. + * jit/jit-gen-arm.c (_arm_alu_reg_imm): forgot to update the + instruction pointer when loading the immediate value. + 2004-06-08 Rhys Weatherley * jit/Makefile.am, jit/jit-cpuid-x86.c, jit/jit-cpuid-x86.h: diff --git a/jit/jit-gen-arm.c b/jit/jit-gen-arm.c index 6c6a351..636bee6 100644 --- a/jit/jit-gen-arm.c +++ b/jit/jit-gen-arm.c @@ -195,7 +195,7 @@ arm_inst_ptr _arm_alu_reg_imm { tempreg = ARM_WORK; } - _arm_mov_reg_imm(inst, tempreg, imm, execute_prefix); + inst = _arm_mov_reg_imm(inst, tempreg, imm, execute_prefix); arm_alu_reg_reg(inst, opc, dreg, sreg, tempreg); if(saveWork) {