6e34f54d88
this exercises the error reported in https://gitlab.com/qemu-project/qemu/-/issues/652. Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Message-Id: <20230203132132.511254-1-kbastian@mail.uni-paderborn.de> Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
16 lines
461 B
ArmAsm
16 lines
461 B
ArmAsm
#include "macros.h"
|
|
.data
|
|
test_data:
|
|
.word 0xaffedead
|
|
.word 0x001122ff
|
|
.text
|
|
.global _start
|
|
_start:
|
|
# expect. addr reg val after load
|
|
# insn num expect. load value | pattern for loading
|
|
# | | | | |
|
|
TEST_LD (ld.h, 1, 0xffffaffe, MEM_BASE_ADDR, [AREG_ADDR]2)
|
|
TEST_LD_SRO(ld.h, 2, 0x000022ff, MEM_BASE_ADDR, [AREG_ADDR]4)
|
|
|
|
TEST_PASSFAIL
|