From 630b47bc5ea9b5ef22f8459f48c374b9ffa97761 Mon Sep 17 00:00:00 2001 From: john xu Date: Mon, 8 Apr 2024 17:41:36 +0800 Subject: [PATCH] improve(simd): gain huge improvement with avx512 --- Cargo.lock | 8 ++++---- Cargo.toml | 6 ++++-- core/Cargo.toml | 2 +- rust-toolchain | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 36a3cfdc16..537dc92ae6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,9 +746,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.0.0" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f711ade317dd348950a9910f81c5947e3d8907ebd2b83f76203ff1807e6a2bc2" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", @@ -1044,9 +1044,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.1.20" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e825f6987101665dea6ec934c09ec6d721de7bc1bf92248e1d5810c8cd636b77" +checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" [[package]] name = "filetime" diff --git a/Cargo.toml b/Cargo.toml index 5caee37623..57d511d500 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,9 @@ p3-air = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } p3-field = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } p3-commit = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } p3-matrix = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } -p3-baby-bear = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } +p3-baby-bear = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1", features = [ + "nightly-features", +] } p3-util = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } p3-challenger = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } p3-dft = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } @@ -70,4 +72,4 @@ p3-bn254-fr = { git = "https://github.com/Plonky3/Plonky3.git", branch = "sp1" } # p3-symmetric = { path = "../Plonky3/symmetric" } # p3-uni-stark = { path = "../Plonky3/uni-stark" } # p3-maybe-rayon = { path = "../Plonky3/maybe-rayon" } -# p3-bn254-fr = { path = "../Plonky3/bn254-fr" } \ No newline at end of file +# p3-bn254-fr = { path = "../Plonky3/bn254-fr" } diff --git a/core/Cargo.toml b/core/Cargo.toml index f9a02d2c13..163e893274 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -42,7 +42,7 @@ cfg-if = "1.0.0" generic-array = { version = "1.0.0", features = ["alloc"] } typenum = "1.17.0" clap = { version = "4.4.0", features = ["derive"] } -curve25519-dalek = { version = "=4.0.0" } +curve25519-dalek = { version = "4.1.2" } elliptic-curve = "0.13.8" flate2 = "1.0.28" hashbrown = "0.14.3" diff --git a/rust-toolchain b/rust-toolchain index f7ee87eaf9..6718f2d225 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2024-01-25" +channel = "nightly-2024-02-06" components = ["llvm-tools", "rustc-dev"] \ No newline at end of file