Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for cmp1 (2.33 sec)

  1. src/internal/bytealg/compare_ppc64x.s

    	RET
    
    	PCALIGN	$16
    cmp4:	// 4 - 7B
    	CMP	R9,$4
    	BLT	cmp2
    	ANDCC	$3,R9,R9
    	_LWBEX	(R0)(R5),R10
    	_LWBEX	(R0)(R6),R11
    	_LWBEX	(R9)(R5),R12
    	_LWBEX	(R9)(R6),R14
    	RLDIMI	$32,R10,$0,R12
    	RLDIMI	$32,R11,$0,R14
    	CMPU	R12,R14
    	BR	cmp0
    
    	PCALIGN $16
    cmp2:	// 2 - 3B
    	CMP	R9,$2
    	BLT	cmp1
    	ANDCC	$1,R9,R9
    	_LHBEX	(R0)(R5),R10
    	_LHBEX	(R0)(R6),R11
    	_LHBEX	(R9)(R5),R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:33:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. src/internal/bytealg/compare_riscv64.s

    	MOVBU	3(X12), X20
    	MOVBU	4(X12), X22
    	MOVBU	5(X12), X24
    	MOVBU	6(X12), X28
    	MOVBU	7(X12), X30
    	BNE	X8, X9, cmp1a
    	BNE	X15, X16, cmp1b
    	BNE	X17, X18, cmp1c
    	BNE	X19, X20, cmp1d
    	BNE	X21, X22, cmp1e
    	BNE	X23, X24, cmp1f
    	BNE	X25, X28, cmp1g
    	BNE	X29, X30, cmp1h
    	ADD	$8, X10
    	ADD	$8, X12
    	SUB	$8, X5
    	BGE	X5, X6, compare8_unaligned
    	BEQZ	X5, cmp_len
    
    check4_unaligned:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/internal/bytealg/indexbyte_amd64.s

    	// Shuffle X0 around so that each byte contains
    	// the character we're looking for.
    	MOVD AX, X0
    	PUNPCKLBW X0, X0
    	PUNPCKLBW X0, X0
    	PSHUFL $0, X0, X0
    
    	CMPQ BX, $16
    	JLT small
    
    	MOVQ SI, DI
    
    	CMPQ BX, $32
    	JA avx2
    sse:
    	LEAQ	-16(SI)(BX*1), AX	// AX = address of last 16 bytes
    	JMP	sseloopentry
    
    	PCALIGN $16
    sseloop:
    	// Move the next 16-byte chunk of the data into X1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 19:06:01 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmp/cmp.go

    // Copyright 2023 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.
    
    // Package cmp provides types and functions related to comparing
    // ordered values.
    package cmp
    
    // Ordered is a constraint that permits any ordered type: any type
    // that supports the operators < <= >= >.
    // If future releases of Go add new ordered types,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/internal/bytealg/count_ppc64x.s

    #else
    tail:	// Count the last 0 - 31 bytes.
    	CMP	R4, $16
    	BLT	tail_8
    	MOVD	(R3), R12
    	MOVD	8(R3), R14
    	CMPB	R12, R5, R12
    	CMPB	R14, R5, R14
    	POPCNTD	R12, R12
    	POPCNTD	R14, R14
    	ADD	R12, R18, R18
    	ADD	R14, R18, R18
    	ADD	$16, R3, R3
    	ADD	$-16, R4, R4
    
    tail_8:	// Count the remaining 0 - 15 bytes.
    	CMP	R4, $8
    	BLT	tail_4
    	MOVD	(R3), R12
    	CMPB	R12, R5, R12
    	POPCNTD	R12, R12
    	ADD	R12, R18, R18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 20:30:44 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/internal/bytealg/equal_amd64.s

    //   b in DI
    //   count in BX
    // Output:
    //   result in AX
    TEXT memeqbody<>(SB),NOSPLIT,$0-0
    	CMPQ	BX, $8
    	JB	small
    	CMPQ	BX, $64
    	JB	bigloop
    #ifndef hasAVX2
    	CMPB	internal∕cpu·X86+const_offsetX86HasAVX2(SB), $1
    	JE	hugeloop_avx2
    
    	// 64 bytes at a time using xmm registers
    	PCALIGN $16
    hugeloop:
    	CMPQ	BX, $64
    	JB	bigloop
    	MOVOU	(SI), X0
    	MOVOU	(DI), X1
    	MOVOU	16(SI), X2
    	MOVOU	16(DI), X3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:34:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/syscall/exec_unix_test.go

    		t.Fatalf("Child's process group is not the child's process ID")
    	}
    }
    
    func TestPgid(t *testing.T) {
    	ppid, ppgrp := parent()
    
    	cmd1 := create(t)
    
    	cmd1.proc.SysProcAttr = &syscall.SysProcAttr{Setpgid: true}
    	cmd1.Start()
    	defer cmd1.Stop()
    
    	cpid1, cpgrp1 := cmd1.Info()
    
    	if cpid1 == ppid {
    		t.Fatalf("Parent and child 1 have the same process ID")
    	}
    
    	if cpgrp1 == ppgrp {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/runtime/sys_windows_386.s

    TEXT runtime·asmstdcall(SB),NOSPLIT,$0
    	MOVL	fn+0(FP), BX
    	MOVL	SP, BP	// save stack pointer
    
    	// SetLastError(0).
    	MOVL	$0, 0x34(FS)
    
    	MOVL	libcall_n(BX), CX
    
    	// Fast version, do not store args on the stack.
    	CMPL	CX, $0
    	JE	docall
    
    	// Copy args to the stack.
    	MOVL	CX, AX
    	SALL	$2, AX
    	SUBL	AX, SP			// room for args
    	MOVL	SP, DI
    	MOVL	libcall_args(BX), SI
    	CLD
    	REP; MOVSL
    
    docall:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  9. src/internal/bytealg/count_amd64.s

    #include "textflag.h"
    
    TEXT ·Count(SB),NOSPLIT,$0-40
    #ifndef hasPOPCNT
    	CMPB	internal∕cpu·X86+const_offsetX86HasPOPCNT(SB), $1
    	JEQ	2(PC)
    	JMP	·countGeneric(SB)
    #endif
    	MOVQ	b_base+0(FP), SI
    	MOVQ	b_len+8(FP), BX
    	MOVB	c+24(FP), AL
    	LEAQ	ret+32(FP), R8
    	JMP	countbody<>(SB)
    
    TEXT ·CountString(SB),NOSPLIT,$0-32
    #ifndef hasPOPCNT
    	CMPB	internal∕cpu·X86+const_offsetX86HasPOPCNT(SB), $1
    	JEQ	2(PC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. src/crypto/md5/md5block_386.s

    	MOVL	dig+0(FP),	BP
    	MOVL	p+4(FP),	SI
    	MOVL	p_len+8(FP), DX
    	SHRL	$6,		DX
    	SHLL	$6,		DX
    
    	LEAL	(SI)(DX*1),	DI
    	MOVL	(0*4)(BP),	AX
    	MOVL	(1*4)(BP),	BX
    	MOVL	(2*4)(BP),	CX
    	MOVL	(3*4)(BP),	DX
    
    	CMPL	SI,		DI
    	JEQ	end
    
    	MOVL	DI,		16(SP)
    
    loop:
    	MOVL	AX,		0(SP)
    	MOVL	BX,		4(SP)
    	MOVL	CX,		8(SP)
    	MOVL	DX,		12(SP)
    
    	MOVL	(0*4)(SI),	DI
    	MOVL	DX,		BP
    
    	ROUND1(AX,BX,CX,DX, 1,0xd76aa478, 7);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top