From b15e8babc8bfb4ef17a543fdcb23d63e4d76dbf3 Mon Sep 17 00:00:00 2001 From: isharipo Date: Fri, 18 Aug 2017 14:56:12 +0300 Subject: cmd/asm: add amd64 PALIGNR instruction 3rd change out of 3 to cover AMD64 SSSE3 instruction set in Go asm. This commit adds instruction that do require new ytab variable. Change-Id: I0bc7d9401c9176eb3760c3d59494ef082e97af84 Reviewed-on: https://go-review.googlesource.com/56870 Run-TryBot: Iskander Sharipov TryBot-Result: Gobot Gobot Reviewed-by: Ilya Tocar Reviewed-by: Russ Cox --- src/cmd/asm/internal/asm/testdata/amd64enc.s | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/cmd/asm') diff --git a/src/cmd/asm/internal/asm/testdata/amd64enc.s b/src/cmd/asm/internal/asm/testdata/amd64enc.s index ed80f6f92e..040e944b70 100644 --- a/src/cmd/asm/internal/asm/testdata/amd64enc.s +++ b/src/cmd/asm/internal/asm/testdata/amd64enc.s @@ -3315,14 +3315,14 @@ TEXT asmtest(SB),DUPOK|NOSPLIT,$0 //TODO: PALIGNR $7, (R11), M3 // 410f3a0f1b07 //TODO: PALIGNR $7, M2, M3 // 0f3a0fda07 //TODO: PALIGNR $7, M3, M3 // 0f3a0fdb07 - //TODO: PALIGNR $7, (BX), X2 // 660f3a0f1307 - //TODO: PALIGNR $7, (R11), X2 // 66410f3a0f1307 - //TODO: PALIGNR $7, X2, X2 // 660f3a0fd207 - //TODO: PALIGNR $7, X11, X2 // 66410f3a0fd307 - //TODO: PALIGNR $7, (BX), X11 // 66440f3a0f1b07 - //TODO: PALIGNR $7, (R11), X11 // 66450f3a0f1b07 - //TODO: PALIGNR $7, X2, X11 // 66440f3a0fda07 - //TODO: PALIGNR $7, X11, X11 // 66450f3a0fdb07 + PALIGNR $7, (BX), X2 // 660f3a0f1307 + PALIGNR $7, (R11), X2 // 66410f3a0f1307 + PALIGNR $7, X2, X2 // 660f3a0fd207 + PALIGNR $7, X11, X2 // 66410f3a0fd307 + PALIGNR $7, (BX), X11 // 66440f3a0f1b07 + PALIGNR $7, (R11), X11 // 66450f3a0f1b07 + PALIGNR $7, X2, X11 // 66440f3a0fda07 + PALIGNR $7, X11, X11 // 66450f3a0fdb07 PAND (BX), M2 // 0fdb13 PAND (R11), M2 // 410fdb13 PAND M2, M2 // 0fdbd2 -- cgit v1.3-5-g9baa