Add AMD Zen 2 Matisse support (#28)

Summary:
Checked the AMD PPR and confirmed the event encoding

<img width="1182" alt="image" src="https://github.com/facebookexperimental/reverie/assets/2891235/364b15f9-3af9-47a8-a0ac-c2d4cf6981d9">

Pull Request resolved: https://github.com/facebookexperimental/reverie/pull/28

Reviewed By: asm89

Differential Revision: D53796098

Pulled By: jasonwhite

fbshipit-source-id: 9d7e8f29c5b7307819735034decfd2deba60ca3a
This commit is contained in:
Zixian Cai 2024-02-15 10:30:52 -08:00 committed by Facebook GitHub Bot
parent 9f52ff6126
commit d3e069f0bb

View file

@ -73,6 +73,7 @@ pub(crate) fn get_rcb_perf_config() -> u64 {
(0x06, 0x86) => 0x5101c4, // Intel Icelake
(0x17, 0x8) => 0x5100d1, // AMD Zen, Pinnacle Ridge
(0x17, 0x31) => 0x5100d1, // AMD Zen, Castle Peak
(0x17, 0x71) => 0x5100d1, // AMD Zen 2, Matisse
(0x19, 0x01) => 0x5100d1, // AMD Zen, Milan
(0x19, 0x50) => 0x5100d1, // AMD Zen, Cezanne
oth => panic!(