One last Dec C tentacle on alpha.
authormiod <miod@openbsd.org>
Wed, 23 Apr 2014 19:20:36 +0000 (19:20 +0000)
committermiod <miod@openbsd.org>
Wed, 23 Apr 2014 19:20:36 +0000 (19:20 +0000)
lib/libcrypto/bn/bn_lcl.h
lib/libssl/src/crypto/bn/bn_lcl.h

index 22b4d17..e46cbc2 100644 (file)
@@ -235,10 +235,7 @@ extern "C" {
  *                                     <appro@fy.chalmers.se>
  */
 # if defined(__alpha) && (defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT))
-#  if defined(__DECC)
-#   include <c_asm.h>
-#   define BN_UMULT_HIGH(a,b)  (BN_ULONG)asm("umulh %a0,%a1,%v0",(a),(b))
-#  elif defined(__GNUC__) && __GNUC__>=2
+#  if defined(__GNUC__) && __GNUC__>=2
 #   define BN_UMULT_HIGH(a,b)  ({      \
        register BN_ULONG ret;          \
        asm ("umulh     %1,%2,%0"       \
index 22b4d17..e46cbc2 100644 (file)
@@ -235,10 +235,7 @@ extern "C" {
  *                                     <appro@fy.chalmers.se>
  */
 # if defined(__alpha) && (defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT))
-#  if defined(__DECC)
-#   include <c_asm.h>
-#   define BN_UMULT_HIGH(a,b)  (BN_ULONG)asm("umulh %a0,%a1,%v0",(a),(b))
-#  elif defined(__GNUC__) && __GNUC__>=2
+#  if defined(__GNUC__) && __GNUC__>=2
 #   define BN_UMULT_HIGH(a,b)  ({      \
        register BN_ULONG ret;          \
        asm ("umulh     %1,%2,%0"       \