[PATCH] D70875: [X86] Model MXCSR for AVX instructions other than AVX512

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 00:23:55 PST 2019


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrSSE.td:7329
 let Predicates = [HasF16C, NoVLX] in {
-  defm VCVTPH2PS  : f16c_ph2ps<VR128, f64mem, WriteCvtPH2PS>;
-  defm VCVTPH2PSY : f16c_ph2ps<VR256, f128mem, WriteCvtPH2PSY>, VEX_L;
+  defm VCVTPH2PS  : f16c_ph2ps<VR128, f64mem, WriteCvtPH2PS>, SIMD_EXC;
+  defm VCVTPH2PSY : f16c_ph2ps<VR256, f128mem, WriteCvtPH2PSY>, VEX_L, SIMD_EXC;
----------------
LuoYuanke wrote:
> Is there any exception when convert from half to single float?
SNAN input signals an invalid operation exception


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70875/new/

https://reviews.llvm.org/D70875





More information about the llvm-commits mailing list