[X86] Add strict fp support for operations of X87 instructions
authorCraig Topper <craig.topper@intel.com>
Tue, 26 Nov 2019 18:59:18 +0000 (10:59 -0800)
committerCraig Topper <craig.topper@intel.com>
Tue, 26 Nov 2019 18:59:41 +0000 (10:59 -0800)
commitcfce8f2cfba42edd3eb49e6b6484d60fb6aeeb43
treef4b1129f70f829c0613d00756adb84a022a58088
parentb8cb73dd38664b6e4ff6bbb0a4143c6e209038f0
[X86] Add strict fp support for operations of X87 instructions

This is the following patch of D68854.

This patch adds basic operations of X87 instructions, including +, -, *, / , fp extensions and fp truncations.

Patch by Chen Liu(LiuChen3)

Differential Revision: https://reviews.llvm.org/D68857
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86InstrFPStack.td
llvm/test/CodeGen/X86/fp-strict-scalar.ll
llvm/test/CodeGen/X86/fp80-strict-scalar.ll