]>
Commit | Line | Data |
---|---|---|
f3f6c0df VDN |
1 | /* lse128-atomic.s Test file For AArch64 LSE128 atomic instructions |
2 | encoding. | |
3 | ||
fd67aa11 | 4 | Copyright (C) 2014-2024 Free Software Foundation, Inc. |
f3f6c0df VDN |
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 format_0 op | |
24 | .irp suffix, , a, al, l | |
25 | \op\suffix x0, x1, [x2] | |
26 | \op\suffix x2, x3, [sp] | |
27 | .endr | |
28 | .endm | |
29 | ||
30 | func: | |
31 | format_0 ldclrp | |
32 | format_0 ldsetp | |
33 | format_0 swpp |