[PATCH] D110312: [X86][ISel] setOperationAction for FROUND(f16) and FROUNDEVEN(f16)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 00:12:07 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/X86/fp-roundeven.ll:45
+; AVX512FP16-NEXT:    vcvtsh2ss %xmm0, %xmm0, %xmm0
+; AVX512FP16-NEXT:    vroundss $8, %xmm0, %xmm0, %xmm0
+; AVX512FP16-NEXT:    vcvtss2sh %xmm0, %xmm0, %xmm0
----------------
Why can’t this just be vrndscalesh?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110312



More information about the llvm-commits mailing list