xref: /openbmc/linux/arch/x86/Kconfig.assembler (revision e3cf2f87)
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
95e8ebd84SJason A. Donenfeldconfig AS_SHA1_NI
105e8ebd84SJason A. Donenfeld	def_bool $(as-instr,sha1msg1 %xmm0$(comma)%xmm1)
11e9e070cfSMasahiro Yamada	help
12e9e070cfSMasahiro Yamada	  Supported by binutils >= 2.24 and LLVM integrated assembler
135e8ebd84SJason A. Donenfeld
145e8ebd84SJason A. Donenfeldconfig AS_SHA256_NI
155e8ebd84SJason A. Donenfeld	def_bool $(as-instr,sha256msg1 %xmm0$(comma)%xmm1)
16e9e070cfSMasahiro Yamada	help
17e9e070cfSMasahiro Yamada	  Supported by binutils >= 2.24 and LLVM integrated assembler
18cec5f268SKyung Min Parkconfig AS_TPAUSE
19cec5f268SKyung Min Park	def_bool $(as-instr,tpause %ecx)
20cec5f268SKyung Min Park	help
21cec5f268SKyung Min Park	  Supported by binutils >= 2.31.1 and LLVM integrated assembler >= V7
22*e3cf2f87STaehee Yoo
23*e3cf2f87STaehee Yooconfig AS_GFNI
24*e3cf2f87STaehee Yoo	def_bool $(as-instr,vgf2p8mulb %xmm0$(comma)%xmm1$(comma)%xmm2)
25*e3cf2f87STaehee Yoo	help
26*e3cf2f87STaehee Yoo	  Supported by binutils >= 2.30 and LLVM integrated assembler
27