/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
D | CpuIdEx.c | 30 mov ecx, SubIndex in AsmCpuidEx() 32 push ecx in AsmCpuidEx() 33 mov ecx, RegisterEax in AsmCpuidEx() 35 mov [ecx], eax in AsmCpuidEx() 37 mov ecx, RegisterEbx in AsmCpuidEx() 39 mov [ecx], ebx in AsmCpuidEx() 42 mov ecx, RegisterEcx in AsmCpuidEx() 44 mov [ecx], eax in AsmCpuidEx() 46 mov ecx, RegisterEdx in AsmCpuidEx() 48 mov [ecx], edx in AsmCpuidEx()
|
D | CpuId.c | 30 push ecx in AsmCpuid() 31 mov ecx, RegisterEax in AsmCpuid() 33 mov [ecx], eax in AsmCpuid() 35 mov ecx, RegisterEbx in AsmCpuid() 37 mov [ecx], ebx in AsmCpuid() 40 mov ecx, RegisterEcx in AsmCpuid() 42 mov [ecx], eax in AsmCpuid() 44 mov ecx, RegisterEdx in AsmCpuid() 46 mov [ecx], edx in AsmCpuid()
|
D | DivU64x64Remainder.asm | 39 mov ecx, [esp + 16] ; ecx <- divisor[32..63] 40 test ecx, ecx 42 mov ecx, [esp + 20] 44 and dword ptr [ecx + 4], 0 ; zero high dword of remainder 45 mov [esp + 16], ecx ; set up stack frame to match DivRemU64x32 55 mov ebx, dword ptr [esp + 24] ; ecx:ebx <- divisor 59 shrd ebx, ecx, 1 60 shr ecx, 1 64 mov ecx, [esp + 28] ; ecx <- high dword of divisor 66 imul ecx, ebx ; ecx <- quotient * divisor[32..63] [all …]
|
D | DivU64x64Remainder.S | 37 movl 16(%esp), %ecx 38 testl %ecx, %ecx 40 movl 20(%esp), %ecx 42 and $0, 4(%ecx) 43 movl %ecx, 16(%esp) 58 shrdl $1, %ecx, %ebx 59 shrl %ecx 63 movl 28(%esp), %ecx 65 imull %ebx, %ecx 66 addl %ecx, %edx [all …]
|
D | DivU64x64Remainder.c | 31 mov ecx, dword ptr [Divisor + 4] in InternalMathDivRemU64x64() 36 shrd ebx, ecx, 1 in InternalMathDivRemU64x64() 37 shr ecx, 1 in InternalMathDivRemU64x64() 41 mov ecx, dword ptr [Divisor + 4] in InternalMathDivRemU64x64() 43 imul ecx, ebx in InternalMathDivRemU64x64() 44 add edx, ecx in InternalMathDivRemU64x64() 45 mov ecx, Remainder in InternalMathDivRemU64x64() 61 mov [ecx], esi in InternalMathDivRemU64x64() 62 mov [ecx + 4], edi in InternalMathDivRemU64x64()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
D | CpuIdEx.c | 60 mov ecx, SubIndex in AsmCpuidEx() 62 push ecx in AsmCpuidEx() 63 mov ecx, RegisterEax in AsmCpuidEx() 65 mov [ecx], eax in AsmCpuidEx() 67 mov ecx, RegisterEbx in AsmCpuidEx() 69 mov [ecx], ebx in AsmCpuidEx() 72 mov ecx, RegisterEcx in AsmCpuidEx() 74 mov [ecx], eax in AsmCpuidEx() 76 mov ecx, RegisterEdx in AsmCpuidEx() 78 mov [ecx], edx in AsmCpuidEx()
|
D | DivU64x64Remainder.S | 35 movl 16(%esp), %ecx # ecx <- divisor[32..63] 36 testl %ecx, %ecx 38 movl 20(%esp), %ecx 40 andl $0, 4(%ecx) # zero high dword of remainder 41 movl %ecx, 16(%esp) # set up stack frame to match DivRemU64x32 52 mov 24(%esp), %ebx # ecx:ebx <- divisor 56 shrdl $1, %ecx, %ebx 57 shrl %ecx 61 movl 28(%esp), %ecx # ecx <- high dword of divisor 63 imull %ebx, %ecx # ecx <- quotient * divisor[32..63] [all …]
|
D | CpuId.c | 53 push ecx in AsmCpuid() 54 mov ecx, RegisterEax in AsmCpuid() 56 mov [ecx], eax in AsmCpuid() 58 mov ecx, RegisterEbx in AsmCpuid() 60 mov [ecx], ebx in AsmCpuid() 63 mov ecx, RegisterEcx in AsmCpuid() 65 mov [ecx], eax in AsmCpuid() 67 mov ecx, RegisterEdx in AsmCpuid() 69 mov [ecx], edx in AsmCpuid()
|
D | DivU64x64Remainder.asm | 39 mov ecx, [esp + 16] ; ecx <- divisor[32..63] 40 test ecx, ecx 42 mov ecx, [esp + 20] 44 and dword ptr [ecx + 4], 0 ; zero high dword of remainder 45 mov [esp + 16], ecx ; set up stack frame to match DivRemU64x32 55 mov ebx, dword ptr [esp + 24] ; ecx:ebx <- divisor 59 shrd ebx, ecx, 1 60 shr ecx, 1 64 mov ecx, [esp + 28] ; ecx <- high dword of divisor 66 imul ecx, ebx ; ecx <- quotient * divisor[32..63] [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/ |
D | EfiZeroMemSSE2.c | 49 mov ecx, Count in EfiCommonLibZeroMem() local 58 cmp ecx, 0 in EfiCommonLibZeroMem() 66 dec ecx in EfiCommonLibZeroMem() 72 mov edx, ecx in EfiCommonLibZeroMem() 73 shr ecx, 6 ; convert to 64-byte count in EfiCommonLibZeroMem() 74 shl ecx, 6 ; convert back to bytes in EfiCommonLibZeroMem() 75 sub edx, ecx ; subtract from the original count in EfiCommonLibZeroMem() local 76 shr ecx, 6 ; and this is how many 64-byte blocks in EfiCommonLibZeroMem() local 79 cmp ecx, 0 in EfiCommonLibZeroMem() 91 dec ecx in EfiCommonLibZeroMem() [all …]
|
D | GetPowerOfTwo.c | 50 mov ecx, dword ptr Input[4] in GetPowerOfTwo() 52 bsr ecx, ecx in GetPowerOfTwo() 53 bts edx, ecx in GetPowerOfTwo() 56 mov ecx, dword ptr Input[0] in GetPowerOfTwo() 58 bsr ecx, ecx in GetPowerOfTwo() 59 bts eax, ecx in GetPowerOfTwo()
|
D | EfiZeroMem.S | 57 pushl %ecx # Reserve space for local variable MmxSave 58 pushl %ecx 61 movl 0xC(%ebp), %ecx # Count 70 cmpl $0, %ecx 78 decl %ecx 84 movl %ecx, %edx 85 shrl $6, %ecx # convert to 64-byte count 86 shll $6, %ecx # convert back to bytes 87 subl %ecx, %edx # subtract from the original count 88 shrl $6, %ecx # and this is how many 64-byte blocks [all …]
|
D | GetPowerOfTwo.asm | 53 mov ecx, [esp + 8] ; dword ptr Input[4] 55 bsr ecx, ecx 56 bts edx, ecx 59 mov ecx, [esp + 4] ; dword ptr Input[0] 61 bsr ecx, ecx 62 bts eax, ecx
|
D | GetPowerOfTwo.S | 54 movl 8(%esp), %ecx # dword ptr Input[4] 56 bsrl %ecx, %ecx 57 btsl %ecx, %edx 60 movl 4(%esp), %ecx # dword ptr Input[0] 62 bsrl %ecx, %ecx 63 btsl %ecx, %eax
|
D | EfiZeroMem.asm | 55 push ecx ; Reserve space for local variable MmxSave 56 push ecx 59 mov ecx, [ebp + 0Ch] ; Count 68 cmp ecx, 0 76 dec ecx 82 mov edx, ecx 83 shr ecx, 6 ; convert to 64-byte count 84 shl ecx, 6 ; convert back to bytes 85 sub edx, ecx ; subtract from the original count 86 shr ecx, 6 ; and this is how many 64-byte blocks [all …]
|
D | EfiZeroMem.c | 50 mov ecx, Count in EfiCommonLibZeroMem() local 59 cmp ecx, 0 in EfiCommonLibZeroMem() 67 dec ecx in EfiCommonLibZeroMem() 73 mov edx, ecx in EfiCommonLibZeroMem() 74 shr ecx, 6 ; convert to 64-byte count in EfiCommonLibZeroMem() 75 shl ecx, 6 ; convert back to bytes in EfiCommonLibZeroMem() 76 sub edx, ecx ; subtract from the original count in EfiCommonLibZeroMem() local 77 shr ecx, 6 ; and this is how many 64-byte blocks in EfiCommonLibZeroMem() local 80 cmp ecx, 0 in EfiCommonLibZeroMem() 99 dec ecx in EfiCommonLibZeroMem() [all …]
|
D | EfiSetMemRep4.c | 47 mov ecx, Count in EfiCommonLibSetMem() 48 test ecx, ecx in EfiCommonLibSetMem() 54 mov edx, ecx in EfiCommonLibSetMem() 56 shr ecx, 2 in EfiCommonLibSetMem() 58 mov ecx, edx in EfiCommonLibSetMem() 59 and ecx, 3 in EfiCommonLibSetMem()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibSse2/Ia32/ |
D | SetMem32.asm | 41 xor ecx, ecx 42 sub ecx, edi 43 and ecx, 15 ; ecx + edi aligns on 16-byte boundary 46 shr ecx, 2 47 cmp ecx, edx 48 cmova ecx, edx 49 sub edx, ecx 52 mov ecx, edx 54 shr ecx, 2 64 mov ecx, edx
|
D | SetMem32.S | 39 xorl %ecx, %ecx 40 subl %edi, %ecx 41 andl $15, %ecx # ecx + edi aligns on 16-byte boundary 44 shrl $2, %ecx 45 cmpl %edx, %ecx 46 cmova %edx, %ecx 47 subl %ecx, %edx 51 movl %edx, %ecx 53 shrl $2, %ecx 63 movl %edx, %ecx
|
D | SetMem16.asm | 41 xor ecx, ecx 42 sub ecx, edi 43 and ecx, 15 ; ecx + edi aligns on 16-byte boundary 46 shr ecx, 1 47 cmp ecx, edx 48 cmova ecx, edx 49 sub edx, ecx 52 mov ecx, edx 54 shr ecx, 3 65 mov ecx, edx
|
D | SetMem16.S | 39 xorl %ecx, %ecx 40 subl %edi, %ecx 41 andl $15, %ecx # ecx + edi aligns on 16-byte boundary 44 shrl %ecx 45 cmpl %edx, %ecx 46 cmova %edx, %ecx 47 subl %ecx, %edx 51 movl %edx, %ecx 53 shrl $3, %ecx 64 movl %edx, %ecx
|
D | SetMem.S | 43 xorl %ecx, %ecx 44 subl %edi, %ecx 45 andl $15, %ecx # ecx + edi aligns on 16-byte boundary 47 cmpl %edx, %ecx 48 cmova %edx, %ecx 49 subl %ecx, %edx 53 movl %edx, %ecx 55 shrl $4, %ecx # ecx <- # of DQwords to set 71 movl %edx, %ecx
|
D | ZeroMem.S | 38 xorl %ecx, %ecx 39 subl %edi, %ecx 41 andl $15, %ecx 43 cmpl %edx, %ecx 44 cmova %edx, %ecx 45 subl %ecx, %edx 49 movl %edx, %ecx 51 shrl $4, %ecx 60 movl %edx, %ecx
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibMmx/Ia32/ |
D | CopyMem.S | 47 xorl %ecx, %ecx 48 subl %esi, %ecx 49 andl $7, %ecx # ecx + esi aligns on 8-byte boundary 51 cmpl %edx, %ecx 52 cmova %edx, %ecx 53 subl %ecx, %edx # edx <- remaining bytes to copy 57 movl %edx, %ecx 59 shrl $3, %ecx # ecx <- # of Qwords to copy 71 popl %ecx # stack cleanup 72 popl %ecx # stack cleanup [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/CompilerStub/Ia32/ |
D | memsetSSE2.asm | 43 xor ecx, ecx 44 sub ecx, edi 45 and ecx, 15 ; ecx + edi aligns on 16-byte boundary 47 cmp ecx, edx 48 cmova ecx, edx 49 sub edx, ecx 52 mov ecx, edx 54 shr ecx, 4 ; ecx <- # of DQwords to set 67 mov ecx, edx
|