changeset 5046:f541c1d41ba7

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 521adb51d083
children fef21600239c
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	Wed Aug 29 17:23:23 2012 +0100
+++ 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