diff options
| author | Keith Randall <khr@golang.org> | 2014-06-16 23:03:03 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2014-06-16 23:03:03 -0700 |
| commit | 61dca94e107170d2ff3beb13bb9fa5ce49d8d6fd (patch) | |
| tree | 83dadbcc4200dbb0e014f366cf07302a25011ed3 /src/pkg/runtime/asm_arm.s | |
| parent | b36ed9056ff57c04c34240f2dc6b1bb59e84d0c7 (diff) | |
| download | go-61dca94e107170d2ff3beb13bb9fa5ce49d8d6fd.tar.xz | |
runtime: implement string ops in Go
Also implement go:nosplit annotation. Not really needed
for now, but we'll definitely need it for other conversions.
benchmark old ns/op new ns/op delta
BenchmarkRuneIterate 534 474 -11.24%
BenchmarkRuneIterate2 535 470 -12.15%
LGTM=bradfitz
R=golang-codereviews, dave, bradfitz, minux
CC=golang-codereviews
https://golang.org/cl/93380044
Diffstat (limited to 'src/pkg/runtime/asm_arm.s')
| -rw-r--r-- | src/pkg/runtime/asm_arm.s | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/asm_arm.s b/src/pkg/runtime/asm_arm.s index 2b43ac41bb..5af5895477 100644 --- a/src/pkg/runtime/asm_arm.s +++ b/src/pkg/runtime/asm_arm.s @@ -560,6 +560,10 @@ TEXT runtime·getcallerpc(SB),NOSPLIT,$-4-4 MOVW 0(SP), R0 RET +TEXT runtime·gogetcallerpc(SB),NOSPLIT,$-4-8 + MOVW R14, 4(FP) + RET + TEXT runtime·setcallerpc(SB),NOSPLIT,$-4-8 MOVW x+4(FP), R0 MOVW R0, 0(SP) |
