xref: /linux-6.15/arch/x86/Kconfig.assembler (revision e9e070cf)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2020 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
3
4config AS_AVX2
5	def_bool $(as-instr,vpbroadcastb %xmm0$(comma)%ymm1)
6	help
7	  Supported by binutils >= 2.22 and LLVM integrated assembler
8
9config AS_AVX512
10	def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
11	help
12	  Supported by binutils >= 2.25 and LLVM integrated assembler
13
14config AS_SHA1_NI
15	def_bool $(as-instr,sha1msg1 %xmm0$(comma)%xmm1)
16	help
17	  Supported by binutils >= 2.24 and LLVM integrated assembler
18
19config AS_SHA256_NI
20	def_bool $(as-instr,sha256msg1 %xmm0$(comma)%xmm1)
21	help
22	  Supported by binutils >= 2.24 and LLVM integrated assembler
23
24config AS_ADX
25	def_bool $(as-instr,adox %eax$(comma)%eax)
26	help
27	  Supported by binutils >= 2.23 and LLVM integrated assembler
28