]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/testsuite/gas/aarch64/advsimd-misc.s
Add support for 64-bit ARM architecture: AArch64
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / aarch64 / advsimd-misc.s
1 /* advsimd-abs.s Test file for AArch64 Advanced-SIMD Integer absolute
2 instruction.
3
4 Copyright 2011, 2012 Free Software Foundation, Inc.
5 Contributed by ARM Ltd.
6
7 This file is part of GAS.
8
9 GAS is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the license, or
12 (at your option) any later version.
13
14 GAS is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; see the file COPYING3. If not,
21 see <http://www.gnu.org/licenses/>. */
22
23 .macro asimdabs op, T
24 \op v0.\()\T, v31.\()\T
25 .endm
26
27 .text
28 .irp op, abs, neg, sqabs, sqneg
29 .irp type, 8b, 16b, 4h, 8h, 2s, 4s, 2d
30 asimdabs \op \type
31 .endr
32 .endr