qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/sh4: add missing CHECK_NOT_DELAY_SLOT


From: Richard Henderson
Subject: Re: [PATCH] target/sh4: add missing CHECK_NOT_DELAY_SLOT
Date: Sun, 7 Apr 2024 09:23:54 -1000
User-agent: Mozilla Thunderbird

On 4/7/24 05:07, Zack Buhman wrote:
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>
---
  target/sh4/translate.c | 3 +++
  1 file changed, 3 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]