Revision 0764b8a8e37a490cb01550d2b2c3cb45e073fc39 authored by Zack Buhman on 07 April 2024, 15:07:05 UTC, committed by Michael Tokarev on 10 April 2024, 17:32:12 UTC
CHECK_NOT_DELAY_SLOT is correctly applied to the branch-related
instructions, but not to the PC-relative mov* instructions.

I verified the existence of an illegal slot exception on a SH7091 when
any of these instructions are attempted inside a delay slot.

This also matches the behavior described in the SH-4 ISA manual.

Signed-off-by: Zack Buhman <zack@buhman.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240407150705.5965-1-zack@buhman.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewd-by: Yoshinori Sato <ysato@users.sourceforge.jp>
(cherry picked from commit b754cb2dcde26a7bc8a9d17bb6900a0ac0dd38e2)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 parent 7335117
History
File Mode Size
arm
freebsd
host
i386
include
netbsd
openbsd
x86_64
bsd-file.h -rw-r--r-- 20.6 KB
bsd-mem.c -rw-r--r-- 3.7 KB
bsd-mem.h -rw-r--r-- 12.2 KB
bsd-proc.c -rw-r--r-- 4.2 KB
bsd-proc.h -rw-r--r-- 9.5 KB
bsdload.c -rw-r--r-- 5.3 KB
elfcore.c -rw-r--r-- 205 bytes
elfload.c -rw-r--r-- 23.9 KB
errno_defs.h -rw-r--r-- 9.5 KB
main.c -rw-r--r-- 17.4 KB
meson.build -rw-r--r-- 594 bytes
mmap.c -rw-r--r-- 23.0 KB
qemu-bsd.h -rw-r--r-- 1.9 KB
qemu.h -rw-r--r-- 18.6 KB
signal-common.h -rw-r--r-- 3.3 KB
signal.c -rw-r--r-- 31.6 KB
strace.c -rw-r--r-- 9.2 KB
syscall_defs.h -rw-r--r-- 18.8 KB
trace-events -rw-r--r-- 713 bytes
trace.h -rw-r--r-- 34 bytes
uaccess.c -rw-r--r-- 1.7 KB

back to top