changeset 3747:920cd25ec34c

PR1188: ASM Interpreter and Thumb2 JIT javac miscompile modulo reminder on armel Summary: 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.
author Xerxes Ranby <xerxes@zafena.se>
date Tue, 28 May 2013 19:43:58 +0200
parents ad0849bb122e
children 84b9ad961553
files src/cpu/zero/vm/cppInterpreter_arm.S
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/cppInterpreter_arm.S	Thu Mar 21 11:17:13 2013 -0400
+++ b/src/cpu/zero/vm/cppInterpreter_arm.S	Tue May 28 19:43:58 2013 +0200
@@ -367,7 +367,7 @@
 	flds s1, [stack, #4]
 	add stack, #4
 #else
-	POP r0
+	POP r1
 #endif
 	.endm