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_GFNI
10	def_bool $(as-instr,vgf2p8mulb %xmm0$(comma)%xmm1$(comma)%xmm2)
11	help
12	  Supported by binutils >= 2.30 and LLVM integrated assembler
13
14config AS_VAES
15	def_bool $(as-instr,vaesenc %ymm0$(comma)%ymm1$(comma)%ymm2)
16	help
17	  Supported by binutils >= 2.30 and LLVM integrated assembler
18
19config AS_VPCLMULQDQ
20	def_bool $(as-instr,vpclmulqdq \$0x10$(comma)%ymm0$(comma)%ymm1$(comma)%ymm2)
21	help
22	  Supported by binutils >= 2.30 and LLVM integrated assembler
23
24config AS_WRUSS
25	def_bool $(as-instr64,wrussq %rax$(comma)(%rbx))
26	help
27	  Supported by binutils >= 2.31 and LLVM integrated assembler
28