x86/fpu/math-emu: Add support for FISTTP instructions
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 18 Sep 2015 18:23:34 +0000 (20:23 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 20 Sep 2015 14:19:02 +0000 (16:19 +0200)
commite4877d64f00964d86a6e4a023011cccc73899018
tree5231427695f9233897edf82abdb69d7b7fd292cd
parenta58e2ecd019d9ffb9f1813faf6151716fdecbae5
x86/fpu/math-emu: Add support for FISTTP instructions

These FPU instructions were added in SSE3-enabled CPUs.

Run-tested by booting with "no387 nofxsr" and running test
program:

[RUN] Testing fisttp instructions
[OK] fisttp

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1442600614-28428-1-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/math-emu/load_store.c