mirror of https://github.com/xqemu/xqemu.git
tcg-sparc: Do not remove %o[012] from 'r' constraint.
Only 'L' constraint needs that. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7a3766f390
commit
5e143c43a6
|
@ -143,6 +143,9 @@ static int target_parse_constraint(TCGArgConstraint *ct, const char **pct_str)
|
||||||
ct_str = *pct_str;
|
ct_str = *pct_str;
|
||||||
switch (ct_str[0]) {
|
switch (ct_str[0]) {
|
||||||
case 'r':
|
case 'r':
|
||||||
|
ct->ct |= TCG_CT_REG;
|
||||||
|
tcg_regset_set32(ct->u.regs, 0, 0xffffffff);
|
||||||
|
break;
|
||||||
case 'L': /* qemu_ld/st constraint */
|
case 'L': /* qemu_ld/st constraint */
|
||||||
ct->ct |= TCG_CT_REG;
|
ct->ct |= TCG_CT_REG;
|
||||||
tcg_regset_set32(ct->u.regs, 0, 0xffffffff);
|
tcg_regset_set32(ct->u.regs, 0, 0xffffffff);
|
||||||
|
|
Loading…
Reference in New Issue