diff options
author | Jeffrey Walton <noloader@gmail.com> | 2020-04-05 17:23:32 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2020-04-05 17:23:32 -0400 |
commit | d53f064c9b5a205b685c707570e6b1c2057a52e8 (patch) | |
tree | 57b574383a159182817765981a3eefdedf1c493e /GNUmakefile | |
parent | b117ba327829c952165bbc820f987a7337c51e39 (diff) | |
download | cryptopp-git-d53f064c9b5a205b685c707570e6b1c2057a52e8.tar.gz |
Use Altivec as minimum ISA of ChaCha Simon64 and Speck64
Diffstat (limited to 'GNUmakefile')
-rwxr-xr-x | GNUmakefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/GNUmakefile b/GNUmakefile index 3bd6bc68..51740757 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -679,8 +679,6 @@ ifeq ($(DETECT_FEATURES),1) ifneq ($(POWER7_FLAG),) BLAKE2S_FLAG = $(POWER7_FLAG) CHACHA_FLAG = $(POWER7_FLAG) - SIMON64_FLAG = $(POWER7_FLAG) - SPECK64_FLAG = $(POWER7_FLAG) endif ##################################################################### @@ -719,6 +717,12 @@ ifeq ($(DETECT_FEATURES),1) endif endif + ifneq ($(ALTIVEC_FLAG),) + CHACHA_FLAG = $(ALTIVEC_FLAG) + SIMON64_FLAG = $(ALTIVEC_FLAG) + SPECK64_FLAG = $(ALTIVEC_FLAG) + endif + ##################################################################### # Fixups for algorithms that can drop to a lower ISA, if needed @@ -727,18 +731,9 @@ ifeq ($(DETECT_FEATURES),1) ifeq ($(BLAKE2S_FLAG),) BLAKE2S_FLAG = $(ALTIVEC_FLAG) endif - ifeq ($(CHACHA_FLAG),) - CHACHA_FLAG = $(ALTIVEC_FLAG) - endif ifeq ($(GCM_FLAG),) GCM_FLAG = $(ALTIVEC_FLAG) endif - ifeq ($(SIMON64_FLAG),) - SIMON64_FLAG = $(ALTIVEC_FLAG) - endif - ifeq ($(SPECK64_FLAG),) - SPECK64_FLAG = $(ALTIVEC_FLAG) - endif endif ##################################################################### |