Commit | Line | Data |
---|---|---|
e60bb1dd YZ |
1 | /* crc32.s Test file for AArch64 CRC-32 and CRC-32C checksum instructions. |
2 | ||
4b95cf5c | 3 | Copyright (C) 2013-2014 Free Software Foundation, Inc. |
e60bb1dd YZ |
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 | crc32b w3, w7, w15 | |
25 | crc32h w7, w15, w3 | |
26 | crc32w w15, w3, w7 | |
27 | crc32x w3, w7, x15 | |
28 | crc32cb w3, w7, w15 | |
29 | crc32ch w7, w15, w3 | |
30 | crc32cw w15, w3, w7 | |
31 | crc32cx w3, w7, x15 |