Hi, The test case bb-slp-20.c in the gcc testsuit will cause an ICE in the expand pass due to the lack of a pattern for subtraction of the VNx2SI mode. I think the problem has been fully discussed on PR 96366.
The attached file is the patch to solve this problem. Bootstrapped and tested on aarch64-linux-gnu. Ok for trunk? Thanks, Bruce
0001-PATCH-PR96366-AARCH64-Add-support-for-unpacked-sub.patch
Description: 0001-PATCH-PR96366-AARCH64-Add-support-for-unpacked-sub.patch