Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for ecx (0.15 sec)

  1. src/runtime/defs_windows_386.go

    func (c *context) set_fp(x uintptr) {}
    
    func prepareContextForSigResume(c *context) {
    	c.edx = c.esp
    	c.ecx = c.eip
    }
    
    func dumpregs(r *context) {
    	print("eax     ", hex(r.eax), "\n")
    	print("ebx     ", hex(r.ebx), "\n")
    	print("ecx     ", hex(r.ecx), "\n")
    	print("edx     ", hex(r.edx), "\n")
    	print("edi     ", hex(r.edi), "\n")
    	print("esi     ", hex(r.esi), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 08:26:52 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/runtime/signal_linux_386.go

    func (c *sigctxt) regs() *sigcontext { return &(*ucontext)(c.ctxt).uc_mcontext }
    
    func (c *sigctxt) eax() uint32 { return c.regs().eax }
    func (c *sigctxt) ebx() uint32 { return c.regs().ebx }
    func (c *sigctxt) ecx() uint32 { return c.regs().ecx }
    func (c *sigctxt) edx() uint32 { return c.regs().edx }
    func (c *sigctxt) edi() uint32 { return c.regs().edi }
    func (c *sigctxt) esi() uint32 { return c.regs().esi }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. src/crypto/internal/boring/build-goboring.sh

    	movq %rdi, %rax
    	divq %r8
    
    	# expand remainder to 128 for return
    	movq %rdx, %rax
    	xorl %edx, %edx
    	ret
    
    1:
    	# crash - only want 64-bit divisor
    	xorl %ecx, %ecx
    	movl %ecx, 0(%ecx)
    	jmp 1b
    
    .section .note.GNU-stack,"",@progbits
    EOF
    
    cat >umod-arm64.c <<'EOF'
    typedef unsigned int u128 __attribute__((mode(TI)));
    
    static u128 div(u128 x, u128 y, u128 *rp) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. src/internal/cpu/cpu_x86.go

    		return ""
    	}
    
    	data := make([]byte, 0, 3*4*4)
    
    	var eax, ebx, ecx, edx uint32
    	eax, ebx, ecx, edx = cpuid(0x80000002, 0)
    	data = appendBytes(data, eax, ebx, ecx, edx)
    	eax, ebx, ecx, edx = cpuid(0x80000003, 0)
    	data = appendBytes(data, eax, ebx, ecx, edx)
    	eax, ebx, ecx, edx = cpuid(0x80000004, 0)
    	data = appendBytes(data, eax, ebx, ecx, edx)
    
    	// Trim leading spaces.
    	for len(data) > 0 && data[0] == ' ' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:20 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c

    int
    gccgoGetCpuidCount(uint32_t leaf, uint32_t subleaf,
                       uint32_t *eax, uint32_t *ebx,
                       uint32_t *ecx, uint32_t *edx)
    {
    	return __get_cpuid_count(leaf, subleaf, eax, ebx, ecx, edx);
    }
    
    #pragma GCC diagnostic ignored "-Wunknown-pragmas"
    #pragma GCC push_options
    #pragma GCC target("xsave")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go

    //go:build (386 || amd64 || amd64p32) && gc
    
    package cpu
    
    // cpuid is implemented in cpu_x86.s for gc compiler
    // and in cpu_gccgo.c for gccgo.
    func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
    
    // xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
    // and in cpu_gccgo.c for gccgo.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 499 bytes
    - Viewed (0)
  7. src/internal/cpu/cpu_x86.s

    //go:build 386 || amd64
    
    #include "textflag.h"
    
    // func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
    TEXT ·cpuid(SB), NOSPLIT, $0-24
    	MOVL eaxArg+0(FP), AX
    	MOVL ecxArg+4(FP), CX
    	CPUID
    	MOVL AX, eax+8(FP)
    	MOVL BX, ebx+12(FP)
    	MOVL CX, ecx+16(FP)
    	MOVL DX, edx+20(FP)
    	RET
    
    // func xgetbv() (eax, edx uint32)
    TEXT ·xgetbv(SB),NOSPLIT,$0-8
    	MOVL $0, CX
    	XGETBV
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 14 21:23:36 UTC 2022
    - 831 bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_x86.s

    //go:build (386 || amd64 || amd64p32) && gc
    
    #include "textflag.h"
    
    // func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
    TEXT ·cpuid(SB), NOSPLIT, $0-24
    	MOVL eaxArg+0(FP), AX
    	MOVL ecxArg+4(FP), CX
    	CPUID
    	MOVL AX, eax+8(FP)
    	MOVL BX, ebx+12(FP)
    	MOVL CX, ecx+16(FP)
    	MOVL DX, edx+20(FP)
    	RET
    
    // func xgetbv() (eax, edx uint32)
    TEXT ·xgetbv(SB),NOSPLIT,$0-8
    	MOVL $0, CX
    	XGETBV
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 600 bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go

    //go:build (386 || amd64 || amd64p32) && gccgo
    
    package cpu
    
    //extern gccgoGetCpuidCount
    func gccgoGetCpuidCount(eaxArg, ecxArg uint32, eax, ebx, ecx, edx *uint32)
    
    func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32) {
    	var a, b, c, d uint32
    	gccgoGetCpuidCount(eaxArg, ecxArg, &a, &b, &c, &d)
    	return a, b, c, d
    }
    
    //extern gccgoXgetbv
    func gccgoXgetbv(eax, edx *uint32)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 795 bytes
    - Viewed (0)
  10. src/runtime/signal_386.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/goarch"
    	"unsafe"
    )
    
    func dumpregs(c *sigctxt) {
    	print("eax    ", hex(c.eax()), "\n")
    	print("ebx    ", hex(c.ebx()), "\n")
    	print("ecx    ", hex(c.ecx()), "\n")
    	print("edx    ", hex(c.edx()), "\n")
    	print("edi    ", hex(c.edi()), "\n")
    	print("esi    ", hex(c.esi()), "\n")
    	print("ebp    ", hex(c.ebp()), "\n")
    	print("esp    ", hex(c.esp()), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top