Re: [PATCH 1/5] aarch64: Relax aarch64_hn2 RTL pattern

2021-05-19 Thread Richard Sandiford via Gcc-patches
Jonathan Wright writes: > Hi, > > As subject, this patch implements v[r]addhn2 and v[r]subhn2 Neon intrinsic > RTL patterns using a vec_concat of a register_operand and an ADDSUBHN > unspec - instead of just an ADDSUBHN2 unspec. This more relaxed pattern > allows for more aggressive combinations a

[PATCH 1/5] aarch64: Relax aarch64_hn2 RTL pattern

2021-05-18 Thread Jonathan Wright via Gcc-patches
Hi, As subject, this patch implements v[r]addhn2 and v[r]subhn2 Neon intrinsic RTL patterns using a vec_concat of a register_operand and an ADDSUBHN unspec - instead of just an ADDSUBHN2 unspec. This more relaxed pattern allows for more aggressive combinations and ultimately better code generation