X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseMemoryLibOptDxe%2FAArch64%2FScanMem.S;h=99db2aebcb6d3d915e62b1eb763cef273bb8d844;hp=08e1fbb170826c071294b637cec6e6152dd4ae6b;hb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107;hpb=d1102dba7210b95e41d06c2338a22ba6af248645 diff --git a/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ScanMem.S b/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ScanMem.S index 08e1fbb170..99db2aebcb 100644 --- a/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ScanMem.S +++ b/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ScanMem.S @@ -40,7 +40,7 @@ #define result x0 #define src x3 -#define tmp x4 +#define tmp x4 #define wtmp2 w5 #define synd x6 #define soff x9 @@ -68,7 +68,7 @@ ASM_GLOBAL ASM_PFX(InternalMemScanMem8) ASM_PFX(InternalMemScanMem8): // Do not dereference srcin if no bytes to compare. - cbz cntin, .Lzero_length + cbz cntin, .Lzero_length // // Magic constant 0x40100401 allows us to identify which lane matches // the requested byte.