mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue