Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for ebx (0.1 sec)

  1. src/runtime/cgo/gcc_386.S

     *
     * Calling into the gc tool chain, where all registers are caller save.
     * Called from standard x86 ABI, where %ebp, %ebx, %esi,
     * and %edi are callee-save, so they must be saved explicitly.
     */
    .globl EXT(crosscall1)
    EXT(crosscall1):
    	pushl %ebp
    	movl %esp, %ebp
    	pushl %ebx
    	pushl %esi
    	pushl %edi
    
    	movl 16(%ebp), %eax	/* g */
    	pushl %eax
    	movl 12(%ebp), %eax	/* setg_gcc */
    	call *%eax
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 12 03:56:58 UTC 2023
    - 959 bytes
    - Viewed (0)
  2. 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")
    	print("ebp     ", hex(r.ebp), "\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)
  3. src/runtime/signal_linux_386.go

    }
    
    //go:nosplit
    //go:nowritebarrierrec
    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 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 17 18:54:48 UTC 2021
    - 1.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/internal/cpu/cpu_x86.s

    // license that can be found in the LICENSE file.
    
    //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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 14 21:23:36 UTC 2022
    - 831 bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c

    // Need to wrap __get_cpuid_count because it's declared as static.
    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)
  7. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 600 bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go

    // license that can be found in the LICENSE file.
    
    //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)
  9. 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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. 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)
Back to top