xref: /linux/arch/x86/Kconfig.assembler (revision 46916980)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
3
4config AS_AVX512
5	def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
6	help
7	  Supported by binutils >= 2.25 and LLVM integrated assembler
8
9config AS_SHA1_NI
10	def_bool $(as-instr,sha1msg1 %xmm0$(comma)%xmm1)
11	help
12	  Supported by binutils >= 2.24 and LLVM integrated assembler
13
14config AS_SHA256_NI
15	def_bool $(as-instr,sha256msg1 %xmm0$(comma)%xmm1)
16	help
17	  Supported by binutils >= 2.24 and LLVM integrated assembler
18config AS_TPAUSE
19	def_bool $(as-instr,tpause %ecx)
20	help
21	  Supported by binutils >= 2.31.1 and LLVM integrated assembler >= V7
22
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
27
28config 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
38config AS_WRUSS
39	def_bool $(as-instr64,wrussq %rax$(comma)(%rbx))
40	help
41	  Supported by binutils >= 2.31 and LLVM integrated assembler
42