$NetBSD: patch-ag,v 1.3 2014/12/08 20:55:19 ryoon Exp $ enable all CPSR->SPSR copy values, instead of hard coding 3 out of 15. --- src/cpus/cpu_arm_instr.cc.orig 2014-08-17 08:45:15.000000000 +0000 +++ src/cpus/cpu_arm_instr.cc @@ -2670,6 +2670,7 @@ X(to_be_translated) ic->f = cond_instr(bx); } ic->arg[0] = (size_t)(&cpu->cd.arm.r[rm]); + ic->arg[2] = (addr & 0xffc) + 4; break; } if ((iword & 0x0fb00ff0) == 0x1000090) {