xref: /openbmc/linux/arch/x86/Kconfig.assembler (revision 09e61efd)
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