aarch64: Add support for unpacked sub [PR96366]
authorBu Le <bule1@huawei.com>
Mon, 3 Aug 2020 15:38:46 +0000 (16:38 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Mon, 3 Aug 2020 15:38:46 +0000 (16:38 +0100)
commit9623f61b142174b87760c81f78928dd14af7cbc6
treeb381d60f76a81b5e84e9d1353ee8305acc1fb9ad
parent401070d8b4e90d4363b6566836c94ec7b6f9c5a2
aarch64: Add support for unpacked sub [PR96366]

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. This patch solve this problem
by adding support for unpacked sub.

gcc/ChangeLog:

* config/aarch64/aarch64-sve.md (sub<mode>3): Add support for
unpacked vectors.
gcc/config/aarch64/aarch64-sve.md