Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for _base (0.11 sec)

  1. src/internal/bytealg/compare_mipsx.s

    // license that can be found in the LICENSE file.
    
    //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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. src/internal/bytealg/compare_loong64.s

    #include "textflag.h"
    
    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)
  3. src/internal/bytealg/compare_mips64x.s

    //go:build mips64 || mips64le
    
    #include "go_asm.h"
    #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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/bytealg/equal_riscv64.s

    TEXT runtime·memequal<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-25
    	// X10 = a_base
    	// X11 = b_base
    	// X12 = size
    	JMP	memequal<>(SB)
    
    // func memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-17
    	MOV	8(CTXT), X12    // compiler stores size at offset 8 in the closure
    	// X10 = a_base
    	// X11 = b_base
    	JMP	memequal<>(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. src/internal/bytealg/compare_arm64.s

    TEXT ·Compare<ABIInternal>(SB),NOSPLIT|NOFRAME,$0-56
    	// 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)
  6. 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:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  7. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 01:59:01 UTC 2023
    - 858 bytes
    - Viewed (0)
  8. src/crypto/sha256/sha256block_arm64.s

    	SHA256H2	V9.S4, V8, V3 \
    	VMOV	V2.B16, V8.B16
    
    // func sha256block(h []uint32, p []byte, k []uint32)
    TEXT ·sha256block(SB),NOSPLIT,$0
    	MOVD	h_base+0(FP), R0                           // Hash value first address
    	MOVD	p_base+24(FP), R1                          // message first address
    	MOVD	k_base+48(FP), R2                          // k constants first address
    	MOVD	p_len+32(FP), R3                           // message length
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/internal/bytealg/indexbyte_mips64x.s

    #include "go_asm.h"
    #include "textflag.h"
    
    TEXT ·IndexByte(SB),NOSPLIT,$0-40
    	MOVV	b_base+0(FP), R1
    	MOVV	b_len+8(FP), R2
    	MOVBU	c+24(FP), R3	// byte to find
    	MOVV	R1, R4		// store base for later
    	ADDV	R1, R2		// end
    	ADDV	$-1, R1
    
    loop:
    	ADDV	$1, R1
    	BEQ	R1, R2, notfound
    	MOVBU	(R1), R5
    	BNE	R3, R5, loop
    
    	SUBV	R4, R1		// remove base
    	MOVV	R1, ret+32(FP)
    	RET
    
    notfound:
    	MOVV	$-1, R1
    	MOVV	R1, ret+32(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 985 bytes
    - Viewed (0)
  10. src/internal/bytealg/compare_amd64.s

    TEXT ·Compare<ABIInternal>(SB),NOSPLIT,$0-56
    	// 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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top