svn commit: r363454 - head/lib/libmd
Ed Maste
emaste at FreeBSD.org
Thu Jul 23 18:55:48 UTC 2020
Author: emaste
Date: Thu Jul 23 18:55:47 2020
New Revision: 363454
URL: https://svnweb.freebsd.org/changeset/base/363454
Log:
libmd: temporarily disable optimized assembly skein1024 implementation
It is apparently broken when assembled by contemporary GNU as as well as
Clang IAS (which is used in the default configuration).
PR: 248221
Reported by: pizzamig
Sponsored by: The FreeBSD Foundation
Modified:
head/lib/libmd/Makefile
Modified: head/lib/libmd/Makefile
==============================================================================
--- head/lib/libmd/Makefile Thu Jul 23 17:39:49 2020 (r363453)
+++ head/lib/libmd/Makefile Thu Jul 23 18:55:47 2020 (r363454)
@@ -116,12 +116,12 @@ CFLAGS+= -DSHA1_ASM
SRCS+= rmd160.S
CFLAGS+= -DRMD160_ASM
.endif
-.if exists(${MACHINE_ARCH}/skein_block_asm.S)
-# Fully unroll all loops in the assembly optimized version
-ACFLAGS+= -DSKEIN_LOOP=0
-SRCS+= skein_block_asm.S
-CFLAGS+= -DSKEIN_ASM -DSKEIN_USE_ASM=1792 # list of block functions to replace with assembly: 256+512+1024 = 1792
-.endif
+#.if exists(${MACHINE_ARCH}/skein_block_asm.S)
+## Fully unroll all loops in the assembly optimized version
+#ACFLAGS+= -DSKEIN_LOOP=0
+#SRCS+= skein_block_asm.S
+#CFLAGS+= -DSKEIN_ASM -DSKEIN_USE_ASM=1792 # list of block functions to replace with assembly: 256+512+1024 = 1792
+#.endif
.if exists(${MACHINE_ARCH}/sha.S) || exists(${MACHINE_ARCH}/rmd160.S) || exists(${MACHINE_ARCH}/skein_block_asm.S)
ACFLAGS+= -DELF -Wa,--noexecstack
.endif
More information about the svn-src-all
mailing list