Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for jnbe (0.15 sec)

  1. src/internal/bytealg/equal_amd64.s

    	// CX = size (want in BX)
    	CMPQ	AX, BX
    	JNE	neq
    	MOVQ	$1, AX	// return 1
    	RET
    neq:
    	MOVQ	AX, SI
    	MOVQ	BX, DI
    	MOVQ	CX, BX
    	JMP	memeqbody<>(SB)
    
    // memequal_varlen(a, b unsafe.Pointer) bool
    TEXT runtime·memequal_varlen<ABIInternal>(SB),NOSPLIT,$0-17
    	// AX = a       (want in SI)
    	// BX = b       (want in DI)
    	// 8(DX) = size (want in BX)
    	CMPQ	AX, BX
    	JNE	neq
    	MOVQ	$1, AX	// return 1
    	RET
    neq:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:34:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/crypto/chacha20poly1305/chacha20poly1305_amd64.s

    	SUBQ    $128, inl
    	LEAQ    128(inp), inp
    
    	MOVQ $8, itr1
    	MOVQ $2, itr2
    
    	CMPQ inl, $128
    	JBE  sealAVX2Tail128
    	CMPQ inl, $256
    	JBE  sealAVX2Tail256
    	CMPQ inl, $384
    	JBE  sealAVX2Tail384
    	CMPQ inl, $512
    	JBE  sealAVX2Tail512
    
    	// We have 448 bytes to hash, but main loop hashes 512 bytes at a time - perform some rounds, before the main loop
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  3. src/internal/bytealg/count_amd64.s

    	PMOVMSKB X1, DX
    	// Count number of matching bytes
    	POPCNTL DX, DX
    	// Accumulate into R12
    	ADDQ DX, R12
    	// Advance to next block.
    	ADDQ	$16, DI
    sseloopentry:
    	CMPQ	DI, AX
    	JBE	sseloop
    
    	// Get the number of bytes to consider in the last 16 bytes
    	ANDQ $15, BX
    	JZ end
    
    	// Create mask to ignore overlap between previous 16 byte block
    	// and the next.
    	MOVQ $16,CX
    	SUBQ BX, CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:54:43 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/internal/bytealg/index_amd64.s

    	JB loop33to63
    fail_avx2:
    	VZEROUPPER
    fail:
    	MOVQ $-1, (R11)
    	RET
    success_avx2:
    	VZEROUPPER
    	JMP success
    sse42:
    #ifndef hasSSE42
    	CMPB internal∕cpu·X86+const_offsetX86HasSSE42(SB), $1
    	JNE no_sse42
    #endif
    	CMPQ AX, $12
    	// PCMPESTRI is slower than normal compare,
    	// so using it makes sense only if we advance 4+ bytes per compare
    	// This value was determined experimentally and is the ~same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:20:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. src/runtime/asm_amd64.s

    	// find out information about the processor we're on
    	MOVL	$0, AX
    	CPUID
    	CMPL	AX, $0
    	JE	nocpuinfo
    
    	CMPL	BX, $0x756E6547  // "Genu"
    	JNE	notintel
    	CMPL	DX, $0x49656E69  // "ineI"
    	JNE	notintel
    	CMPL	CX, $0x6C65746E  // "ntel"
    	JNE	notintel
    	MOVB	$1, runtime·isIntel(SB)
    
    notintel:
    	// Load EAX=1 cpuid flags
    	MOVL	$1, AX
    	CPUID
    	MOVL	AX, runtime·processorVersionInfo(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  6. src/runtime/asm_386.s

    has_cpuid:
    	MOVL	$0, AX
    	CPUID
    	MOVL	AX, SI
    	CMPL	AX, $0
    	JE	nocpuinfo
    
    	CMPL	BX, $0x756E6547  // "Genu"
    	JNE	notintel
    	CMPL	DX, $0x49656E69  // "ineI"
    	JNE	notintel
    	CMPL	CX, $0x6C65746E  // "ntel"
    	JNE	notintel
    	MOVB	$1, runtime·isIntel(SB)
    notintel:
    
    	// Load EAX=1 cpuid flags
    	MOVL	$1, AX
    	CPUID
    	MOVL	CX, DI // Move to global variable clobbers CX when generating PIC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. test/codegen/copy.go

    func ptrEqual() {
    	// amd64:-"JEQ",-"JNE"
    	// ppc64x:-"BEQ",-"BNE"
    	// s390x:-"BEQ",-"BNE"
    	copy(x[:], x[:])
    }
    
    func ptrOneOffset() {
    	// amd64:-"JEQ",-"JNE"
    	// ppc64x:-"BEQ",-"BNE"
    	// s390x:-"BEQ",-"BNE"
    	copy(x[1:], x[:])
    }
    
    func ptrBothOffset() {
    	// amd64:-"JEQ",-"JNE"
    	// ppc64x:-"BEQ",-"BNE"
    	// s390x:-"BEQ",-"BNE"
    	copy(x[1:], x[2:])
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 14:09:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. src/runtime/sys_darwin_amd64.s

    	MOVQ	DI, BX
    	CALL	libc_mach_absolute_time(SB)
    	MOVQ	AX, 0(BX)
    	MOVL	timebase<>+machTimebaseInfo_numer(SB), SI
    	MOVL	timebase<>+machTimebaseInfo_denom(SB), DI // atomic read
    	TESTL	DI, DI
    	JNE	initialized
    
    	SUBQ	$(machTimebaseInfo__size+15)/16*16, SP
    	MOVQ	SP, DI
    	CALL	libc_mach_timebase_info(SB)
    	MOVL	machTimebaseInfo_numer(SP), SI
    	MOVL	machTimebaseInfo_denom(SP), DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  9. src/crypto/subtle/xor_amd64.s

    aligned:
    	MOVQ $0, AX // position in slices
    
    	PCALIGN $16
    loop16b:
    	MOVOU (SI)(AX*1), X0   // XOR 16byte forwards.
    	MOVOU (CX)(AX*1), X1
    	PXOR  X1, X0
    	MOVOU X0, (BX)(AX*1)
    	ADDQ  $16, AX
    	CMPQ  DX, AX
    	JNE   loop16b
    	RET
    
    	PCALIGN $16
    loop_1b:
    	SUBQ  $1, DX           // XOR 1byte backwards.
    	MOVB  (SI)(DX*1), DI
    	MOVB  (CX)(DX*1), AX
    	XORB  AX, DI
    	MOVB  DI, (BX)(DX*1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 18:14:32 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/runtime/time_windows_386.s

    	MOVL	(_INTERRUPT_TIME+time_hi2), DI
    	CMPL	AX, DI
    	JNE	loop
    
    	// w = DI:CX
    	// multiply by 100
    	MOVL	$100, AX
    	MULL	CX
    	IMULL	$100, DI
    	ADDL	DI, DX
    	// w*100 = DX:AX
    	MOVL	AX, mono+12(FP)
    	MOVL	DX, mono+16(FP)
    
    wall:
    	MOVL	(_SYSTEM_TIME+time_hi1), CX
    	MOVL	(_SYSTEM_TIME+time_lo), AX
    	MOVL	(_SYSTEM_TIME+time_hi2), DX
    	CMPL	CX, DX
    	JNE	wall
    
    	// w = DX:AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top