Re: [PATCH, rs6000] Fix PR92760 by checking VECTOR_MEM_NONE_P instead

2019-12-03 Thread Segher Boessenkool
Hi! On Tue, Dec 03, 2019 at 05:38:41PM +0800, Kewen.Lin wrote: > 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 bas

[PATCH, rs6000] Fix PR92760 by checking VECTOR_MEM_NONE_P instead

2019-12-03 Thread Kewen.Lin
Hi, 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 vector