junaire added a comment.

> The RFC does not mention this builtin. It specifies 
> `__builtin_elementwise_rint` and `__builtin_elementwise_round`. Is there a 
> reason why this uses `roundeven` instead and should there be other rounding 
> options provided at the same time?

Well, I think there may be a misunderstanding. I referenced: 
https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins
There is this builtin:

  T __builtin_elementwise_roundeven(T x)

But I just found in the 
RFC(https://lists.llvm.org/pipermail/cfe-dev/2021-September/068999.html), we 
have:

  • __builtin_elementwise_rint
  • __builtin_elementwise_round

It looks confusing, I would like to review the RFC again.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115429

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to