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:
parent
81041369b2
commit
a2d2341e80
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user