Add support for 64-bit ARM architecture: AArch64
[deliverable/binutils-gdb.git] / gas / testsuite / gas / aarch64 / crypto.s
1 /* crypto.s Test file for AArch64 Advanced-SIMD Crypto instructions.
2
3 Copyright 2012 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
22 .text
23 aese v7.16b, v31.16b
24 aesd v7.16b, v31.16b
25 aesmc v7.16b, v31.16b
26 aesimc v7.16b, v31.16b
27
28 sha1h s7, s31
29 sha1su1 v7.4s, v31.4s
30 sha256su0 v7.4s, v31.4s
31
32 sha1c q7, s15, v31.4s
33 sha1p q7, s15, v31.4s
34 sha1m q7, s15, v31.4s
35
36 sha1su0 v7.4s, v15.4s, v31.4s
37 sha256h q7, q15, v31.4s
38 sha256h2 q7, q15, v31.4s
39 sha256su1 v7.4s, v15.4s, v31.4s
40
41 pmull v7.8h, v15.8b, v31.8b
42 pmull v7.1q, v15.1d, v31.1d
43 pmull2 v7.8h, v15.16b, v31.16b
44 pmull2 v7.1q, v15.2d, v31.2d
This page took 0.0328 seconds and 4 git commands to generate.