Often, the only thing we need to know about the TCG host is the register size. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			19 lines
		
	
	
		
			395 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			395 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: MIT */
 | 
						|
/*
 | 
						|
 * Define target-specific register size
 | 
						|
 * Copyright (c) 2008-2009 Arnaud Patard <arnaud.patard@rtp-net.org>
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef TCG_TARGET_REG_BITS_H
 | 
						|
#define TCG_TARGET_REG_BITS_H
 | 
						|
 | 
						|
#if _MIPS_SIM == _ABIO32
 | 
						|
# define TCG_TARGET_REG_BITS 32
 | 
						|
#elif _MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64
 | 
						|
# define TCG_TARGET_REG_BITS 64
 | 
						|
#else
 | 
						|
# error "Unknown ABI"
 | 
						|
#endif
 | 
						|
 | 
						|
#endif
 |