提交 5053361b 编写于 作者: R Richard Henderson

tcg: Require TCG_TARGET_INSN_UNIT_SIZE

Now that all backends do define TCG_TARGET_INSN_UNIT_SIZE,
remove the fallback definition.
Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
Signed-off-by: NRichard Henderson <rth@twiddle.net>
上级 a7f96f76
...@@ -147,9 +147,8 @@ typedef enum TCGOpcode { ...@@ -147,9 +147,8 @@ typedef enum TCGOpcode {
#define tcg_regset_not(d, a) (d) = ~(a) #define tcg_regset_not(d, a) (d) = ~(a)
#ifndef TCG_TARGET_INSN_UNIT_SIZE #ifndef TCG_TARGET_INSN_UNIT_SIZE
#define TCG_TARGET_INSN_UNIT_SIZE 1 # error "Missing TCG_TARGET_INSN_UNIT_SIZE"
#endif #elif TCG_TARGET_INSN_UNIT_SIZE == 1
#if TCG_TARGET_INSN_UNIT_SIZE == 1
typedef uint8_t tcg_insn_unit; typedef uint8_t tcg_insn_unit;
#elif TCG_TARGET_INSN_UNIT_SIZE == 2 #elif TCG_TARGET_INSN_UNIT_SIZE == 2
typedef uint16_t tcg_insn_unit; typedef uint16_t tcg_insn_unit;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册