r278800 - in /trunk/gcc: ChangeLog config/rs600...

linkw@gcc.gnu.org linkw@gcc.gnu.org
Thu Nov 28 06:34:00 GMT 2019


Author: linkw
Date: Thu Nov 28 06:34:31 2019
New Revision: 278800

URL: https://gcc.gnu.org/viewcvs?rev=278800&root=gcc&view=rev
Log:
[rs6000] Fix PR92566 by checking VECTOR_UNIT_NONE_P

As Segher pointed out in PR92566, we shouldn't offer some vector modes which
aren't supported under current setting.  This patch is to make it check by
VECTOR_UNIT_NONE_P which is initialized as current architecture masks.

2019-11-28  Kewen Lin  <linkw@gcc.gnu.org>

    PR target/92566
    * gcc/config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Check by
    VECTOR_UNIT_NONE_P instead.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c



More information about the Gcc-cvs mailing list