162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci# Copyright (C) 2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciconfig AS_AVX512
562306a36Sopenharmony_ci	def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
662306a36Sopenharmony_ci	help
762306a36Sopenharmony_ci	  Supported by binutils >= 2.25 and LLVM integrated assembler
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig AS_SHA1_NI
1062306a36Sopenharmony_ci	def_bool $(as-instr,sha1msg1 %xmm0$(comma)%xmm1)
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Supported by binutils >= 2.24 and LLVM integrated assembler
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig AS_SHA256_NI
1562306a36Sopenharmony_ci	def_bool $(as-instr,sha256msg1 %xmm0$(comma)%xmm1)
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Supported by binutils >= 2.24 and LLVM integrated assembler
1862306a36Sopenharmony_ciconfig AS_TPAUSE
1962306a36Sopenharmony_ci	def_bool $(as-instr,tpause %ecx)
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Supported by binutils >= 2.31.1 and LLVM integrated assembler >= V7
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig AS_GFNI
2462306a36Sopenharmony_ci	def_bool $(as-instr,vgf2p8mulb %xmm0$(comma)%xmm1$(comma)%xmm2)
2562306a36Sopenharmony_ci	help
2662306a36Sopenharmony_ci	  Supported by binutils >= 2.30 and LLVM integrated assembler
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig AS_WRUSS
2962306a36Sopenharmony_ci	def_bool $(as-instr,wrussq %rax$(comma)(%rbx))
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  Supported by binutils >= 2.31 and LLVM integrated assembler
32