Merge branch 'dev'

update-fork
MITSUNARI Shigeo 4 years ago
commit daea66e216
  1. 8
      .github/workflows/main.yml
  2. 1
      src/fp_generator.hpp

@ -8,13 +8,17 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: lscpu
- run: sudo apt install valgrind
- run: make bin/pairing.exe -j4
- run: valgrind bin/pairing.exe
- run: make clean
# - run: wget https://software.intel.com/content/dam/develop/external/us/en/documents/downloads/sde-external-8.63.0-2021-01-18-lin.tar.bz2
# - run: bzip2 -dc sde-external-8.63.0-2021-01-18-lin.tar.bz2 | tar xvf -
# - run: make bin/bn_test.exe DEBUG=1 -j4
# - run: sde-external-8.63.0-2021-01-18-lin/sde64 -hsw -- bin/bn_test.exe
- run: make test_ci DEBUG=1 -j4 || dmesg | tail
- run: make test_ci DEBUG=1 -j4
- run: make clean
- run: make test_ci DEBUG=1 -j4 CXX=clang++ || dmesg | tail
- run: make test_ci DEBUG=1 -j4 CXX=clang++
- run: make clean
# - run: make test_go
# - run: sudo apt install openjdk-8-jdk

@ -312,6 +312,7 @@ struct FpGenerator : Xbyak::CodeGenerator {
if (!cpu.has(Xbyak::util::Cpu::tAVX)) return false;
useMulx_ = cpu.has(Xbyak::util::Cpu::tBMI2);
useAdx_ = cpu.has(Xbyak::util::Cpu::tADX);
if (!(useMulx_ && useAdx_)) return false;
#endif
reset(); // reset jit code for reuse
#ifndef MCL_DUMP_JIT

Loading…
Cancel
Save