Re: [PATCH AArch64]Fix expanding of %w for *extend... pattern

2021-08-09 Thread Richard Sandiford via Gcc-patches
"bin.cheng via Gcc-patches" writes: > Hi, > When playing with std::experimental::simd, I found a bug newly introduced in > AArch64 backend. As commit message describes: > 7 Pattern "*extend2_aarch64" is duplicated > 8 from the corresponding zero_extend pattern, however % needs > 9

[PATCH AArch64]Fix expanding of %w for *extend... pattern

2021-08-08 Thread bin.cheng via Gcc-patches
Hi, When playing with std::experimental::simd, I found a bug newly introduced in AArch64 backend. As commit message describes: 7 Pattern "*extend2_aarch64" is duplicated 8 from the corresponding zero_extend pattern, however % needs 9 to be expanded according to its mode iterator