Re: [PATCH 2/5] aarch64: Relax aarch64_qshrn2_n RTL pattern

2021-05-19 Thread Richard Sandiford via Gcc-patches
Jonathan Wright writes: > Hi, > > As subject, this patch implements saturating right-shift and narrow high > Neon intrinsic RTL patterns using a vec_concat of a register_operand > and a VQSHRN_N unspec - instead of just a VQSHRN_N unspec. This > more relaxed pattern allows for more aggressive comb

[PATCH 2/5] aarch64: Relax aarch64_qshrn2_n RTL pattern

2021-05-18 Thread Jonathan Wright via Gcc-patches
Hi, As subject, this patch implements saturating right-shift and narrow high Neon intrinsic RTL patterns using a vec_concat of a register_operand and a VQSHRN_N unspec - instead of just a VQSHRN_N unspec. This more relaxed pattern allows for more aggressive combinations and ultimately better code