X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIpf%2FInterlockedCompareExchange64.s;h=88b9d2b49078fab32220a100328abae03338fc0b;hp=200e30e09eb50d8f0def9e03a73db2673e2c0099;hb=d9da5f59821732d18bcb8f1cc2c6615e83725b2b;hpb=d6ac6b76a87152b3a42f2688daadd3ee63f7823b diff --git a/MdePkg/Library/BaseLib/Ipf/InterlockedCompareExchange64.s b/MdePkg/Library/BaseLib/Ipf/InterlockedCompareExchange64.s index 200e30e09e..88b9d2b490 100644 --- a/MdePkg/Library/BaseLib/Ipf/InterlockedCompareExchange64.s +++ b/MdePkg/Library/BaseLib/Ipf/InterlockedCompareExchange64.s @@ -22,7 +22,7 @@ .type InternalSyncCompareExchange64, @function InternalSyncCompareExchange64:: mov ar.ccv = r33 - cmpxchg8.rel r8 = [r64], r34 + cmpxchg8.rel r8 = [r32], r34 mf br.ret.sptk.many b0 .endp InternalSyncCompareExchange64 \ No newline at end of file