/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/ |
H A D | x86_cpuidle.h | 13 x86_monitor(const void *addr, unsigned long ecx, unsigned long edx) argument 16 :: "a" (addr), "c" (ecx), "d"(edx)); 20 x86_mwait(unsigned long eax, unsigned long ecx) argument 23 :: "a" (eax), "c" (ecx));
|
/haiku/src/system/libroot/posix/arch/x86/ |
H A D | siglongjmp.S | 18 mov 4(%esp), %ecx 22 mov JMP_REGS_EBX(%ecx), %ebx 23 mov JMP_REGS_ESI(%ecx), %esi 24 mov JMP_REGS_EDI(%ecx), %edi 25 mov JMP_REGS_EBP(%ecx), %ebp 26 mov JMP_REGS_ESP(%ecx), %esp 29 mov JMP_REGS_PC(%ecx), %edx 34 push %ecx // buffer
|
H A D | sigsetjmp.S | 21 // 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/system/kernel/lib/arch/x86/ |
H A D | arch_string.S | 21 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/posix/glibc/arch/x86/ |
H A D | s_finite.S | 9 movl $0xFFEFFFFF,%ecx 10 subl %eax,%ecx 11 xorl %ecx,%eax
|
H A D | s_finitef.S | 9 movl $0xFF7FFFFF,%ecx 10 subl %eax,%ecx 11 xorl %ecx,%eax
|
H A D | add_n.S | 44 movl SIZE(%esp),%ecx 46 shll $2, %ecx /* convert limbs to bytes */ 47 CHECK_BOUNDS_BOTH_WIDE (%edi, RES(%esp), %ecx) 48 CHECK_BOUNDS_BOTH_WIDE (%esi, S1(%esp), %ecx) 49 CHECK_BOUNDS_BOTH_WIDE (%ebx, S2(%esp), %ecx) 50 shrl $2, %ecx 54 decl %ecx 55 movl %ecx,%edx 56 shrl $3,%ecx 58 testl %ecx, [all...] |
H A D | sub_n.S | 44 movl SIZE(%esp),%ecx 46 shll $2, %ecx /* convert limbs to bytes */ 47 CHECK_BOUNDS_BOTH_WIDE (%edi, RES(%esp), %ecx) 48 CHECK_BOUNDS_BOTH_WIDE (%esi, S1(%esp), %ecx) 49 CHECK_BOUNDS_BOTH_WIDE (%ebx, S2(%esp), %ecx) 50 shrl $2, %ecx 54 decl %ecx 55 movl %ecx,%edx 56 shrl $3,%ecx 58 testl %ecx, [all...] |
/haiku/src/system/libroot/os/arch/x86/ |
H A D | system_time_asm.S | 35 pushl %ecx 41 movl %edx, %ecx /* save high half */ 43 movl %ecx, %eax 44 movl %edx, %ecx /* save high half of low */ 46 /* now compute [%edx, %eax] + [%ecx], propagating carry */ 48 addl %ecx, %eax 50 popl %ecx 64 pushl %ecx 70 movl %edx, %ecx /* save high half */ 72 movl %ecx, [all...] |
H A D | atomic.S | 43 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/bin/unzip/ |
H A D | crc_i386.S | 31 * GNU C 2.7.x, %edx and %ecx are `scratch' registers, but preserving 143 pushl %ecx 155 movl arg3, %ecx /* 3rd arg: extent len */ 158 testl %ecx, %ecx 167 decl %ecx 171 movl %ecx, %edx /* save len in edx */ 172 shrl $3, %ecx /* ecx = len / 8 */ 202 decl %ecx [all...] |
/haiku/src/system/kernel/arch/x86/64/ |
H A D | cpuid.cpp | 14 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,
|
H A D | syscalls_asm.S | 17 // 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
|
/haiku/src/system/libroot/posix/musl/math/x86/ |
H A D | sqrt.s | 9 mov (%esp),%ecx 10 and $0x7ff,%ecx 11 cmp $0x400,%ecx
|
H A D | hypot.s | 5 mov 16(%esp),%ecx 7 add %ecx,%ecx 8 and %eax,%ecx 9 cmp $0xffe00000,%ecx
|
H A D | hypotf.s | 5 mov 8(%esp),%ecx 7 add %ecx,%ecx 8 and %eax,%ecx 9 cmp $0xff000000,%ecx
|
H A D | remquo.s | 4 mov 12(%esp),%ecx 14 mov 28(%esp),%ecx 24 mov 20(%esp),%ecx 49 mov %edx,(%ecx)
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | long_asm.S | 30 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 D | support.S | 11 movl 4(%esp), %ecx 12 shrl $4, %ecx
|
/haiku/src/system/kernel/arch/x86/32/ |
H A D | syscalls_asm.S | 23 // sysexit forces us to trash edx (-> eip) and ecx (-> esp), but they are 24 // scratch registers anyway. We use ecx right away to store esp. 25 movl %esp, %ecx
|
H A D | cpuid.S | 21 movl 20(%esp),%ecx /* third arg sets up ecx */ 26 movl %ecx,12(%edi)
|
H A D | arch.S | 82 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...] |
/haiku/headers/private/kernel/arch/x86/ |
H A D | arch_system_info.h | 15 status_t get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx);
|
/haiku/src/system/libroot/os/arch/x86_64/ |
H A D | system_info.cpp | 16 __cpuid_count(eax, 0, info->regs.eax, info->regs.ebx, info->regs.ecx,
|
/haiku/src/system/boot/platform/efi/arch/x86_64/ |
H A D | support.S | 11 movl %edi, %ecx 12 shrl $4, %ecx
|