[X86] add mayRaiseFPException flag and FPCW registers for X87 instructions
authorPengfei Wang <pengfei.wang@intel.com>
Fri, 1 Nov 2019 06:17:07 +0000 (23:17 -0700)
committerPengfei Wang <pengfei.wang@intel.com>
Sat, 2 Nov 2019 04:12:43 +0000 (21:12 -0700)
commitaf3a7de20c3f92f5aee828d03049032200b21f08
tree60d3123b48faa8deb7427ce170923d65b4658438
parentcc9e963d65944e4b3d2ebee5131790f1321ae028
[X86] add mayRaiseFPException flag and FPCW registers for X87  instructions

Summary:
This patch adds flag "mayRaiseFPException"  , FPCW and FPSW for X87 instructions which could raise
float exception.

Reviewers: pengfei, RKSimon, andrew.w.kaylor, uweigand, kpn, spatel, cameron.mcinally, craig.topper

Reviewed By: craig.topper

Subscribers: thakis, hiraditya, llvm-commits

Patch by LiuChen.

Differential Revision: https://reviews.llvm.org/D68854
clang/test/CodeGen/ms-inline-asm.c
llvm/lib/Target/X86/X86InstrFPStack.td
llvm/lib/Target/X86/X86InstrFormats.td
llvm/test/CodeGen/X86/x87-reg-usage.mir [new file with mode: 0644]