Commit | Line | Data |
---|---|---|
a06ea964 NC |
1 | /* advsimd-abs.s Test file for AArch64 AdvSISD Scalar Misc |
2 | instructions. | |
3 | ||
82704155 | 4 | Copyright (C) 2011-2019 Free Software Foundation, Inc. |
a06ea964 NC |
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 asisd op T | |
24 | \op \T\()0, \T\()31 | |
25 | .endm | |
26 | ||
27 | .text | |
28 | .irp op, abs, neg | |
29 | asisd \op d | |
30 | .endr | |
31 | ||
32 | .irp type, b, h, s, d | |
33 | .irp op, sqabs, sqneg | |
34 | asisd \op \type | |
35 | .endr | |
36 | .endr |