mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-04 13:37:41 -07:00
tcg: Require TCG_TARGET_INSN_UNIT_SIZE
Now that all backends do define TCG_TARGET_INSN_UNIT_SIZE, remove the fallback definition. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
a7f96f7666
commit
5053361b3e
1 changed files with 2 additions and 3 deletions
|
|
@ -147,9 +147,8 @@ typedef enum TCGOpcode {
|
|||
#define tcg_regset_not(d, a) (d) = ~(a)
|
||||
|
||||
#ifndef TCG_TARGET_INSN_UNIT_SIZE
|
||||
#define TCG_TARGET_INSN_UNIT_SIZE 1
|
||||
#endif
|
||||
#if TCG_TARGET_INSN_UNIT_SIZE == 1
|
||||
# error "Missing TCG_TARGET_INSN_UNIT_SIZE"
|
||||
#elif TCG_TARGET_INSN_UNIT_SIZE == 1
|
||||
typedef uint8_t tcg_insn_unit;
|
||||
#elif TCG_TARGET_INSN_UNIT_SIZE == 2
|
||||
typedef uint16_t tcg_insn_unit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue