changeset 3023:0ac001e24883

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 09d85ab75305
children 3b654e7cbe51
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	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  <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	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):
 
--- 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