xref: /linux/arch/s390/include/asm/cpu_mf-insn.h (revision 48dea9a700c8728cc31a1dd44588b97578de86ee)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for CPU-MF instructions
4  *
5  * Copyright IBM Corp. 2019
6  * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
7  */
8 #ifndef _ASM_S390_CPU_MF_INSN_H
9 #define _ASM_S390_CPU_MF_INSN_H
10 
11 #ifdef __ASSEMBLY__
12 
13 /* Macro to generate the STCCTM instruction with a customized
14  * M3 field designating the counter set.
15  */
16 .macro	STCCTM	r1 m3 db2
17 	.insn	rsy,0xeb0000000017,\r1,\m3 & 0xf,\db2
18 .endm
19 
20 #endif /* __ASSEMBLY__ */
21 
22 #endif
23