- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for b_len (0.46 sec)
-
src/internal/bytealg/compare_mipsx.s
//go:build mips || mipsle #include "go_asm.h" #include "textflag.h" TEXT ·Compare(SB),NOSPLIT,$0-28 MOVW a_base+0(FP), R3 MOVW b_base+12(FP), R4 MOVW a_len+4(FP), R1 MOVW b_len+16(FP), R2 BEQ R3, R4, samebytes SGTU R1, R2, R7 MOVW R1, R8 CMOVN R7, R2, R8 // R8 is min(R1, R2) ADDU R3, R8 // R3 is current byte in a, R8 is last byte in a to compare loop:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 1.4K bytes - Viewed (0) -
src/internal/bytealg/compare_loong64.s
TEXT ·Compare<ABIInternal>(SB),NOSPLIT,$0-56 // R4 = a_base // R5 = a_len // R6 = a_cap (unused) // R7 = b_base (want in R6) // R8 = b_len (want in R7) // R9 = b_cap (unused) MOVV R7, R6 MOVV R8, R7 JMP cmpbody<>(SB) TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40 // R4 = a_base // R5 = a_len // R6 = b_base // R7 = b_len JMP cmpbody<>(SB) // On entry: // R5 length of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 1.7K bytes - Viewed (0) -
src/internal/bytealg/compare_386.s
#include "go_asm.h" #include "textflag.h" TEXT ·Compare(SB),NOSPLIT,$0-28 MOVL a_base+0(FP), SI MOVL a_len+4(FP), BX MOVL b_base+12(FP), DI MOVL b_len+16(FP), DX LEAL ret+24(FP), AX JMP cmpbody<>(SB) TEXT runtime·cmpstring(SB),NOSPLIT,$0-20 MOVL a_base+0(FP), SI MOVL a_len+4(FP), BX MOVL b_base+8(FP), DI MOVL b_len+12(FP), DX LEAL ret+16(FP), AX JMP cmpbody<>(SB) // input: // SI = a // DI = b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 23 21:22:58 UTC 2021 - 2.6K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_riscv64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go_asm.h" #include "textflag.h" TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40 // X10 = b_base // X11 = b_len // X12 = b_cap (unused) // X13 = byte to find AND $0xff, X13 MOV X10, X12 // store base for later ADD X10, X11 // end SUB $1, X10 loop: ADD $1, X10 BEQ X10, X11, notfound MOVBU (X10), X14
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 919 bytes - Viewed (0) -
src/internal/bytealg/compare_mips64x.s
#include "textflag.h" TEXT ·Compare(SB),NOSPLIT,$0-56 MOVV a_base+0(FP), R3 MOVV b_base+24(FP), R4 MOVV a_len+8(FP), R1 MOVV b_len+32(FP), R2 MOVV $ret+48(FP), R9 JMP cmpbody<>(SB) TEXT runtime·cmpstring(SB),NOSPLIT,$0-40 MOVV a_base+0(FP), R3 MOVV b_base+16(FP), R4 MOVV a_len+8(FP), R1 MOVV b_len+24(FP), R2 MOVV $ret+32(FP), R9 JMP cmpbody<>(SB) // On entry: // R1 length of a // R2 length of b
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 1.7K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_loong64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go_asm.h" #include "textflag.h" TEXT ·IndexByte<ABIInternal>(SB),NOSPLIT,$0-40 // R4 = b_base // R5 = b_len // R6 = b_cap (unused) // R7 = byte to find AND $0xff, R7 MOVV R4, R6 // store base for later ADDV R4, R5 // end ADDV $-1, R4 PCALIGN $16 loop: ADDV $1, R4 BEQ R4, R5, notfound
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 905 bytes - Viewed (0) -
src/internal/bytealg/compare_arm64.s
// R0 = a_base (want in R0) // R1 = a_len (want in R1) // R2 = a_cap (unused) // R3 = b_base (want in R2) // R4 = b_len (want in R3) // R5 = b_cap (unused) MOVD R3, R2 MOVD R4, R3 B cmpbody<>(SB) TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-40 // R0 = a_base // R1 = a_len // R2 = b_base // R3 = b_len B cmpbody<>(SB) // On entry:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 18:26:13 UTC 2022 - 2.1K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_mipsx.s
// license that can be found in the LICENSE file. //go:build mips || mipsle #include "go_asm.h" #include "textflag.h" TEXT ·IndexByte(SB),NOSPLIT,$0-20 MOVW b_base+0(FP), R1 MOVW b_len+4(FP), R2 MOVBU c+12(FP), R3 // byte to find ADDU $1, R1, R4 // store base+1 for later ADDU R1, R2 // end loop: BEQ R1, R2, notfound MOVBU (R1), R5 ADDU $1, R1 BNE R3, R5, loop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 1012 bytes - Viewed (0) -
src/internal/bytealg/compare_amd64.s
// AX = a_base (want in SI) // BX = a_len (want in BX) // CX = a_cap (unused) // DI = b_base (want in DI) // SI = b_len (want in DX) // R8 = b_cap (unused) MOVQ SI, DX MOVQ AX, SI JMP cmpbody<>(SB) TEXT runtime·cmpstring<ABIInternal>(SB),NOSPLIT,$0-40 // AX = a_base (want in SI) // BX = a_len (want in BX) // CX = b_base (want in DI) // DI = b_len (want in DX) MOVQ AX, SI MOVQ DI, DX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:17:01 UTC 2022 - 4.3K bytes - Viewed (0) -
src/internal/bytealg/count_riscv64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go_asm.h" #include "textflag.h" TEXT ·Count<ABIInternal>(SB),NOSPLIT,$0-40 // X10 = b_base // X11 = b_len // X12 = b_cap (unused) // X13 = byte to count (want in X12) AND $0xff, X13, X12 MOV ZERO, X14 // count ADD X10, X11 // end PCALIGN $16 loop: BEQ X10, X11, done MOVBU (X10), X15 ADD $1, X10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 01:59:01 UTC 2023 - 858 bytes - Viewed (0)