7c: don't emit SXTW for non-register source operand
This commit is contained in:
parent
0c964838a1
commit
3fe9730645
1 changed files with 1 additions and 1 deletions
|
@ -764,7 +764,7 @@ gmove(Node *f, Node *t)
|
||||||
if(typeu[ft])
|
if(typeu[ft])
|
||||||
a = AMOVWU;
|
a = AMOVWU;
|
||||||
else
|
else
|
||||||
a = ASXTW;
|
a = (f->op == OREGISTER) ? ASXTW : AMOVW;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue