1 /* rdma.s Test file for AArch64 v8.1 Advanced-SIMD instructions.
3 Copyright (C) 2012-2018 Free Software Foundation, Inc. Contributed by ARM Ltd.
5 This file is part of GAS.
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the license, or
10 (at your option) any later version.
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; see the file COPYING3. If not,
19 see <http://www.gnu.org/licenses/>. */
28 \I v0.\()\T, v1.\()\T, v2.\()\T
32 .irp inst, sqrdmlah, sqrdmlsh
33 .irp type, 4h, 8h, 2s, 4s
38 .macro scalar_inst I R
39 \I \R\()0, \R\()1, \R\()2
43 .irp inst, sqrdmlah, sqrdmlsh
45 scalar_inst \inst \reg
49 .macro vect_indexed_inst I S T N
50 \I v0.\S\T, v1.\S\T, v2.\T[\N]
54 .irp inst, sqrdmlah, sqrdmlsh
57 vect_indexed_inst \inst \size h \index
62 vect_indexed_inst \inst \size s \index
67 .macro scalar_indexed_inst I T N
68 \I \T\()0, \T\()1, v2.\T[\N]
72 .irp inst, sqrdmlah, sqrdmlsh
75 scalar_indexed_inst \inst \type \index