1 // Copyright 2016 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 // See memclrNoHeapPointers Go doc for important implementation constraints.
9 // void runtime·memclrNoHeapPointers(void*, uintptr)
10 TEXT runtime·memclrNoHeapPointers<ABIInternal>(SB),NOSPLIT,$0-16
11 #ifndef GOEXPERIMENT_regabiargs
17 // If less than eight bytes, do one byte at a time.
19 BNE T3, ZERO, outcheck
21 // Do one byte at a time until eight-aligned.
30 // Do eight bytes at a time as long as there is room.