diff options
author | Andi Kleen <ak@linux.intel.com> | 2023-05-30 04:05:39 -0700 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2023-06-12 19:22:22 -0700 |
commit | 950fa8552b9d6d6fdf9a3ad796890218a11c609e (patch) | |
tree | 4aaac65e243fc710dcad1769ab2bb8d27011e43e /gcc/config | |
parent | de5f3bbf95674c2e6688b2ce7e7a01cdc236ea41 (diff) | |
download | gcc-950fa8552b9d6d6fdf9a3ad796890218a11c609e.zip gcc-950fa8552b9d6d6fdf9a3ad796890218a11c609e.tar.gz gcc-950fa8552b9d6d6fdf9a3ad796890218a11c609e.tar.bz2 |
Update perf auto profile script
- Fix gen_autofdo_event: The download URL for the Intel Perfmon Event
list has changed, as well as the JSON format.
Also it now uses pattern matching to match CPUs. Update the script to support all of this.
- Regenerate gcc-auto-profile with the latest published Intel model
numbers, so it works with recent systems.
- So far it's still broken on hybrid systems
contrib/ChangeLog:
* gen_autofdo_event.py: Update for download server changes
gcc/ChangeLog
* config/i386/gcc-auto-profile: Regenerate.
Diffstat (limited to 'gcc/config')
-rwxr-xr-x | gcc/config/i386/gcc-auto-profile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/config/i386/gcc-auto-profile b/gcc/config/i386/gcc-auto-profile index 5ab224b..04f7d35 100755 --- a/gcc/config/i386/gcc-auto-profile +++ b/gcc/config/i386/gcc-auto-profile @@ -43,8 +43,10 @@ model*:\ 47|\ model*:\ 37|\ model*:\ 44) E="cpu/event=0x88,umask=0x40/$FLAGS" ;; model*:\ 55|\ +model*:\ 74|\ model*:\ 77|\ model*:\ 76|\ +model*:\ 90|\ model*:\ 92|\ model*:\ 95|\ model*:\ 87|\ @@ -75,14 +77,19 @@ model*:\ 165|\ model*:\ 166|\ model*:\ 85|\ model*:\ 85) E="cpu/event=0xC4,umask=0x20/p$FLAGS" ;; +model*:\ 125|\ model*:\ 126|\ +model*:\ 167|\ model*:\ 140|\ model*:\ 141|\ model*:\ 143|\ +model*:\ 207|\ model*:\ 106|\ model*:\ 108) E="cpu/event=0xc4,umask=0x20/p$FLAGS" ;; model*:\ 134|\ -model*:\ 150) E="cpu/event=0xc4,umask=0xfe/p$FLAGS" ;; +model*:\ 150|\ +model*:\ 156|\ +model*:\ 190) E="cpu/event=0xc4,umask=0xfe/p$FLAGS" ;; *) echo >&2 "Unknown CPU. Run contrib/gen_autofdo_event.py --all --script to update script." exit 1 ;; |