Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / tcg / riscv / tcg-target-reg-bits.h
blob761ca0d774a625683da4846ce5ba88fa097ea601
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Define target-specific register size
4 * Copyright (c) 2018 SiFive, Inc
5 */
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"
16 #endif
17 #define TCG_TARGET_REG_BITS 64
19 #endif