From 2d0f2943e09f1566d23cd803a456f2f2e4c4a559 Mon Sep 17 00:00:00 2001 From: jon-chuang <9093549+jon-chuang@users.noreply.github.com> Date: Wed, 22 Apr 2020 17:10:08 +0800 Subject: [PATCH] More detailed readme instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 142ca76..eaf08e4 100644 --- a/README.md +++ b/README.md @@ -76,12 +76,12 @@ These benchmarks require the nightly Rust toolchain; to install this, run `rustu cargo +nightly bench ``` -To make use of `adcxq`, `adoxq` and `mulxq` available on most modern `x86_64` platforms (at least starting from Haswell): +To make use of `adcxq`, `adoxq` and `mulxq` available on most modern `x86_64` platforms (Broadwell onwards for Intel and Ryzen onwards for AMD), leading to a 30-70% speedup, run the following: ```bash RUSTFLAGS="--emit=asm -C target-feature=+bmi2,+adx" cargo +nightly test/build/bench --features asm ``` -To run with multiple features, make sure to double quote the features. E.g. +To run with multiple features, make sure to double quote the features. e.g. ```bash RUSTFLAGS="--emit=asm -C target-feature=+bmi2,+adx" cargo +nightly test --features "asm bls12_381" ```