/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 */ 48 addl %ecx, %eax 50 popl %ecx 64 pushl %ecx 70 movl %edx, %ecx /* save high half */ 72 movl %ecx, %eax 73 movl %edx, %ecx /* save high half of low */ [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 /* newValue high */ [all …]
|
/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 60 mov 16(%ebp), %ecx 67 cmp $12, %ecx 76 mov $4, %ecx 77 sub %edx, %ecx 80 mov 16(%ebp), %ecx [all …]
|
/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 | 24 lea 4(%esp), %ecx 37 mov %ecx, JMP_REGS_ESP(%eax) 49 lea 4(%esp), %ecx 50 mov (%ecx), %eax
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | Assembly.nasm | 29 mov ecx, [esp + 8] ; pAdapt 38 paddw mm0, [ecx] 41 paddw mm1, [ecx + 8] 44 paddw mm2, [ecx + 16] 47 paddw mm3, [ecx + 24] 50 add ecx, byte 32 77 psubw mm0, [ecx] 80 psubw mm1, [ecx + 8] 83 psubw mm2, [ecx + 16] 86 psubw mm3, [ecx + 24] [all …]
|
/haiku/src/bin/unzip/ |
H A D | crc_i386.S | 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 206 movl %edx, %ecx 207 andl $7, %ecx /* ecx = len % 8 */ 214 decl %ecx /* > } while (--len); */ [all …]
|
/haiku/src/system/libroot/posix/glibc/arch/x86/ |
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,%ecx /* zero carry flag */ [all …]
|
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,%ecx /* zero carry flag */ [all …]
|
H A D | s_finitef.S | 9 movl $0xFF7FFFFF,%ecx 10 subl %eax,%ecx 11 xorl %ecx,%eax
|
H A D | s_finite.S | 9 movl $0xFFEFFFFF,%ecx 10 subl %eax,%ecx 11 xorl %ecx,%eax
|
/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
|
/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) in x86_monitor() argument 16 :: "a" (addr), "c" (ecx), "d"(edx)); in x86_monitor() 20 x86_mwait(unsigned long eax, unsigned long ecx) in x86_mwait() argument 23 :: "a" (eax), "c" (ecx)); in x86_mwait()
|
/haiku/src/system/libroot/posix/musl/math/x86/ |
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 | hypot.s | 5 mov 16(%esp),%ecx 7 add %ecx,%ecx 8 and %eax,%ecx 9 cmp $0xffe00000,%ecx
|
H A D | sqrt.s | 9 mov (%esp),%ecx 10 and $0x7ff,%ecx 11 cmp $0x400,%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/kernel/arch/x86/32/ |
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 …]
|
H A D | apm.cpp | 48 bios_regs() : eax(0), ebx(0), ecx(0), edx(0), esi(0), flags(0) {} in bios_regs() 51 uint32 ecx; member 106 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx), "=d" (regs->edx), in call_apm_bios() 108 : "a" (regs->eax), "b" (regs->ebx), "c" (regs->ecx) in call_apm_bios() 131 info = regs.ecx & 0xffff; in apm_get_event() 142 regs.ecx = state; in apm_set_state() 159 regs.ecx = enable ? 0x01 : 0x00; in apm_enable_power_management() 171 regs.ecx = engage ? 0x01 : 0x00; in apm_engage_power_management() 183 regs.ecx = version; in apm_driver_version() 212 regs.ecx = 0; in get_apm_battery_info() [all …]
|
/haiku/src/system/boot/platform/pxe_ia32/ |
H A D | pxe_stage2.S | 55 movl $_end, %ecx // desired end address 56 addl $3, %ecx // long word align 58 movl %ecx, %edi 59 subl $LOAD_ADDRESS, %ecx // number of bytes to copy 61 addl %ecx, %esi // current end address 62 shrl $2, %ecx // number of long words 67 decl %ecx
|
/haiku/src/system/kernel/arch/x86/64/ |
H A D | cpuid.cpp | 14 get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx) in get_current_cpuid() argument 16 __cpuid_count(eax, ecx, info->regs.eax, info->regs.ebx, info->regs.ecx, in get_current_cpuid()
|
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | yuvrgb_ssse3.nasm | 240 push ecx 244 mov ecx, [width] 246 shr ecx,3 247 test ecx,ecx 266 sub ecx, 1 ; apparently sub is better than dec 270 pop ecx 283 push ecx 291 mov ecx, [width1] 293 shr ecx,3 294 test ecx,ecx [all …]
|
H A D | yuvrgb_sse2.nasm | 207 push ecx 211 mov ecx, [width] 213 shr ecx,3 214 test ecx,ecx 238 sub ecx, 1 ; apparently sub is better than dec 242 pop ecx 255 push ecx 263 mov ecx, [width1] 265 shr ecx,3 266 test ecx,ecx [all …]
|
/haiku/src/add-ons/media/media-add-ons/video_mixer/ |
H A D | yuvrgb.nasm | 234 push ecx 238 mov ecx, [width] 240 shr ecx,3 241 test ecx,ecx 273 sub ecx, 1 ; apparently sub is better than dec 277 pop ecx 290 push ecx 298 mov ecx, [width1] 300 shr ecx,3 301 test ecx,ecx [all …]
|
/haiku/src/system/boot/platform/efi/arch/x86_64/ |
H A D | long_smp_trampoline.S | 72 movl $0xc0000080, %ecx 79 movl %cr0, %ecx 80 orl $(1 << 31), %ecx 81 movl %ecx, %cr0
|