Re: [PATCH 4/4] xtensa: Add clrsbsi2 insn pattern

2022-06-09 Thread Max Filippov via Gcc-patches
On Sun, May 29, 2022 at 4:00 AM Takayuki 'January June' Suwa wrote: > > > (clrsb:m x) > > Represents the number of redundant leading sign bits in x, represented > > as an integer of mode m, starting at the most significant bit position. > > This explanation is just what the NSA instruction (not

[PATCH 4/4] xtensa: Add clrsbsi2 insn pattern

2022-05-29 Thread Takayuki 'January June' Suwa via Gcc-patches
> (clrsb:m x) > Represents the number of redundant leading sign bits in x, represented > as an integer of mode m, starting at the most significant bit position. This explanation is just what the NSA instruction (not ever emitted before) calculates in Xtensa ISA. gcc/ChangeLog: * config/