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>
This commit is contained in:
Richard Henderson 2020-10-15 13:13:57 -07:00
parent 77f3804ab7
commit 0a19f167de

View File

@ -46,11 +46,11 @@
# define R64 "r" # define R64 "r"
#endif #endif
#if TARGET_LONG_BITS > TCG_TARGET_REG_BITS #if TARGET_LONG_BITS > TCG_TARGET_REG_BITS
# define L "L", "L" # define L "r", "r"
# define S "S", "S" # define S "r", "r"
#else #else
# define L "L" # define L "r"
# define S "S" # define S "r"
#endif #endif
/* TODO: documentation. */ /* TODO: documentation. */
@ -390,8 +390,6 @@ static const char *target_parse_constraint(TCGArgConstraint *ct,
{ {
switch (*ct_str++) { switch (*ct_str++) {
case 'r': case 'r':
case 'L': /* qemu_ld constraint */
case 'S': /* qemu_st constraint */
ct->regs = BIT(TCG_TARGET_NB_REGS) - 1; ct->regs = BIT(TCG_TARGET_NB_REGS) - 1;
break; break;
default: default: