diff options
author | Rui Ueyama <ruiu@google.com> | 2014-08-05 21:38:41 -0700 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-08-05 21:38:41 -0700 |
commit | 37ec97fd53db2e2d3bd57a0ced637220ed9f1145 (patch) | |
tree | 227517e09f590b352dfa6ca432c5d2c080f295a6 /src/liblink | |
parent | 25cf0bae06d25dd858f86ff152215d72c57be6a7 (diff) | |
download | go-37ec97fd53db2e2d3bd57a0ced637220ed9f1145.tar.gz |
liblink: encode MOVBQZX as MOVZBL instead of MOVZBQ
LGTM=rsc
R=golang-codereviews, gobot, rsc
CC=golang-codereviews
https://codereview.appspot.com/118480046
Diffstat (limited to 'src/liblink')
-rw-r--r-- | src/liblink/asm6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblink/asm6.c b/src/liblink/asm6.c index 3fc3e0128..fa329777d 100644 --- a/src/liblink/asm6.c +++ b/src/liblink/asm6.c @@ -1072,7 +1072,7 @@ static Optab optab[] = { AMOVBLSX, ymb_rl, Pm, {0xbe} }, { AMOVBLZX, ymb_rl, Pm, {0xb6} }, { AMOVBQSX, ymb_rl, Pw, {0x0f,0xbe} }, - { AMOVBQZX, ymb_rl, Pw, {0x0f,0xb6} }, + { AMOVBQZX, ymb_rl, Pm, {0xb6} }, { AMOVBWSX, ymb_rl, Pq, {0xbe} }, { AMOVBWZX, ymb_rl, Pq, {0xb6} }, { AMOVO, yxmov, Pe, {0x6f,0x7f} }, |