1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:54:42 -07:00

6a/6l: fix MOVOU encoding

The andproto field was set incorrectly, causing 6a to encode illegal
instructions.

R=rsc
CC=golang-dev
https://golang.org/cl/2781042
This commit is contained in:
Evan Shaw 2010-11-01 16:14:43 -04:00 committed by Russ Cox
parent 68ac0c1d94
commit 884dceca1f

View File

@ -783,7 +783,7 @@ Optab optab[] =
{ AMOVBWSX, ymb_rl, Pq, 0xbe },
{ AMOVBWZX, ymb_rl, Pq, 0xb6 },
{ AMOVO, yxmov, Pe, 0x6f,0x7f },
{ AMOVOU, yxmov, Pf2, 0x6f,0x7f },
{ AMOVOU, yxmov, Pf3, 0x6f,0x7f },
{ AMOVHLPS, yxr, Pm, 0x12 },
{ AMOVHPD, yxmov, Pe, 0x16,0x17 },
{ AMOVHPS, yxmov, Pm, 0x16,0x17 },