aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/s390x/lpswe-unaligned.S
blob: 989f249a6adad01835183d54a52529d7e2b04425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Test LPSWE from a non-doubleword aligned address.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */
    .globl test
test:
    larl %r1,unaligned
fail:
    lpswe 0(%r1)

    .align 8
    .globl expected_old_psw
expected_old_psw:
    .quad 0x180000000,fail
    .long 0
unaligned:
    .quad 0