diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2015-10-26 11:30:11 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2015-10-26 11:30:11 +0000 |
commit | 529ce461f0ec3b81458e8478a1342e7a89a43861 (patch) | |
tree | 77f544291f4017adcabde139e2371b50b98552b1 /gcc/config/sh | |
parent | e310115eb98540ab7c1e099a15f6c66dd76450b7 (diff) | |
download | gcc-529ce461f0ec3b81458e8478a1342e7a89a43861.zip gcc-529ce461f0ec3b81458e8478a1342e7a89a43861.tar.gz gcc-529ce461f0ec3b81458e8478a1342e7a89a43861.tar.bz2 |
[config/sh/sh.c] Fix PR68091: Return false for non shmedia targets in sh_vector_mode_supported_p
PR target/68091
* config/sh/sh.c (sh_vector_mode_supported_p): Use
TARGET_SHMEDIA_FPU instead of TARGET_FPU_ANY.
From-SVN: r229336
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index f8187e4..a153845 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -12133,7 +12133,7 @@ sh_atomic_assign_expand_fenv (tree *hold, tree *clear, tree *update) bool sh_vector_mode_supported_p (machine_mode mode) { - if (TARGET_FPU_ANY + if (TARGET_SHMEDIA_FPU && ((mode == V2SFmode) || (mode == V4SFmode) || (mode == V16SFmode))) |