aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-12-17 14:06:26 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-12-17 14:06:31 +0000
commit2ee17d691f4f34769b64fffc6fe704ae13667256 (patch)
treefd37bcdee6720bcbdb42917101dc815e37e9323c /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent254b5e786951f7cb1c9ba88cfb9c03843c786a23 (diff)
downloadllvm-2ee17d691f4f34769b64fffc6fe704ae13667256.zip
llvm-2ee17d691f4f34769b64fffc6fe704ae13667256.tar.gz
llvm-2ee17d691f4f34769b64fffc6fe704ae13667256.tar.bz2
[llvm-exegesis][X86] Use the same AGU counter estimate mapping for znver1 as znver2, and count RMW ops as well
znver2 can use the ld/st dispatch counters to make a reasonable estimate for the AGU usage (although it misses complex LEA ops which I don't think we can fix), although it wasn't accounting for RMW ld-st uops which are counted separately - the same approach can be used for znver1 (ymm double-pumping ld/st agu is correctly measured as 2uops) This change is mainly academic, but was noticed as the znver1/2 models incorrectly assume scalar RMW ops take 2uops
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions