# HG changeset patch # User Xerxes Ranby # Date 1378228204 -3600 # Node ID 0ac001e24883d8ed87236ac1fc7b2660dc9588cd # Parent 09d85ab75305c3f066e7c0af4780a1b704faf6ca PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel. 2013-05-28 Xerxes Ranby PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel. * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S (POPF1): The POPF1 macro used wrong destination register r0 instead of r1 on ARM armel causing issues with the frem bytecode. The frem bytecode was the only bytecode using the defect macro. * NEWS: Updated. diff -r 09d85ab75305 -r 0ac001e24883 ChangeLog --- a/ChangeLog Sat Nov 16 07:13:34 2013 +0000 +++ b/ChangeLog Tue Sep 03 18:10:04 2013 +0100 @@ -1,3 +1,13 @@ +2013-05-28 Xerxes RĂ„nby + + PR1188: ASM Interpreter and Thumb2 JIT javac miscompile + modulo reminder on armel. + * arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S + (POPF1): The POPF1 macro used wrong destination register + r0 instead of r1 on ARM armel causing issues with the frem bytecode. + The frem bytecode was the only bytecode using the defect macro. + * NEWS: Updated. + 2013-04-26 Andrew John Hughes * Makefile.am: diff -r 09d85ab75305 -r 0ac001e24883 NEWS --- a/NEWS Sat Nov 16 07:13:34 2013 +0000 +++ b/NEWS Tue Sep 03 18:10:04 2013 +0100 @@ -16,6 +16,8 @@ * Backports - S6840152: JVM crashes when heavyweight monitors are used - S7022999: Can't build with FORCE_TIERED=0 +* Bug fixes + - PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel. New in release 1.12.6 (2013-07-10): diff -r 09d85ab75305 -r 0ac001e24883 arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S --- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Sat Nov 16 07:13:34 2013 +0000 +++ b/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S Tue Sep 03 18:10:04 2013 +0100 @@ -345,7 +345,7 @@ flds s1, [stack, #4] add stack, #4 #else - POP r0 + POP r1 #endif .endm