Update CIA as well as NIA when a 64bit insn is encountered.
authorAndrew Cagney <cagney@redhat.com>
Fri, 9 May 1997 00:21:13 +0000 (00:21 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 9 May 1997 00:21:13 +0000 (00:21 +0000)
sim/tic80/ChangeLog
sim/tic80/alu.h

index b1f9d09703c16d8addc210b09285ecec7b50b946..1b1a1678f1e93dd58de8704962f1bfd36fa19193 100644 (file)
@@ -1,3 +1,8 @@
+Fri May  9 09:55:33 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * 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  <meissner@cygnus.com>
 
        * insns (jsr,bsr): For non-allulled calls, set r31 so that the
index 1bb4054eed08ce4cc7eab1746b2c801ed76a6562..4300723322fa443a35ccef95d6316bc761013fb3 100644 (file)
@@ -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);