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
16 // If less than 8 bytes, do single byte zeroing.
24 // Zero one byte at a time until we reach 8 byte alignment.