7c: don't emit SXTW for non-register source operand

This commit is contained in:
cinap_lenrek 2019-04-25 19:44:16 +02:00
parent 0c964838a1
commit 3fe9730645

View file

@ -764,7 +764,7 @@ gmove(Node *f, Node *t)
if(typeu[ft])
a = AMOVWU;
else
a = ASXTW;
a = (f->op == OREGISTER) ? ASXTW : AMOVW;
break;
}
break;