ca3b04f735b7aa05dc07b161fb4d31bf0622e4a3
[external/binutils.git] / gas / testsuite / gas / aarch64 / lor.s
1 /* lor.s Test file for AArch64 LOR extension instructions.
2
3    Copyright (C) 2015-2016 Free Software Foundation, Inc.  Contributed by ARM Ltd.
4
5    This file is part of GAS.
6
7    GAS is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 3 of the license, or
10    (at your option) any later version.
11
12    GAS is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program; see the file COPYING3. If not,
19    see <http://www.gnu.org/licenses/>.  */
20
21         .text
22         .ifdef DIRECTIVE
23         .arch_extension lor
24         .endif
25
26         stllr w0, [x0]
27         stllr x0, [x0]
28         
29         stllr w1, [x0]
30         stllr x2, [x1]
31         stllrh w3, [x2]
32         stllrb w4, [x3]
33         stllrb w5, [sp]
34         
35         ldlar w0, [x0]
36         ldlar x0, [x0]
37
38         ldlar w1, [x0]
39         ldlar x2, [x1]
40         ldlarb w3, [x2]
41         ldlarh w4, [x3]
42         ldlar w5, [sp]  
43