diff options
author | Tamar Christina <tamar.christina@arm.com> | 2019-02-14 17:17:20 +0000 |
---|---|---|
committer | Tamar Christina <tnfchris@gcc.gnu.org> | 2019-02-14 17:17:20 +0000 |
commit | 2a26aed6ad28a8261f5e2d8cfd3f8ae7355be934 (patch) | |
tree | 019d8312f886fc614ad63a49bb7b1de4a363db8e /gcc/config | |
parent | bb2a18a3a8736069af6d03965e77aaa89c6a1eed (diff) | |
download | gcc-2a26aed6ad28a8261f5e2d8cfd3f8ae7355be934.zip gcc-2a26aed6ad28a8261f5e2d8cfd3f8ae7355be934.tar.gz gcc-2a26aed6ad28a8261f5e2d8cfd3f8ae7355be934.tar.bz2 |
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
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/arm/iterators.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/iterators.md b/gcc/config/arm/iterators.md index c33e572..eb07c5b 100644 --- a/gcc/config/arm/iterators.md +++ b/gcc/config/arm/iterators.md @@ -24,9 +24,9 @@ ;;---------------------------------------------------------------------------- ;; A list of modes that are exactly 64 bits in size. This is used to expand -;; some splits that are the same for all modes when operating on ARM +;; some splits that are the same for all modes when operating on ARM ;; registers. -(define_mode_iterator ANY64 [DI DF V8QI V4HI V2SI V2SF]) +(define_mode_iterator ANY64 [DI DF V8QI V4HI V4HF V2SI V2SF]) (define_mode_iterator ANY128 [V2DI V2DF V16QI V8HI V4SI V4SF]) |