mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
target/s390x: Handle LLGFRL from non-aligned addresses
Use MO_ALIGN and let do_unaligned_access() generate a specification exception. Reported-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Suggested-by: Nina Schoetterl-Glausch <nsg@linux.ibm.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230316164428.275147-6-iii@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
e6d70c82ff
commit
4942e4cc90
2 changed files with 5 additions and 4 deletions
|
@ -2777,7 +2777,8 @@ static DisasJumpType op_ld32s(DisasContext *s, DisasOps *o)
|
|||
|
||||
static DisasJumpType op_ld32u(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
tcg_gen_qemu_ld32u(o->out, o->in2, get_mem_index(s));
|
||||
tcg_gen_qemu_ld_tl(o->out, o->in2, get_mem_index(s),
|
||||
MO_TEUL | s->insn->data);
|
||||
return DISAS_NEXT;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue