]> www.infradead.org Git - nvme.git/commit
s390/fpu: provide and use ld and std inline assemblies
authorHeiko Carstens <hca@linux.ibm.com>
Sat, 3 Feb 2024 10:45:05 +0000 (11:45 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 16 Feb 2024 13:30:14 +0000 (14:30 +0100)
commit88d8136a0896e32fc39f90788eaa5c7bdccc9fb0
treef924af0bc42c320ea1e6734e5c58a44a38af20b6
parent13a8a519cacf04e970907687dcb1e85c03073ba8
s390/fpu: provide and use ld and std inline assemblies

Deduplicate the 64 ld and std inline assemblies. Provide an fpu inline
assembly for both instructions, and use them in the new save_fp_regs()
and load_fp_regs() helper functions.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/fpu-insn.h
arch/s390/include/asm/fpu.h
arch/s390/kernel/fpu.c