- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for b_len (0.1 sec)
-
src/internal/bytealg/compare_s390x.s
#include "textflag.h" TEXT ·Compare(SB),NOSPLIT|NOFRAME,$0-56 MOVD a_base+0(FP), R3 MOVD a_len+8(FP), R4 MOVD b_base+24(FP), R5 MOVD b_len+32(FP), R6 LA ret+48(FP), R7 BR cmpbody<>(SB) TEXT runtime·cmpstring(SB),NOSPLIT|NOFRAME,$0-40 MOVD a_base+0(FP), R3 MOVD a_len+8(FP), R4 MOVD b_base+16(FP), R5 MOVD b_len+24(FP), R6 LA ret+32(FP), R7 BR cmpbody<>(SB) // input: // R3 = a // R4 = alen
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 08 20:52:47 UTC 2018 - 1.2K bytes - Viewed (0) -
src/internal/bytealg/compare_wasm.s
Get SP I64Load a_base+0(FP) I64Load a_len+8(FP) I64Load b_base+24(FP) I64Load b_len+32(FP) Call cmpbody<>(SB) I64Store ret+48(FP) RET TEXT runtime·cmpstring(SB), NOSPLIT, $0-40 Get SP I64Load a_base+0(FP) I64Load a_len+8(FP) I64Load b_base+16(FP) I64Load b_len+24(FP) Call cmpbody<>(SB) I64Store ret+32(FP) RET // params: a, alen, b, blen // ret: -1/0/1 TEXT cmpbody<>(SB), NOSPLIT, $0-0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 11 04:00:35 UTC 2019 - 1.4K bytes - Viewed (0) -
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/indexbyte_s390x.s
#include "textflag.h" TEXT ·IndexByte(SB),NOSPLIT|NOFRAME,$0-40 MOVD b_base+0(FP), R3// b_base => R3 MOVD b_len+8(FP), R4 // b_len => R4 MOVBZ c+24(FP), R5 // c => R5 MOVD $ret+32(FP), R2 // &ret => R9 BR indexbytebody<>(SB) TEXT ·IndexByteString(SB),NOSPLIT|NOFRAME,$0-32 MOVD s_base+0(FP), R3// s_base => R3 MOVD s_len+8(FP), R4 // s_len => R4 MOVBZ c+16(FP), R5 // c => R5 MOVD $ret+24(FP), R2 // &ret => R9 BR indexbytebody<>(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 08 20:52:47 UTC 2018 - 2.5K 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/compare_arm.s
#include "textflag.h" TEXT ·Compare(SB),NOSPLIT|NOFRAME,$0-28 MOVW a_base+0(FP), R2 MOVW a_len+4(FP), R0 MOVW b_base+12(FP), R3 MOVW b_len+16(FP), R1 ADD $28, R13, R7 B cmpbody<>(SB) TEXT runtime·cmpstring(SB),NOSPLIT|NOFRAME,$0-20 MOVW a_base+0(FP), R2 MOVW a_len+4(FP), R0 MOVW b_base+8(FP), R3 MOVW b_len+12(FP), R1 ADD $20, R13, R7 B cmpbody<>(SB) // On entry: // R0 is the length of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 16:09:38 UTC 2019 - 1.8K bytes - Viewed (0) -
src/internal/bytealg/indexbyte_arm.s
#include "go_asm.h" #include "textflag.h" TEXT ·IndexByte(SB),NOSPLIT,$0-20 MOVW b_base+0(FP), R0 MOVW b_len+4(FP), R1 MOVBU c+12(FP), R2 // byte to find MOVW $ret+16(FP), R5 B indexbytebody<>(SB) TEXT ·IndexByteString(SB),NOSPLIT,$0-16 MOVW s_base+0(FP), R0 MOVW s_len+4(FP), R1 MOVBU c+8(FP), R2 // byte to find MOVW $ret+12(FP), R5 B indexbytebody<>(SB) // input: // R0: data
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 07:37:13 UTC 2019 - 951 bytes - Viewed (0)