Home
last modified time | relevance | path

Searched refs:edx (Results 1 – 25 of 42) sorted by relevance

12

/xnu-12377.41.6/osfmk/arm64/
H A DWKdmCompress_16k.s211 #define edx w15 macro
302 …strb edx, [next_tag], #1 // *next_tag++ = ZERO; edx is used as input word, and if we are here e…
310 ldr edx, [next_input_word], #4
311 cbz edx, L_RECORD_ZERO // if (input_word==0) RECORD_ZERO
316 ubfm eax, edx, #10, #17
321 eor eax, eax, edx // dict_word vs input_word
334 str edx, [next_full_patt], #4 // *next_full_patt++ = input_word;
337 str edx, [dictionary, dict_location] // *dict_location = input_word
391 mov edx, #0
394 str edx, [next_qp], #4
[all …]
H A DWKdmCompress_4k.s209 #define edx w15 macro
300 …strb edx, [next_tag], #1 // *next_tag++ = ZERO; edx is used as input word, and if we are here e…
308 ldr edx, [next_input_word], #4
309 cbz edx, L_RECORD_ZERO // if (input_word==0) RECORD_ZERO
314 ubfm eax, edx, #10, #17
319 eor eax, eax, edx // dict_word vs input_word
332 str edx, [next_full_patt], #4 // *next_full_patt++ = input_word;
335 str edx, [dictionary, dict_location] // *dict_location = input_word
389 mov edx, #0
392 str edx, [next_qp], #4
[all …]
H A DWKdmDecompress_4k.s117 #define edx w6 macro
173 ldrh edx, [src_buf], #2 // get the index
383 ldrb edx, [r8], #1 // qpos = *next_qpos++
412 ubfm edx, eax, #10, #17 // 8-bit hash table index
414 ldrb edx, [rbx, rdx] // qpos
H A DWKdmDecompress_16k.s117 #define edx w6 macro
173 ldrh edx, [src_buf], #2 // get the index
383 ldrb edx, [r8], #1 // qpos = *next_qpos++
412 ubfm edx, eax, #10, #17 // 8-bit hash table index
414 ldrb edx, [rbx, rdx] // qpos
/xnu-12377.41.6/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h73 lea 9b,%edx ;\
324 popl %edx ; \
325 movl L ## var ## __non_lazy_ptr-1b(%edx),%edx
334 call *%edx
358 jmp *%edx ; \
368 movl (%edx),%edx ; \
369 pushl %edx ; \
376 movl reg, (%edx) ; \
388 popl %edx ; \
389 movl L ## var ##__non_lazy_ptr-1b(%edx),reg ; \
/xnu-12377.41.6/osfmk/x86_64/
H A DWKdmDecompress_new.s168 movl 12(%rdi,%r8, 4), %edx
199 movl %eax, %edx // w
223 movl $(1023<<10), %edx
225 andl %eax, %edx // b << 10
228 shll $6, %edx
230 orl %edx, %eax
276 movzbl (next_qpos),%edx // qpos = *next_qpos
300 movl (next_full_patt), %edx // w = *next_full_patt
302 shrl $10, %edx // w>>10
304 movzbl %dl, %edx // 8-bit hash table index
[all …]
H A Dstart.s183 movl $EXT(BootPDPT), %edx // Level 3:
184 add %eax, 0*8+0(%edx)
185 add %eax, 1*8+0(%edx)
186 add %eax, 2*8+0(%edx)
187 add %eax, 3*8+0(%edx)
241 xor %eax, %edx
248 xor %ecx, %edx
251 ror %cl, %edx /* Right rotate EDX (TSC&0xFF ^ (TSC>>8 & 0xFF))&1F */
317 xorl %edx, %edx /* zero 3rd arg */
401 movl %edx, saved_ugs_base+4(%rip)
[all …]
H A DWKdmCompress_new.s265 movl (next_input_word), %edx
267 testl %edx, %edx
269 movl %edx, %eax // a copy of input_word
276 cmpl %eax, %edx // dict_word vs input_word
278 xorl %edx, %eax
283 movl %edx, (next_full_patt) // *next_full_patt = input_word;
285 movl %edx, (dict_location) // *dict_location = input_word
319 orl %edx, %eax
415 movzwl 2(%rcx), %edx // w1
416 sall $10, %edx // w1 << 10
[all …]
H A Dmachine_routines_asm.s172 movl RNT_SCALE(%rsi),%edx
228 mov $(VMX_FAIL_VALID), %edx
232 cmovzl %edx, %eax /* CF = 0, ZF = 1 */
246 mov $(VMX_FAIL_VALID), %edx
250 cmovzl %edx, %eax /* CF = 0, ZF = 1 */
H A Dlocore.s121 movl %edx, (%rdi)
138 movl %edx, 4(%rsi)
152 movl %esi, %edx
205 movl %edx, %ecx /* now move remaining bytes */
475 leal HW_LCK_TICKET_LOCK_INC_WORD(%rax), %edx
478 lock cmpxchgl %edx, (%rdi)
/xnu-12377.41.6/libsyscall/custom/
H A D__getpid.s65 movl %eax, %edx
69 cmpxchgl %edx, __current_pid
70 movl %edx, %eax
92 movl %eax, %edx
96 cmpxchgl %edx, (%rcx)
97 movl %edx, %eax
H A Dcustom.s41 mov %esp, %edx
44 movl %edx, 4(%esp)
51 mov %esp, %edx
54 movl %edx, 4(%esp)
61 popl %edx
H A D__fork.s64 orl %edx,%edx // CF=OF=0, ZF set if zero result
91 orl %edx,%edx // CF=OF=0, ZF set if zero result
H A D__vfork.s46 #define __current_pid (%edx)
78 testl %edx, %edx // CF=OF=0, ZF set if zero result
120 testl %edx, %edx // CF=OF=0, ZF set if zero result
H A D__pipe.s37 movl %edx,4(%ecx)
45 movl %edx, 4(%rdi)
H A D__gettimeofday.s68 mov %edx,4(%ecx)
89 movl %edx, 8(%rdi)
H A D__syscall.s39 movl (%esp),%edx // add one element to stack so
/xnu-12377.41.6/libsyscall/wrappers/
H A Dmach_absolute_time.s67 sbbl _COMM_PAGE_NT_TSC_BASE+4,%edx
75 shldl %cl,%eax,%edx /* shift %edx left, filling in from %eax */
80 movl %edx,%ebx
83 movl %edx,%ebx
86 adcl $0,%edx
89 adcl _COMM_PAGE_NT_NS_BASE+4,%edx
H A Dmach_approximate_time.s85 movl _COMM_PAGE_APPROX_TIME+4, %edx // load high
90 cmpl _COMM_PAGE_APPROX_TIME+4, %edx // load high and check if equal
/xnu-12377.41.6/osfmk/i386/commpage/
H A Dfifo_queues.s81 popl %edx // get return address
100 pushl %edx // preserve regs used by preempt syscall
104 popl %edx
121 movl $0,(%edx,%esi) // zero forward link in new element
150 movl %esi,(%edx,%eax) // point to new element from last
192 movl (%edx,%eax),%esi// get ptr to 2nd element in q
/xnu-12377.41.6/EXTERNAL_HEADERS/corecrypto/
H A Dcc_runtime_config.h93 unsigned int eax, ebx, ecx, edx; in _cpu_supports_rdrand() local
94 __cpuid(1, eax, ebx, ecx, edx); in _cpu_supports_rdrand()
100 unsigned int eax, ebx, ecx, edx; in _cpu_supports_adx() local
101 __cpuid_count(7, 0, eax, ebx, ecx, edx); in _cpu_supports_adx()
/xnu-12377.41.6/osfmk/corecrypto/
H A Dcc_runtime_config.h120 unsigned int eax, ebx, ecx, edx; in _cpu_supports_rdrand() local
121 __cpuid(1, eax, ebx, ecx, edx); in _cpu_supports_rdrand()
128 unsigned int eax, ebx, ecx, edx; in _cpu_supports_adx() local
129 __cpuid_count(7, 0, eax, ebx, ecx, edx); in _cpu_supports_adx()
/xnu-12377.41.6/osfmk/i386/
H A Dcpuid.c582 bcopy((char *)&reg[edx], &info_p->cpuid_vendor[4], 4); in cpuid_set_generic_info()
671 info_p->cpuid_features = quad(reg[ecx], reg[edx]); in cpuid_set_generic_info()
694 quad(reg[ecx], reg[edx]); in cpuid_set_generic_info()
718 reg[edx] & (uint32_t)CPUID_EXTFEATURE_TSCI; in cpuid_set_generic_info()
733 cmp->sub_Cstates = reg[edx]; in cpuid_set_generic_info()
787 capp->fixed_number = bitfield32(reg[edx], 4, 0); in cpuid_set_generic_info()
788 capp->fixed_width = bitfield32(reg[edx], 12, 5); in cpuid_set_generic_info()
815 DBG(" EDX : 0x%x\n", xsp->extended_state[edx]); in cpuid_set_generic_info()
825 DBG(" EDX : 0x%x\n", xsp->extended_state[edx]); in cpuid_set_generic_info()
845 xsp->extended_state[edx]); in cpuid_set_generic_info()
[all …]
/xnu-12377.41.6/tests/
H A Dldt_code32.s162 leal 3f - 1b, %edx
163 addl %ebx, %edx /* return address is expected in %edx */
/xnu-12377.41.6/bsd/dev/i386/
H A Dsystemcalls.c230 regs->edx = uthread->uu_rval[1]; in unix_syscall()
236 error, regs->eax, regs->edx); in unix_syscall()
572 regs->edx = uthread->uu_rval[1]; in unix_syscall_return()
577 error, regs->eax, regs->edx); in unix_syscall_return()

12