Re: [PATCH] aarch64: Use an expander for quad-word vec_pack_trunc pattern

2021-05-19 Thread Richard Sandiford via Gcc-patches
Jonathan Wright writes: > Hi, > > The existing vec_pack_trunc RTL pattern emits an opaque two- > instruction assembly code sequence that prevents proper instruction > scheduling. This commit changes the pattern to an expander that emits > individual xtn and xtn2 instructions. > > This commit also

[PATCH] aarch64: Use an expander for quad-word vec_pack_trunc pattern

2021-05-19 Thread Jonathan Wright via Gcc-patches
Hi, The existing vec_pack_trunc RTL pattern emits an opaque two- instruction assembly code sequence that prevents proper instruction scheduling. This commit changes the pattern to an expander that emits individual xtn and xtn2 instructions. This commit also consolidates the duplicate truncation p