summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/Ia32/LRotU64.S
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/LRotU64.S')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/LRotU64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/LRotU64.S b/MdePkg/Library/BaseLib/Ia32/LRotU64.S
index 42bb22f131..615ff8146a 100644
--- a/MdePkg/Library/BaseLib/Ia32/LRotU64.S
+++ b/MdePkg/Library/BaseLib/Ia32/LRotU64.S
@@ -38,7 +38,7 @@ ASM_PFX(InternalMathLRotU64):
shldl %cl, %eax, %edx
rorl %cl, %ebx
shldl %cl, %ebx, %eax
- testb $32, %cl
+ testb $32, %cl # Count >= 32?
cmovnz %eax, %ecx
cmovnz %edx, %eax
cmovnz %ecx, %edx