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