1 /* alias.s Test file for AArch64 instructions aliases or disassembly
2 preference. It is also used to test the -Mno-aliases option in
5 Copyright (C) 2012-2014 Free Software Foundation, Inc.
6 Contributed by ARM Ltd.
8 This file is part of GAS.
10 GAS is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the license, or
13 (at your option) any later version.
15 GAS is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; see the file COPYING3. If not,
22 see <http://www.gnu.org/licenses/>. */
39 smaddl x0, w1, w2, xzr
42 smsubl x0, w1, w2, xzr
45 umaddl x0, w1, w2, xzr
48 umsubl x0, w1, w2, xzr
54 csinc w0, wzr, wzr, lo
59 csinv x0, xzr, xzr, mi
61 csneg x0, xzr, x30, lt
62 csneg x0, x30, x30, lt
68 ands wzr, w1, w2, ror #31
75 orn wzr, w1, w2, asr #15
76 orn w0, wzr, w2, asr #15
80 orr v0.8b, v1.8b, v2.8b
81 orr v0.8b, v1.8b, v1.8b
87 bic x1, x1, #(1<<30)-1
104 \s\()xtl v8.8h, v2.8b
105 \s\()shll v8.8h, v2.8b, #0
106 \s\()xtl2 v8.8h, v2.16b
107 \s\()shll2 v8.8h, v2.16b, #0
108 \s\()xtl v8.4s, v2.4h
109 \s\()shll v8.4s, v2.4h, #0
110 \s\()xtl2 v8.4s, v2.8h
111 \s\()shll2 v8.4s, v2.8h, #0
112 \s\()xtl v8.2d, v2.2s
113 \s\()shll v8.2d, v2.2s, #0
114 \s\()xtl2 v8.2d, v2.4s
115 \s\()shll2 v8.2d, v2.4s, #0
123 csinc w0, wzr, wzr, nv
124 csinc w0, wzr, wzr, al
127 csinv w0, wzr, wzr, nv
128 csinv w0, wzr, wzr, al