Re: [PATCH, i386]: Put back __builtin_clzs and __builtin_ctzs

2016-12-14 Thread Uros Bizjak
On Wed, Dec 14, 2016 at 4:39 PM, Uros Bizjak wrote: > On Wed, Dec 14, 2016 at 4:33 PM, Jakub Jelinek wrote: >> On Wed, Dec 14, 2016 at 04:30:39PM +0100, Uros Bizjak wrote: >>> Apparently, Qt source uses these two builtins. As the removal brings >>> much pain, I'd like to commit the following patc

Re: [PATCH, i386]: Put back __builtin_clzs and __builtin_ctzs

2016-12-14 Thread Uros Bizjak
On Wed, Dec 14, 2016 at 4:33 PM, Jakub Jelinek wrote: > On Wed, Dec 14, 2016 at 04:30:39PM +0100, Uros Bizjak wrote: >> Apparently, Qt source uses these two builtins. As the removal brings >> much pain, I'd like to commit the following patch to restore >> __builtin_clzs and __builtin_ctzs on gcc-6

Re: [PATCH, i386]: Put back __builtin_clzs and __builtin_ctzs

2016-12-14 Thread Jakub Jelinek
On Wed, Dec 14, 2016 at 04:30:39PM +0100, Uros Bizjak wrote: > Apparently, Qt source uses these two builtins. As the removal brings > much pain, I'd like to commit the following patch to restore > __builtin_clzs and __builtin_ctzs on gcc-6 branch. > > 2016-12-14 Uros Bizjak > > PR target/5

[PATCH, i386]: Put back __builtin_clzs and __builtin_ctzs

2016-12-14 Thread Uros Bizjak
Apparently, Qt source uses these two builtins. As the removal brings much pain, I'd like to commit the following patch to restore __builtin_clzs and __builtin_ctzs on gcc-6 branch. 2016-12-14 Uros Bizjak PR target/59874 * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_CLZS