summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/arm64/fp/rdvl.S
blob: 20dc29996dc69e962e6f1fde7b4098eeb94ccce3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: GPL-2.0-only
// Copyright (C) 2021 ARM Limited.

#include "sme-inst.h"

.arch_extension sve

.globl rdvl_sve
rdvl_sve:
	hint	34			// BTI C
	rdvl	x0, #1
	ret

.globl rdvl_sme
rdvl_sme:
	hint	34			// BTI C

	rdsvl	0, 1

	ret