xref: /linux/tools/testing/selftests/arm64/fp/rdvl.S (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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