aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm
diff options
context:
space:
mode:
authorLynn Boger <laboger@linux.vnet.ibm.com>2019-08-28 09:46:11 -0400
committerLynn Boger <laboger@linux.vnet.ibm.com>2019-08-29 13:27:55 +0000
commit8f79ca1d1ae78d3cc8025f0901540c45848347ab (patch)
tree3a072e7f2ff6e88fb44d30260947482836e63402 /src/cmd/asm
parentd56a86e01f2e771a4706f0a5cfbe2d87cd888f05 (diff)
downloadgo-8f79ca1d1ae78d3cc8025f0901540c45848347ab.tar.xz
cmd/internal/obj/ppc64: add support for vmrgow,vmrgew
This adds support for ppc64 instructions vmrgow and vmrgew which are needed for an improved implementation of chacha20. Change-Id: I967a2de54236bcc573a99f7e2b222d5a8bb29e03 Reviewed-on: https://go-review.googlesource.com/c/go/+/192117 Run-TryBot: Lynn Boger <laboger@linux.vnet.ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
Diffstat (limited to 'src/cmd/asm')
-rw-r--r--src/cmd/asm/internal/asm/testdata/ppc64.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/asm/internal/asm/testdata/ppc64.s b/src/cmd/asm/internal/asm/testdata/ppc64.s
index 8440375de6..ce520b1ecf 100644
--- a/src/cmd/asm/internal/asm/testdata/ppc64.s
+++ b/src/cmd/asm/internal/asm/testdata/ppc64.s
@@ -900,6 +900,13 @@ label1:
// <mnemonic> VRT,VRA,VRB,SHB
VSLDOI $4, V2, V1, V0
+// Vector merge odd and even word
+// <MNEMONIC> VRA,VRB,VRT produces
+// <mnemonic> VRT,VRA,VRB
+
+ VMRGOW V4,V5,V6
+ VMRGEW V4,V5,V6
+
// Vector count, VX-form
// <MNEMONIC> VRB,VRT produces
// <mnemonic> VRT,VRB