x86/fpu/math-emu: Add support for FCMOVcc insns
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 18 Sep 2015 14:53:30 +0000 (16:53 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 20 Sep 2015 08:19:53 +0000 (10:19 +0200)
commit9a9d8642d03a7512f78cbe7ed6a2011fad3cbca3
treed6d27f303c77fdf8b4b115cc8c0cce2acee8c42d
parentb8e4a910e576961009a87d07f6b7eff67c5c2e34
x86/fpu/math-emu: Add support for FCMOVcc insns

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

  [RUN]   Testing fcmovCC instructions
  [OK]    fcmovCC

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-3-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/math-emu/fpu_aux.c
arch/x86/math-emu/fpu_entry.c
arch/x86/math-emu/fpu_proto.h