aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorKewen Lin <linkw@gcc.gnu.org>2019-12-04 05:10:46 +0000
committerKewen Lin <linkw@gcc.gnu.org>2019-12-04 05:10:46 +0000
commitc96828f1ec5bb54524697bd0f3fb22088fda5342 (patch)
tree16ab3a269c12b6ff25b2645e7b20663754acd7f0 /gcc/fortran/trans-openmp.c
parentb0e83d70f935664482cf4006f9bac8315d55c480 (diff)
downloadgcc-c96828f1ec5bb54524697bd0f3fb22088fda5342.zip
gcc-c96828f1ec5bb54524697bd0f3fb22088fda5342.tar.gz
gcc-c96828f1ec5bb54524697bd0f3fb22088fda5342.tar.bz2
[rs6000] Fix PR92760 by checking VECTOR_MEM_NONE_P instead
PR92760 exposed one issue that VECTOR_UNIT_NONE_P (V2DImode) is true on Power7 then we won't return it as preferred_simd_mode but ISA 2.06 (Power7) does introduce partial support on vector doubleword (very limitted) and more basic support origins from ISA 2.07 (Power8) though. To make vectorizer still leverage those few but available V2DImode related instructions, we need to claim it's available on VSX (Power7 and up). gcc/ChangeLog PR target/92760 * gcc/config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Use VECTOR_MEM_NONE_P instead of VECTOR_UNIT_NONE_P. From-SVN: r278955
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions