Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for cmpb (0.23 sec)

  1. src/runtime/asm_amd64.s

    	MOVQ	SP, (g_stack+stack_hi)(DI)
    
    	// 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. src/runtime/memmove_amd64.s

    	TESTQ	BX, BX
    	JEQ	move_0
    	CMPQ	BX, $2
    	JBE	move_1or2
    	CMPQ	BX, $4
    	JB	move_3
    	JBE	move_4
    	CMPQ	BX, $8
    	JB	move_5through7
    	JE	move_8
    	CMPQ	BX, $16
    	JBE	move_9through16
    	CMPQ	BX, $32
    	JBE	move_17through32
    	CMPQ	BX, $64
    	JBE	move_33through64
    	CMPQ	BX, $128
    	JBE	move_65through128
    	CMPQ	BX, $256
    	JBE	move_129through256
    
    	TESTB	$1, runtime·useAVXmemmove(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 10 15:52:08 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. src/math/big/arith_amd64.s

    	LEAQ 4(BX), DX
    	CMPQ DX, R11
    	JLE U5
    	JMP E5
    
    L5:	MOVQ (R8)(BX*8), AX
    	MULQ R9
    	ADDQ CX, AX
    	ADCQ $0, DX
    	MOVQ AX, (R10)(BX*8)
    	MOVQ DX, CX
    	ADDQ $1, BX		// i++
    
    E5:	CMPQ BX, R11		// i < n
    	JL L5
    
    	MOVQ CX, c+64(FP)
    	RET
    
    
    // func addMulVVW(z, x []Word, y Word) (c Word)
    TEXT ·addMulVVW(SB),NOSPLIT,$0
    	CMPB ·support_adx(SB), $1
    	JEQ adx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/addressingmodes.go

    				// but not the two instructions that led to them being combined here.  For example
    				// (CMPBconstload c (ADDQ x y)) -> (CMPBconstloadidx1 c x y) -> (CMPB c (MOVBloadidx1 x y))
    				// The final pair of instructions turns out to be notably faster, at least in some benchmarks.
    				f.Config.splitLoad(v)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:57 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. src/runtime/mkpreempt.go

    	// Clear the upper bits to get to a clean state. See issue #37174.
    	// It is safe here as Go code don't use the upper bits of Y registers.
    	p("#ifdef GOOS_darwin")
    	p("#ifndef hasAVX")
    	p("CMPB internal∕cpu·X86+const_offsetX86HasAVX(SB), $0")
    	p("JE 2(PC)")
    	p("#endif")
    	p("VZEROUPPER")
    	p("#endif")
    
    	lSSE.save()
    	p("CALL ·asyncPreempt2(SB)")
    	lSSE.restore()
    	l.restore()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	CMPB (BX), R11                          // 44381b
    	CMPB (R11), DL                          // 413813
    	CMPB (R11), R11                         // 45381b
    	CMPB DL, DL                             // 38d2 or 3ad2
    	CMPB DL, R11                            // 4438da or 413ad3
    	CMPB R11, DL                            // 4138d3 or 443ada
    	CMPB R11, R11                           // 4538db or 453adb
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 08 21:38:44 UTC 2021
    - 581.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewrite386.go

    			cmp := v_0.Args[0]
    			b.resetWithControl(Block386GE, cmp)
    			return true
    		}
    		// match: (If (SETEQ cmp) yes no)
    		// result: (EQ cmp yes no)
    		for b.Controls[0].Op == Op386SETEQ {
    			v_0 := b.Controls[0]
    			cmp := v_0.Args[0]
    			b.resetWithControl(Block386EQ, cmp)
    			return true
    		}
    		// match: (If (SETNE cmp) yes no)
    		// result: (NE cmp yes no)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  8. src/crypto/sha256/sha256block_amd64.s

    	SHA256RNDS2		msg, state1, state0		\
    	sha256Msg1		(m,a)
    
    TEXT ·block(SB), 0, $536-32
    	CMPB	·useSHA(SB), $1
    	JE	sha_ni
    	CMPB	·useAVX2(SB), $1
    	JE	avx2
    
    	MOVQ p_base+8(FP), SI
    	MOVQ p_len+16(FP), DX
    	SHRQ $6, DX
    	SHLQ $6, DX
    
    	LEAQ (SI)(DX*1), DI
    	MOVQ DI, 256(SP)
    	CMPQ SI, DI
    	JEQ  end
    
    	MOVQ dig+0(FP), BP
    	MOVL (0*4)(BP), R8  // a = H0
    	MOVL (1*4)(BP), R9  // b = H1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/ssa/shortcircuit_test.go

    			Goto("b1")),
    		Bloc("b1",
    			Valu("cmp1", OpLess64, c.config.Types.Bool, 0, nil, "arg1", "arg2"),
    			If("cmp1", "b2", "b3")),
    		Bloc("b2",
    			Valu("cmp2", OpLess64, c.config.Types.Bool, 0, nil, "arg2", "arg3"),
    			Goto("b3")),
    		Bloc("b3",
    			Valu("phi2", OpPhi, c.config.Types.Bool, 0, nil, "cmp1", "cmp2"),
    			If("phi2", "b4", "b5")),
    		Bloc("b4",
    			Valu("cmp3", OpLess64, c.config.Types.Bool, 0, nil, "arg3", "arg1"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 23:01:51 UTC 2017
    - 1.3K bytes
    - Viewed (0)
Back to top