Update year range in copyright notice of all files.
[external/binutils.git] / gas / testsuite / gas / aarch64 / crc32.s
1 /* crc32.s Test file for AArch64 CRC-32 and CRC-32C checksum instructions.
2
3    Copyright (C) 2013-2017 Free Software Foundation, Inc.
4    Contributed by ARM Ltd.
5
6    This file is part of GAS.
7
8    GAS is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3 of the license, or
11    (at your option) any later version.
12
13    GAS is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with this program; see the file COPYING3. If not,
20    see <http://www.gnu.org/licenses/>.  */
21
22
23         .text
24         .ifdef DIRECTIVE
25         .arch_extension crc
26         .endif
27
28         crc32b  w3, w7, w15
29         crc32h  w7, w15, w3
30         crc32w  w15, w3, w7
31         crc32x  w3, w7, x15
32         crc32cb w3, w7, w15
33         crc32ch w7, w15, w3
34         crc32cw w15, w3, w7
35         crc32cx w3, w7, x15
36
37         .arch_extension nocrc