summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-07-23 18:55:47 +0000
committerEd Maste <emaste@FreeBSD.org>2020-07-23 18:55:47 +0000
commit0d2c19d05b7c6a96a04b465d759bc0ab49afb7b1 (patch)
treeb93aa9251c78b5dbe58b9d80991c3d52a8ae40ef /lib
parentf0276e8c38175617e45fb26a106b75a0680dfa1e (diff)
downloadsrc-test2-0d2c19d05b7c6a96a04b465d759bc0ab49afb7b1.tar.gz
src-test2-0d2c19d05b7c6a96a04b465d759bc0ab49afb7b1.zip
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
Notes
Notes: svn path=/head/; revision=363454
Diffstat (limited to 'lib')
-rw-r--r--lib/libmd/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile
index e001bb428d3c..cc464a1a46bf 100644
--- a/lib/libmd/Makefile
+++ b/lib/libmd/Makefile
@@ -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