binutils-gdb/sim/pru
Dimitar Dimitrov 7bee555bb7 sim: pru: Fix behaviour when loop count is zero
If the counter for LOOP instruction is provided by a register with
value zero, then the instruction must cause a PC jump directly to the
loop end.  But in that particular case simulator must not initialize
its internal loop variables, because loop body will not be executed.
Instead, simulator must obtain the loop's end address directly from
the LOOP instruction.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2022-11-12 15:10:07 +02:00
..
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
interp.c sim: common: change sim_{fetch,store}_register helpers to use void* buffers 2022-11-02 20:31:10 +05:45
local.mk sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
Makefile.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
pru.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
pru.isa sim: pru: Fix behaviour when loop count is zero 2022-11-12 15:10:07 +02:00
sim-main.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00