diff options
author | Richard Henderson | 2021-01-29 02:07:41 +0100 |
---|---|---|
committer | Richard Henderson | 2021-02-05 21:24:14 +0100 |
commit | 2f74f45e32beb0ae24366128fdf685a5121c0f67 (patch) | |
tree | c42e7ad0532bfa98c43796ffb705d696ab44cae5 /tcg/tci/tcg-target.h | |
parent | tcg/tci: Fix TCG_REG_R4 misusage (diff) | |
download | qemu-2f74f45e32beb0ae24366128fdf685a5121c0f67.tar.gz qemu-2f74f45e32beb0ae24366128fdf685a5121c0f67.tar.xz qemu-2f74f45e32beb0ae24366128fdf685a5121c0f67.zip |
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 8f7ed676fc..9c0021a26f 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. */ |