]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/aarch64/advsisd-copy.s
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / aarch64 / advsisd-copy.s
1 /* advsisd-copy.s Test file for AArch64 Advanced-SISD copy instructions.
2
3 Copyright (C) 2011-2021 Free Software Foundation, Inc.
4 Contributed by ARM Ltd.
5
6 This file is part of GAS.
7
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the license, or
11 (at your option) any later version.
12
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; see the file COPYING3. If not,
20 see <http://www.gnu.org/licenses/>. */
21
22 .macro element2scalar op, type, index
23 \op \type\()31, V7.\type[\index]
24 .endm
25
26 .macro iterate op, type, from, to
27 element2scalar \op, \type, \from
28 .if \to-\from
29 iterate \op, \type, "(\from+1)", \to
30 .endif
31 .endm
32
33 .text
34 .irp op, dup, mov
35 iterate \op, b, 0, 15
36 iterate \op, h, 0, 7
37 iterate \op, s, 0, 3
38 iterate \op, d, 0, 1
39 .endr