Re: [xstormy16] Add extendhisi2 and zero_extendhisi2 patterns to stormy16.md

2023-04-24 Thread Jeff Law via Gcc-patches
On 4/23/23 04:38, Roger Sayle wrote: On 4/33/23, Jeff Law wrote: On 4/22/23 14:57, Roger Sayle wrote: Whilst there, I also fixed the instruction lengths and formatting of the zero_extendqihi2 pattern. Then, mostly for documentation purposes as the 'T' constraint isn't yet implemented, I've

RE: [xstormy16] Add extendhisi2 and zero_extendhisi2 patterns to stormy16.md

2023-04-23 Thread Roger Sayle
On 4/33/23, Jeff Law wrote: > On 4/22/23 14:57, Roger Sayle wrote: > > Whilst there, I also fixed the instruction lengths and formatting of > > the zero_extendqihi2 pattern. Then, mostly for documentation purposes > > as the 'T' constraint isn't yet implemented, I've added a "and Rx,#255" > > alte

Re: [xstormy16] Add extendhisi2 and zero_extendhisi2 patterns to stormy16.md

2023-04-22 Thread Jeff Law via Gcc-patches
On 4/22/23 14:57, Roger Sayle wrote: This patch adds a pair of define_insn patterns to the xstormy16 machine description that provide extendhisi2 and zero_extendhisi2, i.e. 16-bit to 32-bit sign- and zero-extension respectively. This functionality is already synthesized during RTL expansion,