1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Define target-specific register size 4 * Copyright (c) 2009 Ulrich Hecht <uli@suse.de> 5 */ 6 7 #ifndef TCG_TARGET_REG_BITS_H 8 #define TCG_TARGET_REG_BITS_H 9 10 /* We only support generating code for 64-bit mode. */ 11 #if UINTPTR_MAX == UINT64_MAX 12 # define TCG_TARGET_REG_BITS 64 13 #else 14 # error "unsupported code generation mode" 15 #endif 16 17 #endif 18