]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
_arm_alu_reg_imm: forgot to update the instruction pointer when
authorRhys Weatherley <rweather@southern-storm.com.au>
Wed, 9 Jun 2004 06:49:13 +0000 (06:49 +0000)
committerRhys Weatherley <rweather@southern-storm.com.au>
Wed, 9 Jun 2004 06:49:13 +0000 (06:49 +0000)
loading the immediate value.

ChangeLog
jit/jit-gen-arm.c

index 269a9331622851b63855a1edd157e2f4916a6c86..60bcc0bda59339b172319b32ae46097915a34eaa 100644 (file)
--- 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  <rweather@southern-storm.com.au>
 
        * jit/Makefile.am, jit/jit-cpuid-x86.c, jit/jit-cpuid-x86.h:
index 6c6a35148805fb0ceee67dd6f866f4dd5a7353de..636bee6ddbaee70fa77d63f30f511ef9b871deb8 100644 (file)
@@ -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)
        {