HomePhabricator

[X86] add mayRaiseFPException flag and FPCW registers for X87 instructions

Authored by pengfei on Oct 31 2019, 11:17 PM.

Description

[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