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(SB),NOSPLIT,$0-16
15 // If less than eight bytes, do one byte at a time.
17 BNE T3, ZERO, outcheck
19 // Do one byte at a time until eight-aligned.
28 // Do eight bytes at a time as long as there is room.