qiucf added a comment.

Is there any motivation to add these builtins? I don't see them implemented in 
GCC. Besides, in Clang I think a prefix `__builtin` is preferred for them.



================
Comment at: clang/include/clang/Basic/BuiltinsPPC.def:28
 
+BUILTIN(__popcntb, "ULiULi", "")
+BUILTIN(__eieio, "v", "")
----------------
On PPC we have `__builtin_popcount`, but I only saw `popcntw` and `popcntd` 
generated. (I didn't verify it carefully)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102443

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

Reply via email to