1 /* SPDX-License-Identifier: MIT */
3 * Define target-specific register size
4 * Copyright (c) 2018 SiFive, Inc
7 #ifndef TCG_TARGET_REG_BITS_H
8 #define TCG_TARGET_REG_BITS_H
11 * We don't support oversize guests.
12 * Since we will only build tcg once, this in turn requires a 64-bit host.
14 #if __riscv_xlen != 64
15 #error "unsupported code generation mode"
17 #define TCG_TARGET_REG_BITS 64