xref: /openbmc/qemu/tcg/tci/tcg-target-reg-bits.h (revision d2dfe0b5)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Define target-specific register size
4  * Copyright (c) 2009, 2011 Stefan Weil
5  */
6 
7 #ifndef TCG_TARGET_REG_BITS_H
8 #define TCG_TARGET_REG_BITS_H
9 
10 #if UINTPTR_MAX == UINT32_MAX
11 # define TCG_TARGET_REG_BITS 32
12 #elif UINTPTR_MAX == UINT64_MAX
13 # define TCG_TARGET_REG_BITS 64
14 #else
15 # error Unknown pointer size for tci target
16 #endif
17 
18 #endif
19