Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / tcg / tci / tcg-target-reg-bits.h
blobdcb1a203f8dea1f34d42bb5b676e680b330784fc
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Define target-specific register size
4 * Copyright (c) 2009, 2011 Stefan Weil
5 */
7 #ifndef TCG_TARGET_REG_BITS_H
8 #define TCG_TARGET_REG_BITS_H
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
18 #endif