Lines Matching full:eax
110 * mmx_supported_local variable and just use eax). Possibly the CPUID
727 # define SAVE_FullLength "movl %%eax, %%r15d \n\t"
728 # define RESTORE_FullLength "movl %%r15d, " // may go into eax or ecx
750 # define SAVE_FullLength "pushl %%eax \n\t"
751 # define RESTORE_FullLength "popl " // eax (avg) or ecx (paeth)
756 # define PAX "%%eax" // combination with
871 "xorl $0x200000, %%eax \n\t" // toggle ID bit in Eflag (i.e., bit 21)
883 "popl %%eax \n\t" // get Eflag from stack into eax
884 "movl %%eax, %%ecx \n\t" // make another copy of Eflag in ecx
885 "xorl $0x200000, %%eax \n\t" // toggle ID bit in Eflag (i.e., bit 21)
886 "pushl %%eax \n\t" // save modified Eflag back to stack
889 "popl %%eax \n\t" // get Eflag from stack
893 "xorl %%ecx, %%eax \n\t" // compare new Eflag with original Eflag
896 "xorl %%eax, %%eax \n\t" // set eax to zero
899 "cmpl $1, %%eax \n\t" // make sure eax return non-zero value
900 "jl 0f \n\t" // if eax is zero, MMX is not supported
902 "xorl %%eax, %%eax \n\t" // set eax to zero and...
903 "incl %%eax \n\t" // ...increment eax to 1. This pair is
904 // faster than the instruction "mov eax, 1"
910 "movl $1, %%eax \n\t" // set return value to 1
914 "movl $0, %%eax \n\t" // set return value to 0
1079 // preload "movl diff, %%ecx \n\t" // (diff is in eax)
1080 "movl %%eax, %%ecx \n\t"
1091 "xorl %%eax, %%eax \n\t"
1110 : "0" (diff), // eax // input regs
1255 // preload "movl diff, %%ecx \n\t" // (diff is in eax)
1256 "movl %%eax, %%ecx \n\t"
1265 "movl (%3), %%eax \n\t"
1266 "movl %%eax, (%4) \n\t"
1283 : "0" (diff), // eax // input regs
1390 // preload "movl diff, %%ecx \n\t" // (diff is in eax)
1391 "movl %%eax, %%ecx \n\t"
1418 : "0" (diff), // eax // input regs
1706 // preload "movl diff, %%ecx \n\t" // (diff is in eax)
1707 "movl %%eax, %%ecx \n\t"
1734 : "0" (diff), // eax // input regs
1894 // preload "movl diff, %%ecx \n\t" // (diff is in eax)
1895 "movl %%eax, %%ecx \n\t"
1904 "movl (%3), %%eax \n\t"
1905 "movl %%eax, (%4) \n\t"
1924 : "0" (diff), // eax // input regs
2331 eax (0x0000000000FFFFFFLL)
2394 "3" (&_amask5_3_0) // eax (0x0000000000FFFFFFLL)
2444 "3" (&_amask5_3_0) // eax (0x0000000000FFFFFFLL)
3270 //pre "movl FullLength, %%eax \n\t" // bring in via eax...
3272 "xorl %%eax, %%eax \n\t"
3303 "xorl %%eax, %%eax \n\t"
3315 RESTORE_FullLength "%%eax \n\t" // FullLength -> eax
3316 "movl %%eax, %%ecx \n\t" // copy -> ecx
3317 "subl %%ebx, %%eax \n\t" // subtract alignment fix
3318 "andl $0x00000007, %%eax \n\t" // calc bytes over mult of 8
3319 "subl %%eax, %%ecx \n\t" // sub over-bytes from original length
3321 "movl %%ebp, %%eax \n\t" // ebp = diff, but no reg constraint(?)
3349 "1" (FullLength), // %7 -> %3 eax
3455 "cmpl %%eax, %%ecx \n\t" // MMXLength
3467 "3" (MMXLength) // eax
3549 "cmpl %%eax, %%ecx \n\t" // MMXLength
3564 "3" (MMXLength) // eax
3580 // preload "movl FullLength, %%eax \n\t"
3581 "cmpl %%eax, %%ecx \n\t" // test if offset at end of array
3604 "cmpl %%eax, %%ecx \n\t" // check if at end of array
3622 "3" (FullLength) // eax
3745 "cmpl %%eax, %%ecx \n\t" // MMXLength
3760 "3" (MMXLength) // eax
3841 "cmpl %%eax, %%ecx \n\t" // MMXLength
3856 "3" (MMXLength) // eax
3898 "cmpl %%eax, %%ecx \n\t" // MMXLength
3911 "3" (MMXLength) // eax
3937 //pre "movl MMXLength, %%eax \n\t" // eax: x == offset bytes after MMX
3939 "cmpl %%edx, %%eax \n\t" // test if offset at end of array
3959 "incl %%eax \n\t"
3961 "addb -1(%2," PAX ",), %%bl \n\t" // add Avg(x); -1 to offset inc eax
3962 "cmpl %%edx, %%eax \n\t" // check if at end of array
3964 "jb avg_lp2 \n\t" // affect flags; -1 to offset inc eax]
3981 "3" (MMXLength), // eax
4031 //pre "movl FullLength, %%eax \n\t" // bring in via eax...
4033 "xorl %%eax, %%eax \n\t"
4063 "xorl %%eax, %%eax \n\t"
4067 "subl %%ecx, %%eax \n\t" // subtract Prior(x-bpp)
4068 "movl %%eax, " pa_TEMP " \n\t" // Save pav for later use
4069 "xorl %%eax, %%eax \n\t"
4072 "subl %%ecx, %%eax \n\t" // subtract Prior(x-bpp)
4073 "movl %%eax, %%ecx \n\t"
4075 "addl " pa_TEMP ", %%eax \n\t" // pcv = pav + pbv
4077 "testl $0x80000000, %%eax \n\t"
4079 "negl %%eax \n\t" // reverse sign of neg values
4082 "movl %%eax, " pc_TEMP " \n\t" // save pc for later use
4091 "movl " pa_TEMP ", %%eax \n\t"
4092 "testl $0x80000000, %%eax \n\t"
4094 "negl %%eax \n\t" // reverse sign of neg values
4097 "movl %%eax, " pa_TEMP " \n\t" // save pa for later use
4099 "cmpl %%ecx, %%eax \n\t"
4115 "cmpl " pc_TEMP ", %%eax \n\t"
4137 "movl %%ecx, %%eax \n\t"
4138 "subl %%ebx, %%eax \n\t" // subtract alignment fix
4139 "andl $0x00000007, %%eax \n\t" // calc bytes over mult of 8
4140 "subl %%eax, %%ecx \n\t" // drop over bytes from original length
4142 "movl %%ebp, %%eax \n\t" // ebp = diff, but no reg constraint(?)
4155 "3" (FullLength) // eax
4364 "cmpl %%eax, %%ecx \n\t" // MMXLength
4380 "3" (MMXLength) // eax
4516 "cmpl %%eax, %%ecx \n\t" // MMXLength
4529 "3" (MMXLength) // eax
4543 // preload "movl diff, %%eax \n\t" // eax: x = offset to align. bdry
4545 "cmpl %%edx, %%eax \n\t"
4553 "movl %%eax, %%ebp \n\t"
4555 "subl %%ecx, %%ebp \n\t" // ebp = eax - bpp
4625 "incl %%eax \n\t"
4629 "cmpl %%edx, %%eax \n\t" // check against FullLength
4647 "3" (diff), // eax
4801 "cmpl %%eax, %%ecx \n\t" // MMXLength
4814 "3" (MMXLength) // eax
4950 "cmpl %%eax, %%ecx \n\t" // MMXLength
4963 "3" (MMXLength) // eax
4989 //pre "movl MMXLength, %%eax \n\t"
4990 "cmpl %%edx, %%eax \n\t"
4998 "movl %%eax, %%ebp \n\t"
5000 "subl %%ecx, %%ebp \n\t" // ebp = eax - bpp
5070 "incl %%eax \n\t"
5074 "cmpl %%edx, %%eax \n\t" // check against FullLength
5093 "3" (MMXLength), // eax
5144 //pre "movl FullLength, %%eax \n\t" // bring in via eax...
5147 "xorl %%eax, %%eax \n\t"
5156 "jz sub_go \n\t" // target value of eax at alignment
5161 "incl %%eax \n\t"
5162 "cmpl %%ebp, %%eax \n\t"
5168 "subl %%eax, %%edx \n\t" // subtract alignment fix
5172 "movl %%ebp, %%eax \n\t" // ebp = diff, but no reg constraint(?)
5182 "2" (FullLength) // eax
5234 "cmpl %%eax, %%edx \n\t" // MMXLength
5247 "3" (MMXLength) // eax
5284 "cmpl %%eax, %%edx \n\t" // MMXLength
5297 "3" (MMXLength) // eax
5312 "cmpl %%eax, %%edx \n\t"
5323 "cmpl %%eax, %%edx \n\t" // compare with FullLength
5336 "3" (FullLength) // eax
5392 "cmpl %%eax, %%edx \n\t" // MMXLength
5405 "3" (MMXLength) // eax
5442 "cmpl %%eax, %%edx \n\t" // MMXLength
5455 "3" (MMXLength) // eax
5472 // preload "movl MMXLength, %%eax \n\t"
5476 "movl %%eax, %%esi \n\t" // copy of MMXLength -> esi
5514 "cmpl %%eax, %%edx \n\t" // compare to MMXLength
5521 "cmpl %%eax, %%edx \n\t" // compare to MMXLength
5536 "3" (MMXLength) // eax
5560 //pre "movl MMXLength, %%eax \n\t"
5562 //pre "cmpl FullLength, %%eax \n\t"
5563 "cmpl %%edx, %%eax \n\t"
5574 "incl %%eax \n\t"
5575 "cmpl %%edx, %%eax \n\t" // FullLength
5588 "2" (MMXLength), // eax
5628 "xorl %%eax, %%eax \n\t"
5716 "xorl %%eax, %%eax \n\t"
5739 : "%eax", "%ecx" // clobber list (no input regs!)