Home
last modified time | relevance | path

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

12345678910>>...24

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
DLongJump.c27 pop edx ; edx <- JumpBuffer in InternalLongJump()
29 mov ebx, [edx] in InternalLongJump()
30 mov esi, [edx + 4] in InternalLongJump()
31 mov edi, [edx + 8] in InternalLongJump()
32 mov ebp, [edx + 12] in InternalLongJump()
33 mov esp, [edx + 16] in InternalLongJump()
34 jmp dword ptr [edx + 20] in InternalLongJump()
DSetJump.c35 mov edx, [esp] in _declspec()
36 mov [edx], ebx in _declspec()
37 mov [edx + 4], esi in _declspec()
38 mov [edx + 8], edi in _declspec()
39 mov [edx + 12], ebp in _declspec()
40 mov [edx + 16], esp in _declspec()
41 mov [edx + 20], ecx in _declspec()
DDivU64x64Remainder.c27 mov edx, dword ptr [Dividend + 4] in InternalMathDivRemU64x64()
29 mov edi, edx in InternalMathDivRemU64x64()
34 shr edx, 1 in InternalMathDivRemU64x64()
44 add edx, ecx in InternalMathDivRemU64x64()
47 cmp edi, edx // compare high 32 bits in InternalMathDivRemU64x64()
56 sbb edx, dword ptr [Divisor + 4] in InternalMathDivRemU64x64()
60 sbb edi, edx // edi:esi <- remainder in InternalMathDivRemU64x64()
65 xor edx, edx in InternalMathDivRemU64x64()
DLongJump.asm36 pop edx ; edx <- JumpBuffer
38 mov ebx, [edx]
39 mov esi, [edx + 4]
40 mov edi, [edx + 8]
41 mov ebp, [edx + 12]
42 mov esp, [edx + 16]
43 jmp dword ptr [edx + 20] ; restore "eip"
DRShiftU64.c34 xor edx, edx in InternalMathRShiftU64()
37 cmovz edx, eax in InternalMathRShiftU64()
39 shrd eax, edx, cl in InternalMathRShiftU64()
40 shr edx, cl in InternalMathRShiftU64()
DDivU64x64Remainder.asm51 mov edx, dword ptr [esp + 20]
52 mov eax, dword ptr [esp + 16] ; edx:eax <- dividend
53 mov edi, edx
57 shr edx, 1
65 mul dword ptr [esp + 24] ; edx:eax <- quotient * divisor[0..31]
67 add edx, ecx ; edx <- (quotient * divisor)[32..63]
70 cmp edi, edx ; compare high 32 bits
79 sbb edx, dword ptr [esp + 28] ; edx:eax <- (quotient - 1) * divisor
83 sbb edi, edx ; edi:esi <- remainder
88 xor edx, edx ; quotient is 32 bits long
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DLongJump.c40 pop edx ; edx <- JumpBuffer in InternalLongJump()
42 mov ebx, [edx] in InternalLongJump()
43 mov esi, [edx + 4] in InternalLongJump()
44 mov edi, [edx + 8] in InternalLongJump()
45 mov ebp, [edx + 12] in InternalLongJump()
46 mov esp, [edx + 16] in InternalLongJump()
47 jmp dword ptr [edx + 20] in InternalLongJump()
DSetJump.c63 mov edx, [esp] in _declspec()
64 mov [edx], ebx in _declspec()
65 mov [edx + 4], esi in _declspec()
66 mov [edx + 8], edi in _declspec()
67 mov [edx + 12], ebp in _declspec()
68 mov [edx + 16], esp in _declspec()
69 mov [edx + 20], ecx in _declspec()
DLongJump.S34 pop %edx # edx <- JumpBuffer
36 movl (%edx), %ebx
37 movl 4(%edx), %esi
38 movl 8(%edx), %edi
39 movl 12(%edx), %ebp
40 movl 16(%edx), %esp
41 jmp *20(%edx) # restore "eip"
DLongJump.asm36 pop edx ; edx <- JumpBuffer
38 mov ebx, [edx]
39 mov esi, [edx + 4]
40 mov edi, [edx + 8]
41 mov ebp, [edx + 12]
42 mov esp, [edx + 16]
43 jmp dword ptr [edx + 20] ; restore "eip"
DDivU64x64Remainder.S48 mov 20(%esp), %edx
49 mov 16(%esp), %eax # edx:eax <- dividend
50 movl %edx, %edi
54 shrl %edx
62 mull 24(%esp) # edx:eax <- quotient * divisor[0..31]
64 addl %ecx, %edx # edx <- (quotient * divisor)[32..63]
67 cmpl %edx, %edi # compare high 32 bits
76 sbb 28(%esp), %edx # edx:eax <- (quotient - 1) * divisor
80 sbbl %edx, %edi # edi:esi <- remainder
85 xorl %edx, %edx # quotient is 32 bits long
DLongJump.nasm35 pop edx ; edx <- JumpBuffer
37 mov ebx, [edx]
38 mov esi, [edx + 4]
39 mov edi, [edx + 8]
40 mov ebp, [edx + 12]
41 mov esp, [edx + 16]
42 jmp dword [edx + 20] ; restore "eip"
DRShiftU64.c40 xor edx, edx in InternalMathRShiftU64()
44 mov edx, eax in InternalMathRShiftU64()
47 shrd eax, edx, cl in InternalMathRShiftU64()
48 shr edx, cl in InternalMathRShiftU64()
/device/linaro/bootloader/edk2/StdLib/LibC/CRT/Ia32/
Dllshr.c26 ; depends only on the high order bit of edx). in _allshr()
36 shrd eax,edx,cl in _allshr() local
37 sar edx,cl in _allshr() local
44 mov eax,edx in _allshr()
45 sar edx,31 in _allshr()
51 ; Return double precision 0 or -1, depending on the sign of edx in _allshr()
54 sar edx,31 in _allshr()
55 mov eax,edx in _allshr()
Dullshr.c35 shrd eax, edx, cl in _aullshr() local
36 shr edx, cl in _aullshr() local
43 mov eax, edx in _aullshr()
44 xor edx, edx in _aullshr()
54 xor edx, edx in _aullshr()
/device/linaro/bootloader/edk2/CryptoPkg/Library/IntrinsicLib/Ia32/
DMathRShiftU64.c35 shrd eax, edx, cl in _aullshr() local
36 shr edx, cl in _aullshr() local
43 mov eax, edx in _aullshr()
44 xor edx, edx in _aullshr()
54 xor edx, edx in _aullshr()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
DRShiftU64.c48 mov edx, dword ptr Operand[4] in RShiftU64()
52 ; For CL of 32 - 63, it will be shifted 0 - 31 so we will move edx to eax later. in RShiftU64()
56 shrd eax, edx, cl in RShiftU64() local
57 shr edx, cl in RShiftU64() local
63 …; Since Count is 32 - 63, edx will have been shifted by 0 - 31 … in RShiftU64()
66 mov eax, edx in RShiftU64()
67 xor edx, edx in RShiftU64()
DEfiCopyMemRep4.c53 mov edx, Count ; edx <- Count in EfiCommonLibCopyMem()
56 cmp edx, 0 in EfiCommonLibCopyMem()
58 lea eax, [esi + edx - 1] ; eax <- End of Source in EfiCommonLibCopyMem()
64 mov ecx, edx in EfiCommonLibCopyMem()
65 and edx, 3 in EfiCommonLibCopyMem()
71 lea edi, [edi + edx - 1] ; edi <- End of Destination in EfiCommonLibCopyMem()
74 mov ecx, edx in EfiCommonLibCopyMem()
DRShiftU64.asm53 mov edx, [esp + 8]; dword ptr Operand[4]
57 ; For CL of 32 - 63, it will be shifted 0 - 31 so we will move edx to eax later.
61 shrd eax, edx, cl
62 shr edx, cl
68 …; Since Count is 32 - 63, edx will have been shifted by 0 - 31 …
71 mov eax, edx
72 xor edx, edx
DRShiftU64.S55 movl 8(%esp), %edx # dword ptr Operand[4]
59 # For CL of 32 - 63, it will be shifted 0 - 31 so we will move edx to eax later.
63 shrd %cl, %edx, %eax
64 shrb %cl, %edx
70 …# Since Count is 32 - 63, edx will have been shifted by 0 - 31 …
73 movl %edx, %eax
74 xorl %edx, %edx
DEfiSetMem.c53 mov edx, Count in EfiCommonLibSetMem() local
54 test edx, edx in EfiCommonLibSetMem() local
64 cmp edx, 256 in EfiCommonLibSetMem() local
76 cmp eax, edx in EfiCommonLibSetMem()
79 sub edx, eax in EfiCommonLibSetMem() local
86 mov eax, edx in EfiCommonLibSetMem()
92 sub edx, eax in EfiCommonLibSetMem() local
122 mov ecx, edx in EfiCommonLibSetMem()
130 mov ecx, edx in EfiCommonLibSetMem()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Ia32/
DmemcpySSE2.asm40 mov edx, [esp + 20] ; edx <- Count
41 lea eax, [esi + edx - 1] ; eax <- End of Source
44 cmp edx, 0
55 cmp ecx, edx
56 cmova ecx, edx
57 sub edx, ecx ; edx <- remaining bytes to copy
60 mov ecx, edx
61 and edx, 15
75 lea edi, [edi + edx - 1] ; edi <- Last byte in Destination
78 mov ecx, edx
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/Ia32/
DStack.nasm36 push edx
54 mov edx, [esp] ; copy pushed register's value to permanent memory
55 mov [eax], edx
56 mov edx, [esp + 4]
57 mov [eax + 4], edx
58 mov edx, [esp + 8]
59 mov [eax + 8], edx
60 mov edx, [esp + 12]
61 mov [eax + 12], edx
62 mov edx, [esp + 16] ; Update return address into permanent memory
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibSse2/Ia32/
DCopyMem.S40 movl 20(%esp), %edx # edx <- Count
41 leal -1(%esi,%edx,), %eax # eax <- End of Source
51 cmpl %edx, %ecx
52 cmova %edx, %ecx
53 subl %ecx, %edx # edx <- remaining bytes to copy
57 movl %edx, %ecx
58 andl $15, %edx
75 leal -1(%edi,%edx,), %edi # edi <- Last byte in Destination
78 movl %edx, %ecx
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/Ia32/
DCopyMem.S40 movl 20(%esp), %edx # edx <- Count
41 leal -1(%esi,%edx,), %eax # eax <- End of Source
51 cmpl %edx, %ecx
52 cmova %edx, %ecx
53 subl %ecx, %edx # edx <- remaining bytes to copy
57 movl %edx, %ecx
58 andl $15, %edx
75 leal -1(%edi,%edx,), %edi # edi <- Last byte in Destination
78 movl %edx, %ecx

12345678910>>...24