aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/duff_ppc64x.s
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-03-31 19:13:39 -0400
committerCherry Zhang <cherryyz@google.com>2020-03-31 23:54:09 +0000
commit7939c43748932c0caf1a1538410eb70fcd5a705f (patch)
tree74049900f02d6d97616707ff9f20799ec2e47fcf /src/runtime/duff_ppc64x.s
parent6edd7971bb3e83356544b2cd6e7a93fdabff1246 (diff)
downloadgo-7939c43748932c0caf1a1538410eb70fcd5a705f.tar.gz
go-7939c43748932c0caf1a1538410eb70fcd5a705f.zip
runtime: generate dummy duffcopy
Although duffcopy is not used on PPC64, duff_ppc64x.s and mkduff.go don't match. Make it so. Fixes #38188. Change-Id: Ic6c08e335795ea407880efd449f4229696af7744 Reviewed-on: https://go-review.googlesource.com/c/go/+/226719 Run-TryBot: Cherry Zhang <cherryyz@google.com> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/duff_ppc64x.s')
-rw-r--r--src/runtime/duff_ppc64x.s6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/runtime/duff_ppc64x.s b/src/runtime/duff_ppc64x.s
index 0c62d0afe9..d6b89ba940 100644
--- a/src/runtime/duff_ppc64x.s
+++ b/src/runtime/duff_ppc64x.s
@@ -137,7 +137,5 @@ TEXT runtime·duffzero(SB), NOSPLIT|NOFRAME, $0-0
MOVDU R0, 8(R3)
RET
-// TODO: Implement runtime·duffcopy.
-TEXT runtime·duffcopy(SB),NOSPLIT|NOFRAME,$0-0
- MOVD R0, 0(R0)
- RET
+TEXT runtime·duffcopy(SB), NOSPLIT|NOFRAME, $0-0
+ UNDEF