Implement via expansion, so don't actually set TCG_TARGET_HAS_roti_vec. For NEON, this is shift-right followed by shift-left-and-insert. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			511 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			511 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2019 Linaro
 | 
						|
 *
 | 
						|
 * This work is licensed under the terms of the GNU GPL, version 2 or
 | 
						|
 * (at your option) any later version.
 | 
						|
 *
 | 
						|
 * See the COPYING file in the top-level directory for details.
 | 
						|
 *
 | 
						|
 * Target-specific opcodes for host vector expansion.  These will be
 | 
						|
 * emitted by tcg_expand_vec_op.  For those familiar with GCC internals,
 | 
						|
 * consider these to be UNSPEC with names.
 | 
						|
 */
 | 
						|
 | 
						|
DEF(arm_sli_vec, 1, 2, 1, IMPLVEC)
 | 
						|
DEF(arm_sshl_vec, 1, 2, 0, IMPLVEC)
 | 
						|
DEF(arm_ushl_vec, 1, 2, 0, IMPLVEC)
 |