From d4750239eac3e953932e7b8a2c4387afdfa24a2d Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 6 Nov 2020 22:56:09 +0100 Subject: [PATCH 1/2] New MSR mod for Ryzen +3.5% on Zen2, +1-2% on Zen3 --- src/crypto/rx/RxConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/rx/RxConfig.cpp b/src/crypto/rx/RxConfig.cpp index cb90892f..027e5837 100644 --- a/src/crypto/rx/RxConfig.cpp +++ b/src/crypto/rx/RxConfig.cpp @@ -68,7 +68,7 @@ constexpr size_t kMsrArraySize = 4; static const std::array msrPresets = { MsrItems(), - MsrItems{{ 0xC0011020, 0x0 }, { 0xC0011021, 0x40, ~0x20ULL }, { 0xC0011022, 0x510000 }, { 0xC001102b, 0x1808cc16 }}, + MsrItems{{ 0xC0011020, 0x0004480000000000ULL }, { 0xC0011021, 0x001c000200000040ULL }, { 0xC0011022, 0xc000000401500000ULL }, { 0xC001102b, 0x2000cc14ULL }}, MsrItems{{ 0x1a4, 0xf }}, MsrItems() }; From 1e3e8ff8eeb27fe4146c357162ac6998046841de Mon Sep 17 00:00:00 2001 From: SChernykh Date: Fri, 6 Nov 2020 22:59:18 +0100 Subject: [PATCH 2/2] Update RxConfig.cpp --- src/crypto/rx/RxConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/rx/RxConfig.cpp b/src/crypto/rx/RxConfig.cpp index 027e5837..d35be18d 100644 --- a/src/crypto/rx/RxConfig.cpp +++ b/src/crypto/rx/RxConfig.cpp @@ -68,7 +68,7 @@ constexpr size_t kMsrArraySize = 4; static const std::array msrPresets = { MsrItems(), - MsrItems{{ 0xC0011020, 0x0004480000000000ULL }, { 0xC0011021, 0x001c000200000040ULL }, { 0xC0011022, 0xc000000401500000ULL }, { 0xC001102b, 0x2000cc14ULL }}, + MsrItems{{ 0xC0011020, 0x0004480000000000ULL }, { 0xC0011021, 0x001c000200000040ULL, ~0x20ULL }, { 0xC0011022, 0xc000000401500000ULL }, { 0xC001102b, 0x2000cc14ULL }}, MsrItems{{ 0x1a4, 0xf }}, MsrItems() };