18 lines
291 B
ArmAsm
18 lines
291 B
ArmAsm
|
/*
|
||
|
* Test EXECUTing a non-mapped odd address.
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
*/
|
||
|
.globl test
|
||
|
test:
|
||
|
lgrl %r1,odd_addr
|
||
|
fail:
|
||
|
ex 0,0(%r1)
|
||
|
|
||
|
.align 8
|
||
|
odd_addr:
|
||
|
.quad 0xDDDDDDDDDDDDDDDD
|
||
|
.globl expected_old_psw
|
||
|
expected_old_psw:
|
||
|
.quad 0x180000000,fail
|