]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/asm: move manual tests out of generated file
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 14 Mar 2018 10:18:40 +0000 (10:18 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 14 Mar 2018 15:32:55 +0000 (15:32 +0000)
Thanks to Iskander Sharipov for spotting this in an earlier CL of mine.

Change-Id: Idf45ad266205ff83985367cb38f585badfbed151
Reviewed-on: https://go-review.googlesource.com/100535
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Iskander Sharipov <iskander.sharipov@intel.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/asm/internal/asm/testdata/amd64enc.s
src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

index 6ce7ea655014ed4b2e5d811e99e9c9ce4c2e87de..65aecf8faf40054e715c57af6b450e977a5ea159 100644 (file)
@@ -8742,8 +8742,6 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0
        VPERMQ $7, (R11), Y11                   // c443fd001b07
        VPERMQ $7, Y2, Y11                      // c463fd00da07
        VPERMQ $7, Y11, Y11                     // c443fd00db07
-       VPERMQ $-40, Y8, Y8                     // c4407800c0d8
-       VPERMQ $216, Y8, Y8                     // c443fd00c0d8
        VPEXTRB $7, X2, (BX)                    // c4e379141307
        VPEXTRB $7, X11, (BX)                   // c46379141b07
        VPEXTRB $7, X2, (R11)                   // c4c379141307
index 0b735675cd2957feca072db1a4b7df8cc50bb922..ab2c7efe0b3ce31b1e999896ff75f8ba96f86475 100644 (file)
@@ -293,5 +293,8 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0
        SHA256MSG2 (R11), X11    // 450f38cd1b
        SHA256MSG2 X2, X11       // 440f38cdda
        SHA256MSG2 X11, X11      // 450f38cddb
+       // Test VPERMQ with both uint8 and int8 immediate args
+       VPERMQ $-40, Y8, Y8 // c4407800c0d8
+       VPERMQ $216, Y8, Y8 // c443fd00c0d8
        // End of tests.
        RET