]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] Fix use of CRC32 intrinsics with Armv8-a and hard-float
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 25 Sep 2019 13:48:29 +0000 (13:48 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 25 Sep 2019 13:48:29 +0000 (13:48 +0000)
commit28e0d7f15c5aa1fabd0b4b23d88d88263363cce9
tree73028e353e14c4709d0498484e031c1f2810f6e5
parent4905c07ab01155577fcc85644c53530cccc659ce
[arm] Fix use of CRC32 intrinsics with Armv8-a and hard-float

Backport from mainline
2019-08-22  Kyrylo Tkachov <kyrylo.tkachov@arm.com>

* config/arm/arm_acle.h: Use arch=armv8-a+crc+simd pragma for CRC32
intrinsics if __ARM_FP.
Use __ARM_FEATURE_CRC32 ifdef guard.

* gcc.target/arm/acle/crc_hf_1.c: New test.

From-SVN: r276126
gcc/ChangeLog
gcc/config/arm/arm_acle.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/acle/crc_hf_1.c [new file with mode: 0644]