Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 25 of 72) sorted by relevance

123

/linux-2.4.37.9/arch/i386/math-emu/
Dwm_sqrt.S89 movl SIGH(%esi),%eax
98 shrl $1,%eax /* arg is in the range [1.0 .. 2.0) */
106 movl %eax,FPU_fsqrt_arg_2 /* ms word of n */
111 shrl $1,%eax
112 addl $0x40000000,%eax
142 addl %eax,%esi /* the new estimate */
147 addl %eax,%esi
152 addl %eax,%esi
163 movl %esi,%eax
168 subl %ecx,%eax
[all …]
Dmul_Xsig.S36 xor %eax,%eax
37 movl %eax,-4(%ebp)
38 movl %eax,-8(%ebp)
40 movl (%esi),%eax /* lsl of Xsig */
44 movl 4(%esi),%eax /* midl of Xsig */
46 addl %eax,-12(%ebp)
50 movl 8(%esi),%eax /* msl of Xsig */
52 addl %eax,-8(%ebp)
55 movl -12(%ebp),%eax
56 movl %eax,(%esi)
[all …]
Dpolynom_Xsig.S50 movl TERM_SIZE,%eax
52 addl %eax,%edi
58 xor %eax,%eax
59 movl %eax,SUM_LS
67 xor %eax,%eax
68 movl %eax,ACCUM_MS
69 movl %eax,ACCUM_MIDDLE
71 movl SUM_MIDDLE,%eax
75 movl SUM_MIDDLE,%eax
77 addl %eax,ACCUM_LS
[all …]
Dreg_u_div.S93 movswl EXP(%ebx),%eax
94 subl %eax,%edx
122 movl SIGL(%esi),%eax /* Dividend */
133 movl %eax,FPU_result_2
136 xorl %eax,%eax
138 movl %eax,FPU_result_1
141 xorl %eax,%eax
155 rcrl %eax
181 movl SIGL(%esi),%eax
182 movl %eax,FPU_accum_2
[all …]
Ddiv_Xsig.S115 movl XsigH(%esi),%eax
116 rcrl %eax
117 movl %eax,FPU_accum_3
118 movl XsigL(%esi),%eax
119 rcrl %eax
120 movl %eax,FPU_accum_2
121 movl XsigLL(%esi),%eax
122 rcrl %eax
123 movl %eax,FPU_accum_1
124 movl $0,%eax
[all …]
Dreg_norm.S32 movl SIGL(%ebx),%eax
38 orl %eax,%eax
41 movl %eax,%edx
42 xorl %eax,%eax
50 shld %cl,%eax,%edx
51 shl %cl,%eax
55 movl %eax,SIGL(%ebx)
65 movl TAG_Valid,%eax
79 movl TAG_Zero,%eax
109 movl SIGL(%ebx),%eax
[all …]
Dround_Xsig.S36 movl (%esi),%eax
45 movl %eax,%ebx
46 xorl %eax,%eax
56 shld %cl,%eax,%ebx
57 shl %cl,%eax
60 testl $0x80000000,%eax
73 movl %eax,(%esi)
75 movl -4(%ebp),%eax
96 movl (%esi),%eax
105 movl %eax,%ebx
[all …]
Dwm_shrx.S48 xorl %eax,%eax /* extension */
49 shrd %cl,%ebx,%eax
64 movl (%esi),%eax /* lsl */
66 shrd %cl,%edx,%eax
79 movl 4(%esi),%eax /* msl */
80 shr %cl,%eax
89 xorl %eax,%eax
90 movl %eax,(%esi)
91 movl %eax,4(%esi)
130 movl (%esi),%eax /* lsl */
[all …]
Dreg_u_sub.S63 movl SIGH(%edi),%eax /* register ms word */
83 shrd %cl,%eax,%ebx
84 shr %cl,%eax
94 shrd %cl,%eax,%edx
95 shr %cl,%eax
102 movl %eax,%ebx
103 xorl %eax,%eax
108 movl %eax,%ebx
109 xorl %eax,%eax
117 movl %eax,%edx
[all …]
Dreg_u_add.S51 movl SIGH(%esi),%eax
61 movl SIGH(%edi),%eax
70 testl $0x80000000,%eax
83 shrd %cl,%eax,%ebx
84 shr %cl,%eax
94 shrd %cl,%eax,%edx
95 shr %cl,%eax
102 movl %eax,%ebx
103 xorl %eax,%eax
108 movl %eax,%ebx
[all …]
Dreg_round.S120 movl SIGH(%edi),%eax
202 movl %eax,%ecx
211 movl %eax,%ecx
226 testl $0x00000100,%eax
231 andl $0xffffff00,%eax /* Truncate to 24 bits */
234 addl $0x00000100,%eax
238 movl %eax,%ecx
245 andl $0xffffff00,%eax /* Truncate to 24 bits */
310 adcl $0,%eax
374 adcl $0,%eax
[all …]
Dreg_u_mul.S71 movl SIGL(%esi),%eax
73 movl %eax,FPU_accum_0
76 movl SIGL(%esi),%eax
78 addl %eax,FPU_accum_1
82 movl SIGH(%esi),%eax
84 addl %eax,FPU_accum_1
88 movl SIGH(%esi),%eax
90 addl %eax,%ebx
94 movl PARAM6,%eax
95 subl EXP_BIAS-1,%eax
[all …]
Dshr_Xsig.S35 movl (%esi),%eax /* lsl */
38 shrd %cl,%ebx,%eax
41 movl %eax,(%esi)
54 movl 4(%esi),%eax /* midl */
56 shrd %cl,%edx,%eax
58 movl %eax,(%esi)
70 movl 8(%esi),%eax /* msl */
71 shr %cl,%eax
73 movl %eax,(%esi)
81 xorl %eax,%eax
[all …]
/linux-2.4.37.9/arch/i386/lib/
Dchecksum.S55 movl 20(%esp),%eax # Function arg: unsigned int sum
67 adcl %ebx, %eax
68 roll $8, %eax
80 adcl $0, %eax
87 adcl %ebx, %eax
89 adcl %ebx, %eax
91 adcl %ebx, %eax
93 adcl %ebx, %eax
95 adcl %ebx, %eax
97 adcl %ebx, %eax
[all …]
Dgetuser.S32 cmpl addr_limit(%edx),%eax
34 1: movzbl (%eax),%edx
35 xorl %eax,%eax
41 addl $1,%eax
45 cmpl addr_limit(%edx),%eax
47 2: movzwl -1(%eax),%edx
48 xorl %eax,%eax
54 addl $3,%eax
58 cmpl addr_limit(%edx),%eax
60 3: movl -3(%eax),%edx
[all …]
/linux-2.4.37.9/arch/x86_64/kernel/
Dhead.S42 movl $__KERNEL_DS,%eax
43 movl %eax,%ds
46 movl $0x80000000, %eax
48 cmpl $0x80000000, %eax
51 mov $0x80000001, %eax
63 xorl %eax, %eax
64 btsl $5, %eax
65 btsl $7, %eax
66 movl %eax, %cr4
69 movl $0x101000, %eax
[all …]
Dacpi_wakeup.S40 movl real_magic - wakeup_code, %eax
41 cmpl $0x12345678, %eax
53 xorl %eax, %eax
55 shll $4, %eax
56 addl $(gdta - wakeup_code), %eax
57 movl %eax, gdt_48a +2 - wakeup_code
61 movl $1, %eax # protected mode (PE) bit
76 movl $0x80000000, %eax
78 cmpl $0x80000000, %eax
81 mov $0x80000001, %eax
[all …]
Dwarmreboot.S34 andl $~((1<<_EFER_LME)|(1<<_EFER_SCE)|(1<<_EFER_NX)),%eax
37 xorl %eax,%eax
38 movl %eax,%cr3 /* flush tlb */
54 lea R(real_mode_desc),%eax
55 ljmp *(%eax)
59 xorl %eax,%eax
60 movl %eax,%cr0
Dmsr.c46 static inline int wrmsr_eio(u32 reg, u32 eax, u32 edx) in wrmsr_eio() argument
62 : "a" (eax), "d" (edx), "c" (reg), "i" (-EIO), "0" (0)); in wrmsr_eio()
67 static inline int rdmsr_eio(u32 reg, u32 *eax, u32 *edx) in rdmsr_eio() argument
82 : "=&bDS" (err), "=a" (*eax), "=d" (*edx) in rdmsr_eio()
113 static inline int do_wrmsr(int cpu, u32 reg, u32 eax, u32 edx) in do_wrmsr() argument
118 return wrmsr_eio(reg, eax, edx); in do_wrmsr()
122 cmd.data[0] = eax; in do_wrmsr()
130 static inline int do_rdmsr(int cpu, u32 reg, u32 *eax, u32 *edx) in do_rdmsr() argument
135 return rdmsr_eio(reg, eax, edx); in do_rdmsr()
142 *eax = cmd.data[0]; in do_rdmsr()
[all …]
/linux-2.4.37.9/arch/i386/kernel/
Dhead.S49 movl $(__KERNEL_DS),%eax
50 movl %eax,%ds
51 movl %eax,%es
52 movl %eax,%fs
53 movl %eax,%gs
75 movl %cr4,%eax # Turn on paging options (PSE,PAE,..)
76 orl cr4_bits,%eax
77 movl %eax,%cr4
85 movl $007,%eax /* "007" doesn't mean with right to kill, but
88 add $0x1000,%eax
[all …]
Dacpi_wakeup.S27 movl (real_save_cr3 - wakeup_data), %eax
28 movl %eax, %cr3
31 movl (real_save_cr4 - wakeup_data), %eax
32 movl %eax, %cr4
41 movl %cr0, %eax
42 orl $0x80000001, %eax
43 movl %eax, %cr0
64 movl $__KERNEL_DS, %eax
73 xorl %eax, %eax
89 movl saved_eip,%eax
[all …]
/linux-2.4.37.9/arch/x86_64/boot/compressed/
Dhead.S38 movl $(__KERNEL_DS),%eax
39 movl %eax,%ds
40 movl %eax,%es
41 movl %eax,%fs
42 movl %eax,%gs
45 xorl %eax,%eax
46 1: incl %eax # check that A20 really IS enabled
47 movl %eax,0x000000 # loop forever if it isn't
61 xorl %eax,%eax
72 movl %esp,%eax
[all …]
/linux-2.4.37.9/arch/i386/boot/compressed/
Dhead.S34 movl $(__KERNEL_DS),%eax
35 movl %eax,%ds
36 movl %eax,%es
37 movl %eax,%fs
38 movl %eax,%gs
41 xorl %eax,%eax
42 1: incl %eax # check that A20 really IS enabled
43 movl %eax,0x000000 # loop forever if it isn't
57 xorl %eax,%eax
68 movl %esp,%eax
[all …]
/linux-2.4.37.9/drivers/char/
Dtoshiba.c131 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
134 eax = regs->eax & 0xff00; in tosh_emulate_fan()
140 if (eax==0xfe00) { in tosh_emulate_fan()
147 regs->eax = 0x00; in tosh_emulate_fan()
150 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
159 regs->eax = 0x00; in tosh_emulate_fan()
162 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
171 regs->eax = 0x00; in tosh_emulate_fan()
179 if (eax==0xfe00) { in tosh_emulate_fan()
186 regs->eax = 0x00; in tosh_emulate_fan()
[all …]
/linux-2.4.37.9/arch/x86_64/boot/
Dsetup.S297 popl %eax
298 movl %eax,%ebx
299 xorl $0x200000,%eax
300 pushl %eax
303 popl %eax
304 cmpl %eax,%ebx
306 movl $0x0,%eax
308 cmpl $0x1,%eax
319 movl $0x1,%eax
324 movl $0x80000000,%eax
[all …]

123