cpu_mf-insn.h 478 B

12345678910111213141516171819202122
  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 <[email protected]>
  7. */
  8. #ifndef _ASM_S390_CPU_MF_INSN_H
  9. #define _ASM_S390_CPU_MF_INSN_H
  10. #ifdef __ASSEMBLY__
  11. /* Macro to generate the STCCTM instruction with a customized
  12. * M3 field designating the counter set.
  13. */
  14. .macro STCCTM r1 m3 db2
  15. .insn rsy,0xeb0000000017,\r1,\m3 & 0xf,\db2
  16. .endm
  17. #endif /* __ASSEMBLY__ */
  18. #endif