• wschmidt's avatar
    gcc: · 47f833a2
    wschmidt authored
    2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    
    	* config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize
    	for vector types other than V16QImode.
    	* config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a
    	define_expand, and call altivec_expand_vec_perm_le when producing
    	code with little endian element order.
    	(*altivec_vperm_<mode>_internal): New insn having previous
    	behavior of altivec_vperm_<mode>.
    	(altivec_vperm_<mode>_uns): Change to a define_expand, and call
    	altivec_expand_vec_perm_le when producing code with little endian
    	element order.
    	(*altivec_vperm_<mode>_uns_internal): New insn having previous
    	behavior of altivec_vperm_<mode>_uns.
    
    gcc/testsuite:
    
    2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
    
    	* gcc.dg/vmx/3b-15.c: Remove special handling for little endian.
    	* gcc.dg/vmx/perm.c: New.
    	* gcc.dg/vmx/perm-be-order.c: New.
    
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207415 138bc75d-0d04-0410-961f-82ee72b054a4
    47f833a2
rs6000.c 958 KB