x86/fpu/math-emu: Add support for F[U]COMI[P] insns
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 18 Sep 2015 14:53:29 +0000 (16:53 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 20 Sep 2015 08:19:53 +0000 (10:19 +0200)
commitb8e4a910e576961009a87d07f6b7eff67c5c2e34
tree0229856273cd9a260b6908a7a6747b0e2f0dd2e7
parent4aef363e48177d451b4d263c69dd2c86437e988b
x86/fpu/math-emu: Add support for F[U]COMI[P] insns

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

  [RUN]   Testing f[u]comi[p] instructions

  [OK]    f[u]comi[p]

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: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Link: http://lkml.kernel.org/r/1442588010-20055-2-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/math-emu/fpu_entry.c
arch/x86/math-emu/fpu_proto.h
arch/x86/math-emu/reg_compare.c