[X86] Model MXCSR for MMX FP instructions
authorPengfei Wang <pengfei.wang@intel.com>
Sat, 2 Nov 2019 04:18:09 +0000 (21:18 -0700)
committerPengfei Wang <pengfei.wang@intel.com>
Sat, 2 Nov 2019 04:21:46 +0000 (21:21 -0700)
commit02728f49da7b0284c3b06abade7ad0e17ee8d224
tree43df2b3be817d2857f3a005b768859cc51db4ad9
parentaf3a7de20c3f92f5aee828d03049032200b21f08
[X86] Model MXCSR for MMX FP instructions

Summary:
This patch models MXCSR and adds flag "mayRaiseFPException" for MMX FP
instructions.

Reviewers: craig.topper, andrew.w.kaylor, RKSimon, cameron.mcinally

Reviewed By: craig.topper

Subscribers: hiraditya, llvm-commits, LiuChen3

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69702
llvm/lib/Target/X86/X86InstrMMX.td
llvm/test/CodeGen/X86/mmx-reg-usage.ll [new file with mode: 0644]