| Server IP : 189.126.111.107 / Your IP : 216.73.217.69 Web Server : Apache System : Linux www.gadotticar.com.br 5.4.0-135-generic #152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022 x86_64 User : gadotticar ( 1000) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/go/src/runtime/ |
Upload File : |
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build mips64 mips64le #include "textflag.h" // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr) TEXT runtime·memclrNoHeapPointers(SB),NOSPLIT,$0-16 MOVV ptr+0(FP), R1 MOVV n+8(FP), R2 ADDV R1, R2, R4 // if less than 8 bytes, do one byte at a time SGTU $8, R2, R3 BNE R3, out // do one byte at a time until 8-aligned AND $7, R1, R3 BEQ R3, words MOVB R0, (R1) ADDV $1, R1 JMP -4(PC) words: // do 8 bytes at a time if there is room ADDV $-7, R4, R2 SGTU R2, R1, R3 BEQ R3, out MOVV R0, (R1) ADDV $8, R1 JMP -4(PC) out: BEQ R1, R4, done MOVB R0, (R1) ADDV $1, R1 JMP -3(PC) done: RET