1 /* ldst-exclusive.s Test file for AArch64 load-store exclusive
4 Copyright (C) 2011-2016 Free Software Foundation, Inc.
5 Contributed by ARM Ltd.
7 This file is part of GAS.
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.
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.
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/>. */
24 /* <mnemonic> <Wt>, [<Xn|SP>]{,#0}] */
31 /* <mnemonic> <Xt>, [<Xn|SP>]{,#0}] */
38 /* <mnemonic> <Ws>, <Wt>, [<Xn|SP>]{,#0}] */
45 /* <mnemonic> <Ws>, <Xt>, [<Xn|SP>]{,#0}] */
52 /* <mnemonic> <Wt1>, <Wt2>, [<Xn|SP>]{,#0}] */
59 /* <mnemonic> <Xt1>, <Xt2>, [<Xn|SP>]{,#0}] */
66 /* <mnemonic> <Ws>, <Wt1>, <Wt2>, [<Xn|SP>]{,#0}] */
69 \op w15, w1, w2, [x7, #0]
70 \op w15, w1, w2, [x7, 0]
73 /* <mnemonic> <Ws>, <Xt1>, <Xt2>, [<Xn|SP>]{,#0}] */
76 \op w15, x1, x2, [x7, #0]
77 \op w15, x1, x2, [x7, 0]
80 /* <mnemonic> <Wt>, [<Xn|SP>]{,#0}] */
87 /* <mnemonic> <Xt>, [<Xn|SP>]{,#0}] */
95 .irp op, stxrb, stxrh, stxr
101 .irp op, ldxrb, ldxrh, ldxr
112 .irp op, stlxrb, stlxrh, stlxr
118 .irp op, ldaxrb, ldaxrh, ldaxr
129 .irp op, stlrb, stlrh, stlr
135 .irp op, ldarb, ldarh, ldar