* gencode.c (build_mips16_operands): Fix base PC value for PC
authorIan Lance Taylor <ian@airs.com>
Mon, 16 Dec 1996 20:01:15 +0000 (20:01 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 16 Dec 1996 20:01:15 +0000 (20:01 +0000)
commitaaff84371eac84395861cac662a5d16eebcb07b9
tree59c6708db779470eab0c2e1da6848bb9b36bef03
parente85f2fbd1522788287510c836cc8e95293cf5188
* gencode.c (build_mips16_operands): Fix base PC value for PC
relative operands.
(build_instruction): Call JALDELAYSLOT rather than DELAYSLOT for a
jal instruction.
* interp.c (simJALDELAYSLOT): Define.
  (JALDELAYSLOT): Define.
(INDELAYSLOT, INJALDELAYSLOT): Define.
(simulate): Clear simJALDELAYSLOT when simDELAYSLOT is cleared.
sim/mips/ChangeLog
sim/mips/gencode.c
sim/mips/interp.c