aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Shaw <chickencha@gmail.com>2010-11-05 13:59:53 -0400
committerRuss Cox <rsc@golang.org>2010-11-05 13:59:53 -0400
commit4d429c7fe5d4218dcffedba7991754cd001ea50e (patch)
treea1eec8d8266c750c5f39d5207bc82f911cd94c39
parenta4f3d647d4d38939dccf456fe9e3155c42b74f7f (diff)
downloadgo-4d429c7fe5d4218dcffedba7991754cd001ea50e.tar.xz
6l: More SSE instruction fixes
PSADBW and PSHUFL had the wrong prefixes. R=rsc CC=golang-dev https://golang.org/cl/2836041
-rw-r--r--src/cmd/6l/optab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/6l/optab.c b/src/cmd/6l/optab.c
index 378db6d375..6cc50313e3 100644
--- a/src/cmd/6l/optab.c
+++ b/src/cmd/6l/optab.c
@@ -907,9 +907,9 @@ Optab optab[] =
{ APOPQ, ypopl, Py, 0x58,0x8f,(00) },
{ APOPW, ypopl, Pe, 0x58,0x8f,(00) },
{ APOR, ymm, Py, 0xeb,Pe,0xeb },
- { APSADBW, yxm, Pw, Pe,0xf6 },
+ { APSADBW, yxm, Pq, 0xf6 },
{ APSHUFHW, yxshuf, Pf3, 0x70 },
- { APSHUFL, yxm, Pw, Pe,0x70 },
+ { APSHUFL, yxshuf, Pq, 0x70 },
{ APSHUFLW, yxshuf, Pf2, 0x70 },
{ APSHUFW, ymshuf, Pm, 0x70 },
{ APSLLO, ypsdq, Pq, 0x73,(07) },