X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseMemoryLibOptDxe%2FArm%2FCompareGuid.S;h=b74056fa1f5ff4e72e27a3acba20c50f929ff349;hp=d729994e8cc62327e376fceed5726a6ebde6141b;hb=decaac5d0d4a5ae348035a33e820ffd902103383;hpb=217b3ac093d2c1ae2ce066984a9c4302331c07c2 diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/Arm/CompareGuid.S b/MdePkg/Library/BaseMemoryLibOptDxe/Arm/CompareGuid.S index d729994e8c..b74056fa1f 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/Arm/CompareGuid.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/Arm/CompareGuid.S @@ -30,6 +30,7 @@ .thumb .syntax unified .align 5 + .type ASM_PFX(InternalMemCompareGuid), %function ASM_GLOBAL ASM_PFX(InternalMemCompareGuid) ASM_PFX(InternalMemCompareGuid): push {r4, lr} @@ -42,7 +43,7 @@ ASM_PFX(InternalMemCompareGuid): ldr lr, [r1, #4] cmp r2, ip it eq - cmpeq r3, lr + cmpeq.n r3, lr beq 0f movs r0, #0 pop {r4, pc} @@ -51,7 +52,7 @@ ASM_PFX(InternalMemCompareGuid): ldr r3, [r1, #12] cmp r4, r2 it eq - cmpeq r0, r3 + cmpeq.n r0, r3 bne 2f movs r0, #1 pop {r4, pc} @@ -61,5 +62,5 @@ ASM_PFX(InternalMemCompareGuid): movs r0, #1 orrs r2, r2, r4 2: it ne - movne r0, #0 + movne.n r0, #0 pop {r4, pc}