 7cff8988fa
			
		
	
	
		7cff8988fa
		
	
	
	
	
		
			
			For immediate rotate , we can implement this in two instructions, using SLI. For variable rotate, the oddness of aarch64 right-shift- as-negative-left-shift means a backend-specific expansion works best. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			16 lines
		
	
	
		
			477 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			477 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(aa64_sshl_vec, 1, 2, 0, IMPLVEC)
 | |
| DEF(aa64_sli_vec, 1, 2, 1, IMPLVEC)
 |