Re: [PATCH 17/31] VAX: Actually produce QImode and HImode `ctz' operations

2020-11-20 Thread Jeff Law via Gcc-patches
On 11/19/20 8:35 PM, Maciej W. Rozycki wrote: > The middle end does not refer to `ctzqi2'/`ctzhi2' or `ffsqi2'/`ffshi2' > patterns by name where `__builtin_ctz' or `__builtin_ffs' respectively > is invoked for an argument of the QImode or HImode type, and instead it > extends the data type befor

[PATCH 17/31] VAX: Actually produce QImode and HImode `ctz' operations

2020-11-19 Thread Maciej W. Rozycki
The middle end does not refer to `ctzqi2'/`ctzhi2' or `ffsqi2'/`ffshi2' patterns by name where `__builtin_ctz' or `__builtin_ffs' respectively is invoked for an argument of the QImode or HImode type, and instead it extends the data type before passing it to `ctzsi2' or `ffssi2'. Avoid the redundan