Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for bx (0.1 sec)

  1. src/syscall/asm_linux_386.s

    #define INVOKE_SYSCALL	INT	$0x80
    
    // func rawVforkSyscall(trap, a1, a2, a3 uintptr) (r1, err uintptr)
    TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-24
    	MOVL	trap+0(FP), AX	// syscall entry
    	MOVL	a1+4(FP), BX
    	MOVL	a2+8(FP), CX
    	MOVL	a3+12(FP), DX
    	POPL	SI // preserve return address
    	INVOKE_SYSCALL
    	PUSHL	SI
    	CMPL	AX, $0xfffff001
    	JLS	ok
    	MOVL	$-1, r1+16(FP)
    	NEGL	AX
    	MOVL	AX, err+20(FP)
    	RET
    ok:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/internal/bytealg/index_amd64.s

    	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
    	JA   _5_or_more
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:20:48 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/runtime/race_amd64.s

    // R11 = caller's return address
    TEXT	racefuncenter<>(SB), NOSPLIT|NOFRAME, $0-0
    	MOVQ	DX, BX		// save function entry context (for closures)
    	MOVQ	g_racectx(R14), RARG0	// goroutine context
    	MOVQ	R11, RARG1
    	// void __tsan_func_enter(ThreadState *thr, void *pc);
    	MOVQ	$__tsan_func_enter(SB), AX
    	// racecall<> preserves BX
    	CALL	racecall<>(SB)
    	MOVQ	BX, DX	// restore function entry context
    	RET
    
    // func runtime·racefuncexit()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. test/codegen/logic.go

    // (TESTQ x y) if the ANDQ has other uses. If that rewrite happens, then one
    // of the args of the ANDQ needs to be saved so it can be used as the arg to TESTQ.
    func andWithUse(x, y int) int {
    	z := x & y
    	// amd64:`TESTQ\s(AX, AX|BX, BX|CX, CX|DX, DX|SI, SI|DI, DI|R8, R8|R9, R9|R10, R10|R11, R11|R12, R12|R13, R13|R15, R15)`
    	if z == 0 {
    		return 77
    	}
    	// use z by returning it
    	return z
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 16:32:25 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/runtime/cgo/asm_amd64.s

    // Use a local trampoline, to avoid taking the address of a dynamically exported
    // function.
    TEXT ·set_crosscall2(SB),NOSPLIT,$0-0
    	MOVQ	_crosscall2_ptr(SB), AX
    	MOVQ	$crosscall2_trampoline<>(SB), BX
    	MOVQ	BX, (AX)
    	RET
    
    TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0
    	JMP	crosscall2(SB)
    
    // Called by C code generated by cmd/cgo.
    // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/internal/runtime/syscall/asm_linux_386.s

    #define INVOKE_SYSCALL	INT	$0x80
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    //
    // Syscall # in AX, args in BX CX DX SI DI BP, return in AX
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	MOVL	num+0(FP), AX	// syscall entry
    	MOVL	a1+4(FP), BX
    	MOVL	a2+8(FP), CX
    	MOVL	a3+12(FP), DX
    	MOVL	a4+16(FP), SI
    	MOVL	a5+20(FP), DI
    	MOVL	a6+24(FP), BP
    	INVOKE_SYSCALL
    	CMPL	AX, $0xfffff001
    	JLS	ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 861 bytes
    - Viewed (0)
  7. src/crypto/internal/nistec/p256_asm_amd64.s

    	// Move input to stack in order to free registers
    	MOVQ res+0(FP), AX
    	MOVQ in1+8(FP), BX
    	MOVQ in2+16(FP), CX
    	MOVQ sign+24(FP), DX
    	MOVQ sel+32(FP), t1
    	MOVQ zero+40(FP), t2
    
    	MOVOU (16*0)(BX), X0
    	MOVOU (16*1)(BX), X1
    	MOVOU (16*2)(BX), X2
    	MOVOU (16*3)(BX), X3
    	MOVOU (16*4)(BX), X4
    	MOVOU (16*5)(BX), X5
    
    	MOVOU X0, x1in(16*0)
    	MOVOU X1, x1in(16*1)
    	MOVOU X2, y1in(16*0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  8. src/runtime/sys_freebsd_amd64.s

    	MOVQ	old+16(FP), DX		// arg 3 oact
    	MOVQ	_cgo_sigaction(SB), AX
    	MOVQ	SP, BX			// callee-saved
    	ANDQ	$~15, SP		// alignment as per amd64 psABI
    	CALL	AX
    	MOVQ	BX, SP
    	MOVL	AX, ret+24(FP)
    	RET
    
    TEXT runtime·sigfwd(SB),NOSPLIT,$0-32
    	MOVQ	fn+0(FP),    AX
    	MOVL	sig+8(FP),   DI
    	MOVQ	info+16(FP), SI
    	MOVQ	ctx+24(FP),  DX
    	MOVQ	SP, BX		// callee-saved
    	ANDQ	$~15, SP	// alignment for x86_64 ABI
    	CALL	AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_386.s

    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
    	CALL	runtime·entersyscall(SB)
    	MOVL	trap+0(FP), AX  // syscall entry
    	MOVL	a1+4(FP), BX
    	MOVL	a2+8(FP), CX
    	MOVL	a3+12(FP), DX
    	MOVL	$0, SI
    	MOVL	$0, DI
    	INVOKE_SYSCALL
    	MOVL	AX, r1+16(FP)
    	MOVL	DX, r2+20(FP)
    	CALL	runtime·exitsyscall(SB)
    	RET
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0-28
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. src/runtime/preempt_amd64.s

    	PUSHFQ
    	// obj doesn't understand ADD/SUB on SP, but does understand ADJSP
    	ADJSP $368
    	// But vet doesn't know ADJSP, so suppress vet stack checking
    	NOP SP
    	MOVQ AX, 0(SP)
    	MOVQ CX, 8(SP)
    	MOVQ DX, 16(SP)
    	MOVQ BX, 24(SP)
    	MOVQ SI, 32(SP)
    	MOVQ DI, 40(SP)
    	MOVQ R8, 48(SP)
    	MOVQ R9, 56(SP)
    	MOVQ R10, 64(SP)
    	MOVQ R11, 72(SP)
    	MOVQ R12, 80(SP)
    	MOVQ R13, 88(SP)
    	MOVQ R14, 96(SP)
    	MOVQ R15, 104(SP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:17:01 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top