xref: /linux/arch/x86/Kconfig.assembler (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
15e8ebd84SJason A. Donenfeld# SPDX-License-Identifier: GPL-2.0
25e8ebd84SJason A. Donenfeld# Copyright (C) 2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
35e8ebd84SJason A. Donenfeld
45e8ebd84SJason A. Donenfeldconfig AS_AVX512
55e8ebd84SJason A. Donenfeld	def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
6e9e070cfSMasahiro Yamada	help
7e9e070cfSMasahiro Yamada	  Supported by binutils >= 2.25 and LLVM integrated assembler
85e8ebd84SJason A. Donenfeld
9e3cf2f87STaehee Yooconfig AS_GFNI
10e3cf2f87STaehee Yoo	def_bool $(as-instr,vgf2p8mulb %xmm0$(comma)%xmm1$(comma)%xmm2)
11e3cf2f87STaehee Yoo	help
12e3cf2f87STaehee Yoo	  Supported by binutils >= 2.30 and LLVM integrated assembler
1318e66b69SRick Edgecombe
147d4700d1SEric Biggersconfig AS_VAES
157d4700d1SEric Biggers	def_bool $(as-instr,vaesenc %ymm0$(comma)%ymm1$(comma)%ymm2)
167d4700d1SEric Biggers	help
177d4700d1SEric Biggers	  Supported by binutils >= 2.30 and LLVM integrated assembler
187d4700d1SEric Biggers
197d4700d1SEric Biggersconfig AS_VPCLMULQDQ
207d4700d1SEric Biggers	def_bool $(as-instr,vpclmulqdq \$0x10$(comma)%ymm0$(comma)%ymm1$(comma)%ymm2)
217d4700d1SEric Biggers	help
227d4700d1SEric Biggers	  Supported by binutils >= 2.30 and LLVM integrated assembler
237d4700d1SEric Biggers
2418e66b69SRick Edgecombeconfig AS_WRUSS
25*46916980SMasahiro Yamada	def_bool $(as-instr64,wrussq %rax$(comma)(%rbx))
2618e66b69SRick Edgecombe	help
2718e66b69SRick Edgecombe	  Supported by binutils >= 2.31 and LLVM integrated assembler
28