[PATCH] D105264: [X86] AVX512FP16 instructions enabling 2/6
    LuoYuanke via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug 12 19:18:29 PDT 2021
    
    
  
LuoYuanke added inline comments.
================
Comment at: clang/lib/Headers/avx512vlfp16intrin.h:368
+_mm256_reduce_add_ph(__m256h __W) {
+  return __builtin_ia32_reduce_fadd_ph256(0.0f16, __W);
+}
----------------
>From https://llvm.org/docs/LangRef.html#llvm-vector-reduce-add-intrinsic, -0.0f16 is better?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105264/new/
https://reviews.llvm.org/D105264
    
    
More information about the llvm-commits
mailing list