Add LE/BE SHA1H patterns with a V2SI input.
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 2 Nov 2016 14:00:22 +0000 (14:00 +0000)
committerWilco Dijkstra <wilco@gcc.gnu.org>
Wed, 2 Nov 2016 14:00:22 +0000 (14:00 +0000)
commit5304d04437ac683b9a4c8207728db70774560222
treef7fccef0db51be2083c609129b09fee2d30222f1
parent45a6c1e36347998df5e779866f26d15dc9d01fbd
Add LE/BE SHA1H patterns with a V2SI input.

Add LE/BE SHA1H patterns with a V2SI input.  This avoids unnecessary
DUPs when using intrinsics like vsha1h_u32 (vgetq_lane_u32 (x, 0)).

    gcc/
        * config/aarch64/aarch64-simd.md (aarch64_crypto_sha1hv4si):
        New pattern.
        (aarch64_be_crypto_sha1hv4si): New pattern.

From-SVN: r241791
gcc/ChangeLog
gcc/config/aarch64/aarch64-simd.md