xref: /openbmc/qemu/tests/tcg/s390x/stpq.S (revision 3ee44ec72753ec0ff05ad1569dfa609203d722b2)
1*e11e2fc6SIlya Leoshkevich    .org 0x200                         /* lowcore padding */
2*e11e2fc6SIlya Leoshkevich    .globl _start
3*e11e2fc6SIlya Leoshkevich_start:
4*e11e2fc6SIlya Leoshkevich    lgrl %r0,value
5*e11e2fc6SIlya Leoshkevich    lgrl %r1,value+8
6*e11e2fc6SIlya Leoshkevich    stpq %r0,stored_value
7*e11e2fc6SIlya Leoshkevich    clc stored_value(16),value
8*e11e2fc6SIlya Leoshkevich    jne failure
9*e11e2fc6SIlya Leoshkevich    lpswe success_psw
10*e11e2fc6SIlya Leoshkevichfailure:
11*e11e2fc6SIlya Leoshkevich    lpswe failure_psw
12*e11e2fc6SIlya Leoshkevich    .align 16
13*e11e2fc6SIlya Leoshkevichvalue:
14*e11e2fc6SIlya Leoshkevich    .quad 0x1234567887654321, 0x8765432112345678
15*e11e2fc6SIlya Leoshkevichstored_value:
16*e11e2fc6SIlya Leoshkevich    .quad 0, 0
17*e11e2fc6SIlya Leoshkevichsuccess_psw:
18*e11e2fc6SIlya Leoshkevich    .quad 0x2000000000000,0xfff        /* see is_special_wait_psw() */
19*e11e2fc6SIlya Leoshkevichfailure_psw:
20*e11e2fc6SIlya Leoshkevich    .quad 0x2000000000000,0            /* disabled wait */
21