Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for JB (0.18 sec)

  1. src/internal/bytealg/index_amd64.s

    	JZ success
    	ADDQ $1,DI
    	CMPQ DI,DX
    	JB loop2
    	JMP fail
    _3_or_more:
    	CMPQ AX, $3
    	JA   _4_or_more
    	MOVW 1(R8), BX
    	MOVW (R8), R8
    	LEAQ -2(DI)(DX*1), DX
    loop3:
    	MOVW (DI), SI
    	CMPW SI,R8
    	JZ   partial_success3
    	ADDQ $1,DI
    	CMPQ DI,DX
    	JB loop3
    	JMP fail
    partial_success3:
    	MOVW 1(DI), SI
    	CMPW SI,BX
    	JZ success
    	ADDQ $1,DI
    	CMPQ DI,DX
    	JB loop3
    	JMP fail
    _4_or_more:
    	CMPQ AX, $4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:20:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  2. src/internal/bytealg/equal_amd64.s

    //   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
    	MOVOU	32(SI), X4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:34:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. operator/pkg/util/yaml.go

    	if y == "" {
    		return nil
    	}
    	jb, err := yaml.YAMLToJSON([]byte(y))
    	if err != nil {
    		return err
    	}
    
    	if allowUnknownField {
    		err = protomarshal.UnmarshalAllowUnknown(jb, out)
    	} else {
    		err = protomarshal.Unmarshal(jb, out)
    	}
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/internal/bytealg/equal_386.s

    eq:
    	MOVB    $1, ret+8(FP)
    	RET
    
    // a in SI
    // b in DI
    // count in BX
    // address of result byte in AX
    TEXT memeqbody<>(SB),NOSPLIT,$0-0
    	CMPL	BX, $4
    	JB	small
    
    	// 64 bytes at a time using xmm registers
    hugeloop:
    	CMPL	BX, $64
    	JB	bigloop
    #ifdef GO386_softfloat
    	JMP	bigloop
    #endif
    	MOVOU	(SI), X0
    	MOVOU	(DI), X1
    	MOVOU	16(SI), X2
    	MOVOU	16(DI), X3
    	MOVOU	32(SI), X4
    	MOVOU	32(DI), X5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. src/internal/bytealg/compare_386.s

    TEXT cmpbody<>(SB),NOSPLIT,$0-0
    	MOVL	DX, BP
    	SUBL	BX, DX // DX = blen-alen
    	JLE	2(PC)
    	MOVL	BX, BP // BP = min(alen, blen)
    	CMPL	SI, DI
    	JEQ	allsame
    	CMPL	BP, $4
    	JB	small
    #ifdef GO386_softfloat
    	JMP	mediumloop
    #endif
    largeloop:
    	CMPL	BP, $16
    	JB	mediumloop
    	MOVOU	(SI), X0
    	MOVOU	(DI), X1
    	PCMPEQB X0, X1
    	PMOVMSKB X1, BX
    	XORL	$0xffff, BX	// convert EQ to NE
    	JNE	diff16	// branch if at least one byte is not equal
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. src/crypto/aes/asm_amd64.s

    TEXT ·encryptBlockAsm(SB),NOSPLIT,$0
    	MOVQ nr+0(FP), CX
    	MOVQ xk+8(FP), AX
    	MOVQ dst+16(FP), DX
    	MOVQ src+24(FP), BX
    	MOVUPS 0(AX), X1
    	MOVUPS 0(BX), X0
    	ADDQ $16, AX
    	PXOR X1, X0
    	SUBQ $12, CX
    	JE Lenc192
    	JB Lenc128
    Lenc256:
    	MOVUPS 0(AX), X1
    	AESENC X1, X0
    	MOVUPS 16(AX), X1
    	AESENC X1, X0
    	ADDQ $32, AX
    Lenc192:
    	MOVUPS 0(AX), X1
    	AESENC X1, X0
    	MOVUPS 16(AX), X1
    	AESENC X1, X0
    	ADDQ $32, AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. pkg/config/model_test.go

    			json:  `{"name":"foobar"}`,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(fmt.Sprintf("%T", tt.input), func(t *testing.T) {
    			jb, err := ToJSON(tt.input)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if string(jb) != tt.json {
    				t.Fatalf("got %v want %v", string(jb), tt.json)
    			}
    		})
    	}
    }
    
    func TestToMap(t *testing.T) {
    	cases := []struct {
    		input Spec
    		mp    map[string]any
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/amd64.s

    	SUBQ foo+4(SB), DI
    	SUBQ $4, 8(R12)
    	SUBQ R11, 8(R12)
    	SUBQ R11, foo+4(SB)
    
    // LTYPE4 remrim	{ outcode($1, &$2); }
    	CMPB	CX, $4
    
    // LTYPER nonrel	{ outcode($1, &$2); }
    label:
    	JB	-4(PC) // JCS -4(PC)
    	JB	label // JCS 17
    
    // LTYPEC spec3	{ outcode($1, &$2); }
    	JCS	2(PC)
    	JMP	-4(PC)
    	JCS	2(PC)
    	JMP	label // JMP 17
    	JCS	2(PC)
    	JMP	foo+4(SB)
    	JCS	2(PC)
    	JMP	bar<>+4(SB)
    	JCS	2(PC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 18:57:21 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  9. src/runtime/memclr_plan9_386.s

    TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-8
    	MOVL	ptr+0(FP), DI
    	MOVL	n+4(FP), BX
    	XORL	AX, AX
    
    tail:
    	TESTL	BX, BX
    	JEQ	_0
    	CMPL	BX, $2
    	JBE	_1or2
    	CMPL	BX, $4
    	JB	_3
    	JE	_4
    	CMPL	BX, $8
    	JBE	_5through8
    	CMPL	BX, $16
    	JBE	_9through16
    	MOVL	BX, CX
    	SHRL	$2, CX
    	REP
    	STOSL
    	ANDL	$3, BX
    	JNE	tail
    	RET
    
    _1or2:
    	MOVB	AX, (DI)
    	MOVB	AX, -1(DI)(BX*1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 29 19:11:07 UTC 2021
    - 983 bytes
    - Viewed (0)
  10. src/internal/bytealg/compare_amd64.s

    // output:
    //   AX = output (-1/0/1)
    TEXT cmpbody<>(SB),NOSPLIT,$0-0
    	CMPQ	SI, DI
    	JEQ	allsame
    	CMPQ	BX, DX
    	MOVQ	DX, R8
    	CMOVQLT	BX, R8 // R8 = min(alen, blen) = # of bytes to compare
    	CMPQ	R8, $8
    	JB	small
    
    	CMPQ	R8, $63
    	JBE	loop
    #ifndef hasAVX2
    	CMPB	internal∕cpu·X86+const_offsetX86HasAVX2(SB), $1
    	JEQ     big_loop_avx2
    	JMP	big_loop
    #else
    	JMP	big_loop_avx2
    #endif
    loop:
    	CMPQ	R8, $16
    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