mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 04:06:46 +00:00 
			
		
		
		
	tcg/arm: Use tcg_out_mov_reg in tcg_out_mov
We have a function that takes an additional condition parameter over the standard backend interface. It already takes care of eliding no-op moves. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
		
							parent
							
								
									d63e3b6e69
								
							
						
					
					
						commit
						c16f52b2c5
					
				| @ -2267,7 +2267,7 @@ static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, | ||||
| static inline void tcg_out_mov(TCGContext *s, TCGType type, | ||||
|                                TCGReg ret, TCGReg arg) | ||||
| { | ||||
|     tcg_out_dat_reg(s, COND_AL, ARITH_MOV, ret, 0, arg, SHIFT_IMM_LSL(0)); | ||||
|     tcg_out_mov_reg(s, COND_AL, ret, arg); | ||||
| } | ||||
| 
 | ||||
| static inline void tcg_out_movi(TCGContext *s, TCGType type, | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Richard Henderson
						Richard Henderson