From: Andrew Cagney Date: Fri, 9 May 1997 00:21:13 +0000 (+0000) Subject: Update CIA as well as NIA when a 64bit insn is encountered. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9efd3f74128b8c6179269e366227db74c6b7d504;p=binutils-gdb.git Update CIA as well as NIA when a 64bit insn is encountered. --- diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog index b1f9d09703c..1b1a1678f1e 100644 --- a/sim/tic80/ChangeLog +++ b/sim/tic80/ChangeLog @@ -1,3 +1,8 @@ +Fri May 9 09:55:33 1997 Andrew Cagney + + * alu.h (long_immediate): Adjust the CIA delay-pointer as well as + the NIA when a 64bit insn. + Thu May 8 11:57:47 1997 Michael Meissner * insns (jsr,bsr): For non-allulled calls, set r31 so that the diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h index 1bb4054eed0..4300723322f 100644 --- a/sim/tic80/alu.h +++ b/sim/tic80/alu.h @@ -56,6 +56,7 @@ do { \ #define long_immediate(VARIABLE) \ unsigned_word VARIABLE = MEM (unsigned, nia.ip, 4); \ + cia.dp += sizeof (instruction_word); \ nia.ip += sizeof (instruction_word); \ nia.dp += sizeof (instruction_word);