Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CMPL (0.03 sec)

  1. src/runtime/asm_386.s

    	MOVL	$1, 0(SP)
    	CALL	runtime·exit(SB)
    	CALL	runtime·abort(SB)
    
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  2. test/codegen/comparisons.go

    	// ppc64le:-`MOVBZ\t`
    	// s390x:-`MOVBZ\t`
    	return a == b
    }
    
    func CompareArray2(a, b [3]uint16) bool {
    	// amd64:`CMPL\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	// amd64:`CMPW\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	return a == b
    }
    
    func CompareArray3(a, b [3]int16) bool {
    	// amd64:`CMPL\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	// amd64:`CMPW\tcommand-line-arguments[.+_a-z0-9]+\(SP\), [A-Z]`
    	return a == b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 16:31:02 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. src/runtime/sys_darwin_amd64.s

    	MOVQ	_cgo_callers(SB), AX
    	JMP	AX
    
    sigtramp:
    	JMP	runtime·sigtramp(SB)
    
    sigtrampnog:
    	// Signal arrived on a non-Go thread. If this is SIGPROF, get a
    	// stack trace.
    	CMPL	DI, $27 // 27 == SIGPROF
    	JNZ	sigtramp
    
    	// Lock sigprofCallersUse.
    	MOVL	$0, AX
    	MOVL	$1, CX
    	MOVQ	$runtime·sigprofCallersUse(SB), R11
    	LOCK
    	CMPXCHGL	CX, 0(R11)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  4. test/codegen/memops.go

    	if t.x16 == 7 {
    		return 1
    	}
    	// amd64:`CMPL\t.*\(SP\), [$]7`
    	if t.x32 == 7 {
    		return 1
    	}
    	// amd64:`CMPQ\t.*\(SP\), [$]7`
    	if t.x64 == 7 {
    		return 1
    	}
    	return 0
    }
    
    func compMem3(x, y *int) (int, bool) {
    	// We can do comparisons of a register with memory even if
    	// the register is used subsequently.
    	r := *x
    	// amd64:`CMPQ\t\(`
    	// 386:`CMPL\t\(`
    	return r, r < *y
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top