From 8c81362995edbb9cbdf77037dce451e03b9f5b3c Mon Sep 17 00:00:00 2001 From: Rhys Weatherley Date: Wed, 9 Jun 2004 06:49:13 +0000 Subject: [PATCH] _arm_alu_reg_imm: forgot to update the instruction pointer when loading the immediate value. --- ChangeLog | 3 +++ jit/jit-gen-arm.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.47.3