aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/memclr_ppc64x.s
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2015-06-03 14:59:27 -0400
committerAustin Clements <austin@google.com>2015-06-06 00:07:23 +0000
commit2774b37306616380c00a4fde7f46bde1a8668ece (patch)
tree592b909c5f2830e705e6c1d6d5e366b19a13dc34 /src/runtime/memclr_ppc64x.s
parent11b992818549aa169c96363c9242fe66b4073d34 (diff)
downloadgo-2774b37306616380c00a4fde7f46bde1a8668ece.tar.gz
go-2774b37306616380c00a4fde7f46bde1a8668ece.zip
all: use RET instead of RETURN on ppc64
All of the architectures except ppc64 have only "RET" for the return mnemonic. ppc64 used to have only "RETURN", but commit cf06ea6 introduced RET as a synonym for RETURN to make ppc64 consistent with the other architectures. However, that commit was never followed up to make the code itself consistent by eliminating uses of RETURN. This commit replaces all uses of RETURN in the ppc64 assembly with RET. This was done with sed -i 's/\<RETURN\>/RET/' **/*_ppc64x.s plus one manual change to syscall/asm.s. Change-Id: I3f6c8d2be157df8841d48de988ee43f3e3087995 Reviewed-on: https://go-review.googlesource.com/10672 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/memclr_ppc64x.s')
-rw-r--r--src/runtime/memclr_ppc64x.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/memclr_ppc64x.s b/src/runtime/memclr_ppc64x.s
index 535faa1c0e..cea42cb70c 100644
--- a/src/runtime/memclr_ppc64x.s
+++ b/src/runtime/memclr_ppc64x.s
@@ -17,4 +17,4 @@ TEXT runtime·memclr(SB),NOSPLIT,$0-16
MOVBU R0, 1(R3)
BC 25, 0, -1(PC) // bdnz+ $-4
done:
- RETURN
+ RET