Linux 6.9-rc1
[linux-2.6-microblaze.git] / arch / x86 / Kconfig.assembler
1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
3
4 config AS_AVX512
5         def_bool $(as-instr,vpmovm2b %k1$(comma)%zmm5)
6         help
7           Supported by binutils >= 2.25 and LLVM integrated assembler
8
9 config 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
14 config AS_SHA256_NI
15         def_bool $(as-instr,sha256msg1 %xmm0$(comma)%xmm1)
16         help
17           Supported by binutils >= 2.24 and LLVM integrated assembler
18 config AS_TPAUSE
19         def_bool $(as-instr,tpause %ecx)
20         help
21           Supported by binutils >= 2.31.1 and LLVM integrated assembler >= V7
22
23 config AS_GFNI
24         def_bool $(as-instr,vgf2p8mulb %xmm0$(comma)%xmm1$(comma)%xmm2)
25         help
26           Supported by binutils >= 2.30 and LLVM integrated assembler
27
28 config AS_WRUSS
29         def_bool $(as-instr,wrussq %rax$(comma)(%rbx))
30         help
31           Supported by binutils >= 2.31 and LLVM integrated assembler