changeset 2996:04c3fb903cf3

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 b965a723122e
children 8ffc52aa2e4d
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 22 16:25: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