changeset 2924:1efdc95c9ae0

PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel. 2013-05-28 Xerxes Ranby <xerxes@zafena.se> 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.
author Xerxes Ranby <xerxes@zafena.se>
date Tue, 03 Sep 2013 18:10:04 +0100
parents ec88ef4eca25
children c93101925a2e
files ChangeLog NEWS arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S
diffstat 3 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Sep 03 17:10:47 2013 +0100
+++ b/ChangeLog	Tue Sep 03 18:10:04 2013 +0100
@@ -1,3 +1,13 @@
+2013-05-28  Xerxes RĂ„nby  <xerxes@zafena.se>
+
+	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  <gnu.andrew@redhat.com>
 
 	* Makefile.am:
--- a/NEWS	Tue Sep 03 17:10:47 2013 +0100
+++ 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.11.12 (2013-07-10):
 
--- a/arm_port/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S	Tue Sep 03 17:10:47 2013 +0100
+++ 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