xref: /linux/tools/testing/selftests/arm64/fp/rdvl.S (revision 4b132aacb0768ac1e652cf517097ea6f237214b9)
1// SPDX-License-Identifier: GPL-2.0-only
2// Copyright (C) 2021 ARM Limited.
3
4#include "sme-inst.h"
5
6.arch_extension sve
7
8.globl rdvl_sve
9rdvl_sve:
10	hint	34			// BTI C
11	rdvl	x0, #1
12	ret
13
14.globl rdvl_sme
15rdvl_sme:
16	hint	34			// BTI C
17
18	rdsvl	0, 1
19
20	ret
21