diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-01-28 15:07:41 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-02-05 10:24:14 -1000 |
commit | 2f74f45e32beb0ae24366128fdf685a5121c0f67 (patch) | |
tree | c42e7ad0532bfa98c43796ffb705d696ab44cae5 /tcg/tci/tcg-target.h | |
parent | 552672bae63dd2c470fc533f276b746bae90b813 (diff) | |
download | qemu-2f74f45e32beb0ae24366128fdf685a5121c0f67.zip qemu-2f74f45e32beb0ae24366128fdf685a5121c0f67.tar.gz qemu-2f74f45e32beb0ae24366128fdf685a5121c0f67.tar.bz2 |
tcg/tci: Remove TCG_CONST
Restrict all operands to registers. All constants will be forced
into registers by the middle-end. Removing the difference in how
immediate integers were encoded will allow more code to be shared
between 32-bit and 64-bit operations.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target.h')
-rw-r--r-- | tcg/tci/tcg-target.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h index 8f7ed67..9c0021a 100644 --- a/tcg/tci/tcg-target.h +++ b/tcg/tci/tcg-target.h @@ -157,9 +157,6 @@ typedef enum { TCG_AREG0 = TCG_REG_R14, TCG_REG_CALL_STACK = TCG_REG_R15, - - /* Special value UINT8_MAX is used by TCI to encode constant values. */ - TCG_CONST = UINT8_MAX } TCGReg; /* Used for function call generation. */ |