diff options
author | Cholerae Hu <choleraehyq@gmail.com> | 2017-08-05 14:44:00 +0800 |
---|---|---|
committer | David Chase <drchase@google.com> | 2017-08-11 18:11:22 +0000 |
commit | 57bf6aca711a53aa7fea877b98896cd0445c6ad0 (patch) | |
tree | c713a6faa9beace0a076b836c269726297e97db1 /src/runtime/asm_s390x.s | |
parent | adc28cb1e03d4fd3e4750cdcc6215976e3e250c9 (diff) | |
download | go-57bf6aca711a53aa7fea877b98896cd0445c6ad0.tar.gz go-57bf6aca711a53aa7fea877b98896cd0445c6ad0.zip |
runtime, cmd/compile: add intrinsic getclosureptr
Intrinsic enabled on all architectures,
runtime asm implementation removed on all architectures.
Fixes #21258
Change-Id: I2cb86d460b497c2f287a5b3df5c37fdb231c23a7
Reviewed-on: https://go-review.googlesource.com/53411
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/asm_s390x.s')
-rw-r--r-- | src/runtime/asm_s390x.s | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/runtime/asm_s390x.s b/src/runtime/asm_s390x.s index 0379c546d6..757627d1ea 100644 --- a/src/runtime/asm_s390x.s +++ b/src/runtime/asm_s390x.s @@ -678,23 +678,6 @@ TEXT runtime·cputicks(SB),NOSPLIT,$0-8 MOVD R3, ret+0(FP) RET -// memhash_varlen(p unsafe.Pointer, h seed) uintptr -// redirects to memhash(p, h, size) using the size -// stored in the closure. -TEXT runtime·memhash_varlen(SB),NOSPLIT,$40-24 - GO_ARGS - NO_LOCAL_POINTERS - MOVD p+0(FP), R3 - MOVD h+8(FP), R4 - MOVD 8(R12), R5 - MOVD R3, 8(R15) - MOVD R4, 16(R15) - MOVD R5, 24(R15) - BL runtime·memhash(SB) - MOVD 32(R15), R3 - MOVD R3, ret+16(FP) - RET - // AES hashing not implemented for s390x TEXT runtime·aeshash(SB),NOSPLIT|NOFRAME,$0-0 MOVW (R0), R15 |