]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/SysCall/Ia32/MathRShiftU64.S
Fixed one typo in MathRShiftU64.S stub implementation; Add one digest algorithm regis...
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SysCall / Ia32 / MathRShiftU64.S
index 3a8a132564c388c56539d790014a95b10bacea90..bf0587502fe75cb3f1e3516fd78678fb0af5be3e 100644 (file)
@@ -1,6 +1,6 @@
 #------------------------------------------------------------------------------\r
 #\r
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -53,7 +53,7 @@ ASM_PFX(__ashrdi3):
 More32:\r
     movl    %edx, %eax\r
     xor     %edx, %edx\r
-    and     $32, %cl\r
+    and     $31, %cl\r
     shr     %cl, %eax\r
     ret\r
 \r