xref: /openbmc/qemu/tests/tcg/s390x/lpswe-unaligned.S (revision 51e47cf8)
1/*
2 * Test LPSWE from a non-doubleword aligned address.
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6    .globl test
7test:
8    larl %r1,unaligned
9fail:
10    lpswe 0(%r1)
11
12    .align 8
13    .globl expected_old_psw
14expected_old_psw:
15    .quad 0x180000000,fail
16    .long 0
17unaligned:
18    .quad 0
19