1 /* crypto.s Test file for AArch64 Advanced-SIMD Crypto instructions.
3 Copyright (C) 2012-2017 Free Software Foundation, Inc. Contributed by ARM Ltd.
5 This file is part of GAS.
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.
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.
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/>. */
24 .arch_extension crypto
30 aesimc v7.16b, v31.16b
34 sha256su0 v7.4s, v31.4s
40 sha1su0 v7.4s, v15.4s, v31.4s
41 sha256h q7, q15, v31.4s
42 sha256h2 q7, q15, v31.4s
43 sha256su1 v7.4s, v15.4s, v31.4s
45 pmull v7.8h, v15.8b, v31.8b
46 pmull v7.1q, v15.1d, v31.1d
47 pmull2 v7.8h, v15.16b, v31.16b
48 pmull2 v7.1q, v15.2d, v31.2d
50 .arch_extension nocrypto