# HG changeset patch # User Xerxes Ranby # Date 1369763038 -7200 # Node ID 04c3fb903cf39dba3480da331b5b2248c3f6a87e # Parent b965a723122e4729a5a41ffbac8167e070f6cf3e 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. diff -r b965a723122e -r 04c3fb903cf3 src/cpu/zero/vm/cppInterpreter_arm.S --- 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