Here add FPU test case and verify FPU register get and set APIs, the
FPU width supports 64/128/256 bits. It is important for VM migration.
Bibo Mao (2):
KVM: LoongArch: selftests: Enable LASX feature by auto detect method
KVM: LoongArch: selftests: Add FPU test case
tools/testing/selftests/kvm/Makefile.kvm | 1 +
.../kvm/include/loongarch/processor.h | 10 ++
.../selftests/kvm/lib/loongarch/processor.c | 12 +-
.../selftests/kvm/loongarch/fpu_test.c | 144 ++++++++++++++++++
4 files changed, 166 insertions(+), 1 deletion(-)
create mode 100644 tools/testing/selftests/kvm/loongarch/fpu_test.c
base-commit: ba3e43a9e601636f5edb54e259a74f96ca3b8fd8
--
2.39.3