tcg/tci: Drop L and S constraints
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 15 Oct 2020 20:13:57 +0000 (13:13 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Feb 2021 22:04:25 +0000 (12:04 -1000)
These are identical to the 'r' constraint.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci/tcg-target.c.inc

index 15981265dbc34089ed1b765ed2b80490abae611d..9c45f5f88f9b9f381218892d82c3887348b54f8f 100644 (file)
 # 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: