Searched refs:ecx (Results 26 - 50 of 79) sorted by last modified time

1234

/haiku/src/system/boot/platform/bios_ia32/
H A Dlong_asm.S30 movl gLongLA57, %ecx
31 shl $12, %ecx
43 orl %ecx, %eax
51 movl $0xc0000080, %ecx
58 movl %cr0, %ecx
59 orl $(1 << 31), %ecx
60 movl %ecx, %cr0
H A Dsupport.S11 movl 4(%esp), %ecx
12 shrl $4, %ecx
H A Dbios.cpp32 "ecx: 0x%" B_PRIx32 ", edx: 0x%" B_PRIx32 ", esi: 0x%" B_PRIx32 ", "
34 num, regs->eax, regs->ebx, regs->ecx, regs->edx, regs->esi, regs->edi,
H A Dshell.S318 mov $(_end - LOAD_ADDRESS), %ecx
319 add $3, %ecx
320 shr $2, %ecx
371 movl $0x20000, %ecx
H A Dinterrupts.cpp78 uint32 ecx; member in struct:interrupt_frame
162 kprintf(REG(eax) " " REG(ebx) " " REG(ecx) " " REG(edx) "\n",
163 frame.eax, frame.ebx, frame.ecx, frame.edx);
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Dsupport.S11 movl %edi, %ecx
12 shrl $4, %ecx
/haiku/src/system/libroot/posix/musl/math/x86/
H A Dsqrt.s9 mov (%esp),%ecx
10 and $0x7ff,%ecx
11 cmp $0x400,%ecx
H A Dremquo.s4 mov 12(%esp),%ecx
14 mov 28(%esp),%ecx
24 mov 20(%esp),%ecx
49 mov %edx,(%ecx)
H A Dhypot.s5 mov 16(%esp),%ecx
7 add %ecx,%ecx
8 and %eax,%ecx
9 cmp $0xffe00000,%ecx
H A Dhypotf.s5 mov 8(%esp),%ecx
7 add %ecx,%ecx
8 and %eax,%ecx
9 cmp $0xff000000,%ecx
/haiku/src/add-ons/kernel/drivers/graphics/s3/
H A Ddriver.cpp518 regs.ecx = 0;
544 regs.ecx = 0;
/haiku/src/add-ons/kernel/drivers/graphics/intel_810/
H A Ddriver.cpp171 regs.ecx = 0;
197 regs.ecx = 0;
/haiku/src/system/kernel/lib/arch/x86/
H A Darch_string.S21 movl 20(%esp),%ecx /* count */
24 testl %ecx, %ecx
32 shrl $2,%ecx
37 movl 20(%esp),%ecx
38 andl $3,%ecx
56 // %eax, %ecx, and %edx are scratch registers -- we only have to save %edi
60 mov 16(%ebp), %ecx
67 cmp $12, %ecx
76 mov $4, %ecx
[all...]
/haiku/src/system/libroot/os/arch/x86_64/
H A Dsystem_info.cpp16 __cpuid_count(eax, 0, info->regs.eax, info->regs.ebx, info->regs.ecx,
/haiku/src/system/kernel/arch/x86/64/
H A Dsyscalls_asm.S17 // sysexit forces us to trash edx (-> eip) and ecx (-> esp), but they are
18 // scratch registers anyway. We use ecx right away to store esp.
19 movl %esp, %ecx
H A Dcpuid.cpp14 get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx) argument
16 __cpuid_count(eax, ecx, info->regs.eax, info->regs.ebx, info->regs.ecx,
/haiku/headers/private/kernel/arch/x86/32/
H A Ddescriptors.h83 uint32 eip, eflags, eax, ecx, edx, ebx, esp, ebp, esi, edi; member in struct:tss
/haiku/src/system/kernel/arch/x86/32/
H A Dinterrupts.S39 movl %edx, %ecx; \
49 movl %ecx, (THREAD_last_time + 4)(%edi); \
82 movl %edx, %ecx; \
92 movl %ecx, (THREAD_last_time + 4)(%edi); \
153 movl SYSCALL_INFO_parameter_size(%edx), %ecx; \
154 shrl $2, %ecx; \
764 ecx - user esp
776 pushl %ecx // user_esp
803 // ecx already contains the user esp -- load edx with the return address
H A Dapm.cpp48 bios_regs() : eax(0), ebx(0), ecx(0), edx(0), esi(0), flags(0) {}
51 uint32 ecx; member in struct:bios_regs
106 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx), "=d" (regs->edx),
108 : "a" (regs->eax), "b" (regs->ebx), "c" (regs->ecx)
131 info = regs.ecx & 0xffff;
142 regs.ecx = state;
159 regs.ecx = enable ? 0x01 : 0x00;
171 regs.ecx = engage ? 0x01 : 0x00;
183 regs.ecx = version;
212 regs.ecx
[all...]
H A Darch.S82 movl 4(%esp), %ecx
89 movl 4(%esp), %ecx
123 movl $1, %ecx
150 movl 20(%esp),%ecx /* count */
159 shrl $2,%ecx
164 movl 20(%esp),%ecx
165 andl $3,%ecx
194 movl 20(%esp),%ecx /* count */
230 movl 24(%esp),%ecx /* count */
238 cmp $0,%ecx
[all...]
H A Ddescriptors.cpp166 frame->cx = tss->ecx;
H A Dcpuid.S21 movl 20(%esp),%ecx /* third arg sets up ecx */
26 movl %ecx,12(%edi)
/haiku/src/system/libroot/os/arch/x86/
H A Datomic.S43 movl 8(%esp), %ecx
46 cmpxchgl %ecx, (%edx)
65 movl 8(%esp), %ecx
67 andl %eax, %ecx
69 cmpxchgl %ecx, (%edx)
79 movl 8(%esp), %ecx
81 orl %eax, %ecx
83 cmpxchgl %ecx, (%edx)
105 movl 20(%esp), %ecx /* newValue high */
124 movl 20(%esp), %ecx /* newValu
[all...]
/haiku/src/system/libroot/posix/arch/x86/
H A Dsigsetjmp.S21 // return address to %edx, stack pointer for return to %ecx (both are
24 lea 4(%esp), %ecx
37 mov %ecx, JMP_REGS_ESP(%eax)
47 // prepare %edx, %ecx, and %eax for sigsetjmp
49 lea 4(%esp), %ecx
50 mov (%ecx), %eax
/haiku/src/kits/debugger/arch/x86/
H A DCpuStateX86.cpp34 SetIntRegister(X86_REGISTER_ECX, state.ecx);
126 x86State->ecx = IntRegisterValue(X86_REGISTER_ECX);

Completed in 107 milliseconds

1234