Home
last modified time | relevance | path

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

12345678910

/OK3568_Linux_fs/kernel/arch/x86/math-emu/
H A Dwm_shrx.S48 movl 4(%esi),%edx /* msl */
51 shrd %cl,%edx,%ebx
52 shr %cl,%edx
54 movl %edx,4(%esi)
66 movl 4(%esi),%edx /* msl */
67 shrd %cl,%edx,%eax
68 shr %cl,%edx
69 movl %edx,(%esi)
82 xorl %edx,%edx
83 movl %edx,(%esi)
[all …]
H A Dreg_u_div.S93 movswl EXP(%esi),%edx
95 subl %eax,%edx
96 addl EXP_BIAS,%edx
99 cmpl EXP_WAY_UNDER,%edx
103 movl EXP_WAY_UNDER,%edx
122 movl SIGH(%esi),%edx /* Dividend */
125 cmpl %ecx,%edx
129 subl %ecx,%edx /* Prevent the overflow */
191 movl SIGH(%esi),%edx
198 cmpl SIGH(%ebx),%edx /* Test for imminent overflow */
[all …]
H A Ddiv_Xsig.S130 movl FPU_accum_3,%edx
143 mov %edx,%eax
156 sbbl %edx,FPU_accum_3
162 sbbl %edx,FPU_accum_2
174 movl XsigH(%ebx),%edx
176 sbbl %edx,FPU_accum_2
188 movl FPU_accum_2,%edx /* get the reduced num */
192 cmpl XsigH(%ebx),%edx
203 sbbl XsigH(%ebx),%edx
204 movl %edx,FPU_accum_2
[all …]
H A Dround_Xsig.S35 movl 8(%esi),%edx
41 orl %edx,%edx /* ms bits */
45 movl %ebx,%edx
52 bsrl %edx,%ecx /* get the required shift in %ecx */
56 shld %cl,%ebx,%edx
65 adcl $0,%edx
68 movl $0x80000000,%edx
72 movl %edx,8(%esi)
95 movl 8(%esi),%edx
101 orl %edx,%edx /* ms bits */
[all …]
H A Dreg_u_sub.S68 movl PARAM6,%edx
71 xorl %edx,%edx /* register extension */
83 shrd %cl,%ebx,%edx
95 shrd %cl,%eax,%edx
100 orl $1,%edx /* record the fact in the extension */
108 movl %ebx,%edx
118 movl %eax,%edx
122 orl $1,%edx
130 movl %eax,%edx
131 rcrl %edx
[all …]
H A Dreg_round.S122 movl PARAM2,%edx
205 orl %edx,%ecx
222 orl %edx,%edx
241 orl %edx,%ecx
284 orl %edx,%ecx
298 orl %edx,%edx
316 orl %edx,%ecx
349 orl %edx,%edx
357 orl %edx,%edx
362 cmpl $0x80000000,%edx
[all …]
H A Dmul_Xsig.S43 movl %edx,-12(%ebp)
48 adcl %edx,-8(%ebp)
54 adcl %edx,-4(%ebp)
84 movl %edx,-12(%ebp)
88 addl %edx,-12(%ebp)
95 adcl %edx,-8(%ebp)
101 adcl %edx,-8(%ebp)
107 adcl %edx,-4(%ebp)
138 movl %edx,-12(%ebp)
142 addl %edx,-12(%ebp)
[all …]
H A Dwm_sqrt.S92 xorl %edx,%edx
101 rcrl $1,%edx
109 movl %edx,FPU_fsqrt_arg_0
116 shll %edx /* max result was 7fff... */
117 testl $0x80000000,%edx /* but min was 3fff... */
120 movl $0x80000000,%edx /* round up */
123 movl %edx,%esi /* Our first guess */
140 movl %ecx,%edx /* msw of the arg / 2 */
145 movl %ecx,%edx
150 movl %ecx,%edx
[all …]
H A Dshr_Xsig.S38 movl 8(%esi),%edx /* msl */
40 shrd %cl,%edx,%ebx
41 shr %cl,%edx
44 movl %edx,8(%esi)
56 movl 8(%esi),%edx /* msl */
57 shrd %cl,%edx,%eax
58 shr %cl,%edx
60 movl %edx,4(%esi)
73 xorl %edx,%edx
75 movl %edx,4(%esi)
[all …]
H A Dreg_norm.S32 movl SIGH(%ebx),%edx
35 orl %edx,%edx /* ms bits */
42 movl %eax,%edx
48 bsrl %edx,%ecx /* get the required shift in %ecx */
51 shld %cl,%eax,%edx
55 movl %edx,SIGH(%ebx)
110 movl SIGH(%ebx),%edx
113 orl %edx,%edx /* ms bits */
120 movl %eax,%edx
126 bsrl %edx,%ecx /* get the required shift in %ecx */
[all …]
H A Dreg_u_add.S46 movl %ecx,%edx
55 movl PARAM7,%edx
68 xorl %edx,%edx /* clear the extension */
83 shrd %cl,%ebx,%edx
95 shrd %cl,%eax,%edx
100 orl $1,%edx /* record the fact in the extension */
108 movl %ebx,%edx
117 movl %eax,%edx
121 orl $1,%edx
125 movl $1,%edx /* The shifted nr always at least one '1' */
[all …]
/OK3568_Linux_fs/kernel/arch/x86/lib/
H A Datomic64_386_32.S38 movl 4(v), %edx
54 movl 4(v), %edx
64 adcl %edx, 4(v)
72 adcl 4(v), %edx
74 movl %edx, 4(v)
82 sbbl %edx, 4(v)
89 negl %edx
91 sbbl $0, %edx
93 adcl 4(v), %edx
95 movl %edx, 4(v)
[all …]
H A Dcopy_user_64.S27 subl %ecx,%edx
36 103: addl %ecx,%edx /* ecx is zerorest also */
59 cmpl $8,%edx
62 movl %edx,%ecx
63 andl $63,%edx
87 movl %edx,%ecx
88 andl $7,%edx
97 20: andl %edx,%edx
99 movl %edx,%ecx
112 addl %ecx,%edx
[all …]
H A Dhweight.S17 movl %eax, %edx # w -> t
18 shrl %edx # t >>= 1
19 andl $0x55555555, %edx # t &= 0x55555555
20 subl %edx, %eax # w -= t
22 movl %eax, %edx # w -> t
24 andl $0x33333333, %edx # t &= 0x33333333
26 addl %edx, %eax # w = w_tmp + t
28 movl %eax, %edx # w -> t
29 shrl $4, %edx # t >>= 4
30 addl %edx, %eax # w_tmp += t
[all …]
H A Datomic64_cx8_32.S13 movl %ecx, %edx
51 movl %edx, %edi
57 movl %edx, %ecx
66 movl %ecx, %edx
85 movl %edx, %ecx
94 movl %ecx, %edx
109 movl %edx, %ecx
119 movl %ecx, %edx
132 movl %edx, %edi
140 movl %edx, %ecx
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/i386/
H A Dsetjmp.S27 movl %eax, %edx
29 movl 4(%esp), %edx
33 movl %ebx, (%edx)
34 movl %esp, 4(%edx) /* Post-return %esp! */
36 movl %ebp, 8(%edx)
37 movl %esi, 12(%edx)
38 movl %edi, 16(%edx)
39 movl %ecx, 20(%edx) /* Return address */
50 xchgl %eax, %edx
52 movl 4(%esp), %edx /* jmp_ptr address */
[all …]
/OK3568_Linux_fs/kernel/arch/x86/um/
H A Dsetjmp_32.S24 movl %eax,%edx
26 movl 4(%esp),%edx
30 movl %ebx,(%edx)
31 movl %esp,4(%edx) # Post-return %esp!
33 movl %ebp,8(%edx)
34 movl %esi,12(%edx)
35 movl %edi,16(%edx)
36 movl %ecx,20(%edx) # Return address
47 xchgl %eax,%edx
49 movl 4(%esp),%edx # jmp_ptr address
[all …]
/OK3568_Linux_fs/kernel/arch/x86/platform/efi/
H A Defi_stub_32.S23 push %edx
30 movl $1f, %edx
31 subl $__PAGE_OFFSET, %edx
32 jmp *%edx
36 movl %cr0, %edx
37 andl $0x7fffffff, %edx
38 movl %edx, %cr0
49 movl 36(%esp), %edx // &efi.runtime
50 movl %ecx, (%edx)
53 movl %cr0, %edx
[all …]
/OK3568_Linux_fs/buildroot/package/libfreeimage/
H A D0002-fix-cpuid-x86.patch18 - void cpuid(int n, int &eax, int &ebx, int &ecx, int &edx)
20 + unsigned int &ecx, unsigned int &edx)
24 - : /* Output */ "=a"(eax), "=b"(ebx), "=c"(ecx), "=d"(edx)
27 + __get_cpuid(n, &eax, &ebx, &ecx, &edx);
33 - void cpuid(int n, int &eax, int &ebx, int &ecx, int &edx)
35 + unsigned int &ecx, unsigned int &edx)
37 eax = ebx = ecx = edx = 0;
43 - void xgetbv(int n, int &eax, int &edx)
44 + void xgetbv(unsigned int n, unsigned int &eax, unsigned int &edx)
52 - void xgetbv(int n, int &eax, int &edx)
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dftrace_32.S46 pushl %edx
51 movl 4*4(%esp), %edx
54 lea 4*4(%esp), %edx
59 movl 4(%edx), %edx /* edx has ebp */
69 popl %edx
127 pushl %edx
135 movl 21*4(%esp), %edx # 2nd argument: parent ip
155 popl %edx
170 pushl %edx
173 lea 4*4(%esp), %edx
[all …]
/OK3568_Linux_fs/u-boot/arch/x86/cpu/intel_common/
H A Dcar.S53 xorl %edx, %edx
64 xorl %edx, %edx
84 xorl %edx, %edx
91 movl $CPU_PHYSMASK_HI, %edx
136 xorl %edx, %edx
143 movl $CPU_PHYSMASK_HI, %edx
152 xorl %edx, %edx
156 movl $CPU_PHYSMASK_HI, %edx
206 xorl %edx, %edx
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.h59 eax, ebx, ecx, edx, si, di) \ argument
65 "=d"(edx), \
103 eax, ebx, ecx, edx, si, di) \ argument
112 "=d"(edx), \
128 eax, ebx, ecx, edx, si, di) \ argument
137 "=d"(edx), \
162 eax, ebx, ecx, edx, si, di) \ argument
173 "=d"(edx), \
189 eax, ebx, ecx, edx, si, di) \ argument
200 "=d"(edx), \
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dpkey-x86.h59 unsigned int eax, edx; in __read_pkey_reg() local
64 : "=a" (eax), "=d" (edx) in __read_pkey_reg()
74 unsigned int edx = 0; in __write_pkey_reg() local
79 : : "a" (eax), "c" (ecx), "d" (edx)); in __write_pkey_reg()
84 unsigned int *ecx, unsigned int *edx) in __cpuid() argument
92 "=d" (*edx) in __cpuid()
105 unsigned int edx; in cpu_has_pkeys() local
109 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pkeys()
135 unsigned int edx; in pkey_reg_xstate_offset() local
146 __cpuid(&eax, &ebx, &ecx, &edx); in pkey_reg_xstate_offset()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/
H A Dvmware.c59 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument
61 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
67 #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \ argument
69 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
75 #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \ argument
77 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
83 #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ argument
86 VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \
89 VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \
92 VMWARE_PORT(cmd, eax, ebx, ecx, edx); \
[all …]
/OK3568_Linux_fs/kernel/arch/x86/kvm/
H A Dcpuid.c42 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local
43 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
170 (best->eax | ((u64)best->edx << 32)) & supported_xcr0; in kvm_vcpu_after_set_cpuid()
253 e2[i].edx = e[i].edx; in kvm_vcpu_ioctl_set_cpuid()
342 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in kvm_cpu_cap_mask()
529 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid()
643 entry->edx = 0; in __do_cpuid_func()
661 entry->edx = 0; in __do_cpuid_func()
667 union cpuid10_edx edx; in __do_cpuid_func() local
670 entry->eax = entry->ebx = entry->ecx = entry->edx = 0; in __do_cpuid_func()
[all …]

12345678910