]> Cypherpunks repositories - gostls13.git/commitdiff
6l: More SSE instruction fixes
authorEvan Shaw <chickencha@gmail.com>
Fri, 5 Nov 2010 17:59:53 +0000 (13:59 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Nov 2010 17:59:53 +0000 (13:59 -0400)
PSADBW and PSHUFL had the wrong prefixes.

R=rsc
CC=golang-dev
https://golang.org/cl/2836041

src/cmd/6l/optab.c

index 378db6d375d70c96821dc4ee11fd8018bbd8efce..6cc50313e3099415116dc610bb3203676a263078 100644 (file)
@@ -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) },