Arm: Add HF modes to ANY iterators
authorTamar Christina <tamar.christina@arm.com>
Thu, 14 Feb 2019 17:17:20 +0000 (17:17 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Thu, 14 Feb 2019 17:17:20 +0000 (17:17 +0000)
commit2a26aed6ad28a8261f5e2d8cfd3f8ae7355be934
tree019d8312f886fc614ad63a49bb7b1de4a363db8e
parentbb2a18a3a8736069af6d03965e77aaa89c6a1eed
Arm: Add HF modes to ANY iterators

The iterator ANY64 are used in various general split patterns and is supposed
to contain all 64 bit modes.

For some reason the pattern has HI but not HF.  This adds HF so that general
64 bit splits are generated for these modes as well.  These are required
by various split patterns that expect them to be there.

gcc/ChangeLog:

PR target/88850
* config/arm/iterators.md (ANY64): Add V4HF.

gcc/testsuite/ChangeLog:

PR target/88850
* gcc.target/arm/pr88850-2.c: New test.
* lib/target-supports.exp
(check_effective_target_arm_neon_softfp_fp16_ok_nocache,
check_effective_target_arm_neon_softfp_fp16_ok,
add_options_for_arm_neon_softfp_fp16): New.

From-SVN: r268884
gcc/ChangeLog
gcc/config/arm/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr88850-2.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp