aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-10-15 13:13:57 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-02-02 12:04:25 -1000
commit0a19f167de7560e8204953425408b21d82974a8c (patch)
treece12d7a1caddb290573fe384917b7754ec721566 /tcg/tci
parent77f3804ab7ed94b471a14acb260e5aeacf26193f (diff)
downloadqemu-0a19f167de7560e8204953425408b21d82974a8c.zip
qemu-0a19f167de7560e8204953425408b21d82974a8c.tar.gz
qemu-0a19f167de7560e8204953425408b21d82974a8c.tar.bz2
tcg/tci: Drop L and S constraints
These are identical to the 'r' constraint. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.c.inc10
1 files changed, 4 insertions, 6 deletions
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc
index 1598126..9c45f5f 100644
--- a/tcg/tci/tcg-target.c.inc
+++ b/tcg/tci/tcg-target.c.inc
@@ -46,11 +46,11 @@
# define R64 "r"
#endif
#if TARGET_LONG_BITS > TCG_TARGET_REG_BITS
-# define L "L", "L"
-# define S "S", "S"
+# define L "r", "r"
+# define S "r", "r"
#else
-# define L "L"
-# define S "S"
+# define L "r"
+# define S "r"
#endif
/* TODO: documentation. */
@@ -390,8 +390,6 @@ static const char *target_parse_constraint(TCGArgConstraint *ct,
{
switch (*ct_str++) {
case 'r':
- case 'L': /* qemu_ld constraint */
- case 'S': /* qemu_st constraint */
ct->regs = BIT(TCG_TARGET_NB_REGS) - 1;
break;
default: