[PATCH] D140992: clang: Add __builtin_elementwise_fma

Simon Pilgrim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 07:28:24 PST 2023


RKSimon added inline comments.


================
Comment at: clang/docs/LanguageExtensions.rst:634
                                              the most negative integer remains the most negative integer
+ T __builtin_elementwise_fma(T x, T y, T z)  fused multiply add.                                              floating point types
  T __builtin_elementwise_ceil(T x)           return the smallest integral value greater than or equal to x    floating point types
----------------
(trivial) improve the operation description to make it clear the fma order - I guess most devs will assume "(x*y)+z" but it'd be good to be explicit here


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

https://reviews.llvm.org/D140992



More information about the cfe-commits mailing list