Re: [PATCH] Adding RBIT gcc builtin for ARM

2019-06-20 Thread Wilco Dijkstra
Hi Ayan, Have you seen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50481? Adding support for a generic bitreverse builtin would be very useful since LLVM already supports this. Wilco

Re: [PATCH] Adding RBIT gcc builtin for ARM

2019-06-20 Thread Kyrill Tkachov
Hi Ayan, On 6/20/19 4:40 AM, Ayan Shafqat wrote: The attached patch contains __builtin_arm_rbit which generates RBIT instruction for ARM targets. Please let me know if you any questions or comments, or commit this patch for me as I do not have write access to SVN. Thanks for the patch. Befor