1
0
mirror of https://github.com/golang/go synced 2024-11-19 06:04:39 -07:00

arm code gen error in unsign extend

R=rsc
CC=golang-dev
https://golang.org/cl/2295041
This commit is contained in:
Ken Thompson 2010-09-28 18:12:46 -07:00
parent 81041369b2
commit a2d2341e80

View File

@ -1395,15 +1395,21 @@ optoas(int op, Type *t)
case CASE(OAS, TBOOL):
case CASE(OAS, TINT8):
case CASE(OAS, TUINT8):
a = AMOVB;
break;
case CASE(OAS, TUINT8):
a = AMOVBU;
break;
case CASE(OAS, TINT16):
case CASE(OAS, TUINT16):
a = AMOVH;
break;
case CASE(OAS, TUINT16):
a = AMOVHU;
break;
case CASE(OAS, TINT32):
case CASE(OAS, TUINT32):
case CASE(OAS, TPTR32):