Commit 884dceca authored by Evan Shaw's avatar Evan Shaw Committed by Russ Cox

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
parent 68ac0c1d
...@@ -783,7 +783,7 @@ Optab optab[] = ...@@ -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 },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment