]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibMmx/Ia32/SetMem.S
MdePkg: Fix Clang build failure
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibMmx / Ia32 / SetMem.S
index c7330a926636cdadd9cf80558fcab363eb7744d3..7329d6818dc667d6cc87ba0c5e0e85a6f3d8ef72 100644 (file)
@@ -43,7 +43,7 @@ ASM_PFX(InternalMemSetMem):
     andl    $7, %edx\r
     shrl    $3, %ecx                    # # of Qwords to set\r
     jz      L1\r
-    addl    $0x-10, %esp\r
+    addl    $-16, %esp\r
     movq    %mm0, (%esp)                # save mm0\r
     movq    %mm1, 8(%esp)               # save mm1\r
     movd    %eax, %mm0\r
@@ -53,7 +53,7 @@ ASM_PFX(InternalMemSetMem):
 L0:\r
     movq    %mm0, (%edi)\r
     addl    $8, %edi\r
-    loopl   L0\r
+    loop    L0\r
     movq    (%esp), %mm0                # restore mm0\r
     movq    8(%esp), %mm1               # restore mm1\r
     addl    $0x10, %esp                 # stack cleanup\r