binutils-gdb/sim
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
..
aarch64 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
arm sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
avr sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
bfin sim: bfin: move linux-fixed-code.h to top-level 2022-11-05 20:02:15 +07:00
bpf sim: bpf: drop subdir configure logic 2022-11-07 23:25:01 +07:00
common sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
cr16 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
cris sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
d10v sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
erc32 sim: build: respect AM_MAKEFLAGS when entering subdirs 2022-11-06 21:48:42 +07:00
example-synacor sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
frv sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
ft32 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
h8300 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
igen sim: igen: cleanup archaic pointer-to-long printf casts 2022-11-11 22:08:14 +07:00
iq2000 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
lm32 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
m4 sim: restore lstat & mkdir func checks 2022-11-10 00:19:45 +07:00
m32c sim: build: respect AM_MAKEFLAGS when entering subdirs 2022-11-06 21:48:42 +07:00
m32r sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
m68hc11 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
mcore sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
microblaze sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
mips sim: mips: call Unpredictable instead of setting bogus values [PR sim/29276] 2022-11-08 14:55:50 +07:00
mn10300 sim: mn10300: drop subdir configure logic 2022-11-07 23:25:48 +07:00
moxie sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
msp430 sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
or1k sim: or1k: drop subdir configure logic 2022-11-07 23:25:27 +07:00
ppc sim: ppc: rename ppc-instructions to powerpc.igen 2022-11-11 01:38:42 +07:00
pru sim: pru: Fix behaviour when loop count is zero 2022-11-12 15:10:07 +02:00
riscv sim: riscv: add missing AC_MSG_RESULT call 2022-11-07 23:44:36 +07:00
rl78 sim: build: respect AM_MAKEFLAGS when entering subdirs 2022-11-06 21:48:42 +07:00
rx sim: build: respect AM_MAKEFLAGS when entering subdirs 2022-11-06 21:48:42 +07:00
sh sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
testsuite sim: pru: Fix behaviour when loop count is zero 2022-11-12 15:10:07 +02:00
v850 sim: v850: rename v850.dc to align with other ports 2022-11-11 01:42:29 +07:00
.gitignore sim: drop unused gentmap & nltvals.def logic 2021-11-28 13:24:00 -05:00
aclocal.m4 sim: build: switch to bfd & opcodes libtool linker scripts 2022-11-04 07:42:31 +07:00
arch-subdir.mk.in sim: build: move install steps to the top-level 2022-11-05 16:26:08 +07:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
config.h.in sim: restore lstat & mkdir func checks 2022-11-10 00:19:45 +07:00
configure sim: restore lstat & mkdir func checks 2022-11-10 00:19:45 +07:00
configure.ac sim: v850: drop subdir configure logic 2022-11-07 23:26:07 +07:00
COPYING sim: clarify license text via COPYING file 2021-11-06 01:44:06 -04:00
gdbinit.in sim: gdbinit: hoist setup to common code 2022-02-21 13:57:33 -05:00
MAINTAINERS sim: Update mailing list address 2022-09-01 10:15:09 -04:00
Makefile.am sim: build: add a proper var for enabled arches 2022-11-07 21:51:11 +07:00
Makefile.in sim: v850: rename v850.dc to align with other ports 2022-11-11 01:42:29 +07:00
README-HACKING sim: build: move install steps to the top-level 2022-11-05 16:26:08 +07:00