Browse Source

Don't use -march=native for keccak

CircleCI has AVX512 support and the compiler will generate instructions that Valgrind doesn't handle.
kyber
Thom Wiggers 5 years ago
committed by Kris Kwiatkowski
parent
commit
296177e079
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/keccak4x/Makefile

+ 1
- 1
common/keccak4x/Makefile View File

@@ -1,7 +1,7 @@
KeccakP-1600-times4-SIMD256.o: KeccakP-1600-times4-SIMD256.c \
align.h brg_endian.h KeccakP-1600-times4-SnP.h \
KeccakP-1600-unrolling.macros SIMD256-config.h
$(CC) $(CFLAGS) -march=native -c $< -o $@
$(CC) $(CFLAGS) -mavx2 -c $< -o $@

.PHONY: clean
clean:


Loading…
Cancel
Save