[PATCH] D68121: [X86] Model MXCSR for all SSE instructions
Pengfei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 23:41:21 PDT 2019
pengfei created this revision.
pengfei added reviewers: craig.topper, RKSimon, andrew.w.kaylor, uweigand, kpn.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
This patch adds MXCSR as a reserved physical register and models its use
by X86 SSE instructions. It also adds flag "mayRaiseFPException" for the
instructions that possibly can raise FP exception according to the
architecture definition.
Following what SystemZ and other targets does, only the current rounding
modes and the IEEE exception masks are modeled. *Changes* of the MXCSR
due to exceptions are not modeled.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D68121
Files:
llvm/lib/Target/X86/X86InstrFormats.td
llvm/lib/Target/X86/X86InstrSSE.td
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/lib/Target/X86/X86RegisterInfo.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68121.222085.patch
Type: text/x-patch
Size: 31828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/b3b2029e/attachment.bin>
More information about the llvm-commits
mailing list