x86/math-emu, selftests: Add test for FISTTP insns
PATCH 1/1 x86/math-emu, selftests: Add test for FISTTP insns
$ ./test_FISTTP_32 [RUN] Testing fisttp instructions [OK] fisttp
Signed-off-by Denys Vlasenko <[email protected]>
CC Ingo Molnar <[email protected]>
CC Borislav Petkov <[email protected]>
CC "H. Peter Anvin" <[email protected]>
CC Andy Lutomirski <[email protected]>
CC Kees Cook <[email protected]>
--- tools/testing/selftests/x86/Makefile | 2 +- tools/testing/selftests/x86/test_FISTTP.c | 137 ++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/x86/test_FISTTP.c
tools/testing/selftests/x86/Makefile +1 -1
@@ -6,7 +6,7 @@ include ../lib.mk TARGETS_C_BOTHBITS := single_step_syscall sysret_ss_attrs ldt_gdt syscall_nt TARGETS_C_32BIT_ONLY := entry_from_vm86 syscall_arg_fault sigreturn test_syscall_vdso \ - test_FCMOV test_FCOMI + test_FCMOV test_FCOMI test_FISTTP TARGETS_C_32BIT_ALL := $(TARGETS_C_BOTHBITS) $(TARGETS_C_32BIT_ONLY) BINARIES_32 := $(TARGETS_C_32BIT_ALL:%=%_32)
tools/testing/selftests/x86/test_FISTTP.c new file +137 -0
137 lines not on this page · raw message
Signature · 1 line
1.8.1.4
tip-bot for Denys Vlasenko
merge bot[tip:x86/fpu] x86/fpu/math-emu, selftests: Add test for FISTTP instructions
x86/fpu/math-emu, selftests: Add test for FISTTP instructions
Commit-ID: a58e2ecd019d9ffb9f1813faf6151716fdecbae5 Gitweb: http://git.kernel.org/tip/a58e2ecd019d9ffb9f1813faf6151716fdecbae5 Author: Denys Vlasenko <[email protected]> AuthorDate: Sun, 20 Sep 2015 16:03:10 +0200 Committer: Ingo Molnar <[email protected]> CommitDate: Sun, 20 Sep 2015 16:19:01 +0200
x86/fpu/math-emu, selftests: Add test for FISTTP instructions
$ ./test_FISTTP_32 [RUN] Testing fisttp instructions [OK] fisttp
Signed-off-by Denys Vlasenko <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Brian Gerst <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Kees Cook <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Shuah Khan <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- tools/testing/selftests/x86/Makefile | 2 +- tools/testing/selftests/x86/test_FISTTP.c | 137 ++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+), 1 deletion(-)
tools/testing/selftests/x86/Makefile +1 -1
@@ -6,7 +6,7 @@ include ../lib.mk TARGETS_C_BOTHBITS := single_step_syscall sysret_ss_attrs ldt_gdt syscall_nt TARGETS_C_32BIT_ONLY := entry_from_vm86 syscall_arg_fault sigreturn \ - test_FCMOV test_FCOMI + test_FCMOV test_FCOMI test_FISTTP TARGETS_C_32BIT_ALL := $(TARGETS_C_BOTHBITS) $(TARGETS_C_32BIT_ONLY) BINARIES_32 := $(TARGETS_C_32BIT_ALL:%=%_32)
tools/testing/selftests/x86/test_FISTTP.c new file +137 -0
137 lines not on this page · raw message