On 7/29/21 8:52 AM, Peter Maydell wrote:
> On Thu, 29 Jul 2021 at 02:01, Richard Henderson
> wrote:
>>
>> Cc: Yoshinori Sato
>> Signed-off-by: Richard Henderson
>> ---
>> linux-user/sh4/cpu_loop.c | 8
>> target/sh4/cpu.c | 2 +-
>> target/sh4/op_helper.c| 3 ---
>> 3
On 7/29/21 3:52 AM, Peter Maydell wrote:
sh4 kernel default for unaligned accesses seems to be "warn and fixup",
not SIGBUS, unless the user changes that by writing to /proc/cpu/alignment
or the process changes it via prctl().
We will still need this for load-locked/store-conditional
On Thu, 29 Jul 2021 at 02:01, Richard Henderson
wrote:
>
> Cc: Yoshinori Sato
> Signed-off-by: Richard Henderson
> ---
> linux-user/sh4/cpu_loop.c | 8
> target/sh4/cpu.c | 2 +-
> target/sh4/op_helper.c| 3 ---
> 3 files changed, 9 insertions(+), 4 deletions(-)
>
> diff
Cc: Yoshinori Sato
Signed-off-by: Richard Henderson
---
linux-user/sh4/cpu_loop.c | 8
target/sh4/cpu.c | 2 +-
target/sh4/op_helper.c| 3 ---
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/linux-user/sh4/cpu_loop.c b/linux-user/sh4/cpu_loop.c
index