From: Evan Shaw Date: Mon, 1 Nov 2010 20:14:43 +0000 (-0400) Subject: 6a/6l: fix MOVOU encoding X-Git-Tag: weekly.2010-11-02~21 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=884dceca1fedff9d68424357311b2ec179993428;p=gostls13.git 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 --- diff --git a/src/cmd/6l/optab.c b/src/cmd/6l/optab.c index c729f0e233..378db6d375 100644 --- a/src/cmd/6l/optab.c +++ b/src/cmd/6l/optab.c @@ -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 },