From 884dceca1fedff9d68424357311b2ec179993428 Mon Sep 17 00:00:00 2001 From: Evan Shaw Date: Mon, 1 Nov 2010 16:14:43 -0400 Subject: [PATCH] 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 --- src/cmd/6l/optab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/6l/optab.c b/src/cmd/6l/optab.c index c729f0e233c..378db6d375d 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 },