1
0
mirror of https://github.com/golang/go synced 2024-11-25 16:57:58 -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 }, { AMOVBWSX, ymb_rl, Pq, 0xbe },
{ AMOVBWZX, ymb_rl, Pq, 0xb6 }, { AMOVBWZX, ymb_rl, Pq, 0xb6 },
{ AMOVO, yxmov, Pe, 0x6f,0x7f }, { AMOVO, yxmov, Pe, 0x6f,0x7f },
{ AMOVOU, yxmov, Pf2, 0x6f,0x7f }, { AMOVOU, yxmov, Pf3, 0x6f,0x7f },
{ AMOVHLPS, yxr, Pm, 0x12 }, { AMOVHLPS, yxr, Pm, 0x12 },
{ AMOVHPD, yxmov, Pe, 0x16,0x17 }, { AMOVHPD, yxmov, Pe, 0x16,0x17 },
{ AMOVHPS, yxmov, Pm, 0x16,0x17 }, { AMOVHPS, yxmov, Pm, 0x16,0x17 },