blob: 6d20a6ce0507d0e2e49c48c45b0003092c8e1d75 [file] [log] [blame]
Jason A. Donenfeld5e8ebd82020-03-26 17:00:58 +09001# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
3
Jason A. Donenfeld5e8ebd82020-03-26 17:00:58 +09004config AS_AVX512
5 def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
Masahiro Yamadae9e070c2020-03-26 17:00:59 +09006 help
7 Supported by binutils >= 2.25 and LLVM integrated assembler
Jason A. Donenfeld5e8ebd82020-03-26 17:00:58 +09008
9config AS_SHA1_NI
10 def_bool $(as-instr,sha1msg1 %xmm0$(comma)%xmm1)
Masahiro Yamadae9e070c2020-03-26 17:00:59 +090011 help
12 Supported by binutils >= 2.24 and LLVM integrated assembler
Jason A. Donenfeld5e8ebd82020-03-26 17:00:58 +090013
14config AS_SHA256_NI
15 def_bool $(as-instr,sha256msg1 %xmm0$(comma)%xmm1)
Masahiro Yamadae9e070c2020-03-26 17:00:59 +090016 help
17 Supported by binutils >= 2.24 and LLVM integrated assembler
Kyung Min Parkcec5f262020-04-24 12:37:56 -070018config AS_TPAUSE
19 def_bool $(as-instr,tpause %ecx)
20 help
21 Supported by binutils >= 2.31.1 and LLVM integrated assembler >= V7
Taehee Yooe3cf2f82023-01-15 12:15:34 +000022
23config AS_GFNI
24 def_bool $(as-instr,vgf2p8mulb %xmm0$(comma)%xmm1$(comma)%xmm2)
25 help
26 Supported by binutils >= 2.30 and LLVM integrated assembler
Rick Edgecombe18e66b62023-06-12 17:10:32 -070027
Eric Biggers7d4700d2024-03-29 01:03:49 -070028config AS_VAES
29 def_bool $(as-instr,vaesenc %ymm0$(comma)%ymm1$(comma)%ymm2)
30 help
31 Supported by binutils >= 2.30 and LLVM integrated assembler
32
33config AS_VPCLMULQDQ
34 def_bool $(as-instr,vpclmulqdq \$0x10$(comma)%ymm0$(comma)%ymm1$(comma)%ymm2)
35 help
36 Supported by binutils >= 2.30 and LLVM integrated assembler
37
Rick Edgecombe18e66b62023-06-12 17:10:32 -070038config AS_WRUSS
Masahiro Yamada46916982024-06-12 14:02:55 +090039 def_bool $(as-instr64,wrussq %rax$(comma)(%rbx))
Rick Edgecombe18e66b62023-06-12 17:10:32 -070040 help
41 Supported by binutils >= 2.31 and LLVM integrated assembler