There does not seem to be any other tests for this.
Split off from D47676.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
4 ↗ | (On Diff #151407) | Try to use shorter prefixes: SNB, IVB, HSW, BDW are the most common acronyms |
11 ↗ | (On Diff #151407) | Use --check-prefixes if you can, although I don't see any usage of ALL. |
45 ↗ | (On Diff #151407) | A lot of these prefixes look redundant? |
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | Oh, indeed. BTW, in this file, everything before Register File statistics: isn't expected to be here. Iterations: 100 Instructions: 100 Total Cycles: 51 Dispatch Width: 2 IPC: 1.96 Block RThroughput: 0.5 be named a "-basic-stats", and an option to control that output be added? |
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | Not really. |
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | I agree that it is quite essential for normal usage, |
test/tools/llvm-mca/X86/scheduler-queue-usage.s | ||
110–114 ↗ | (On Diff #151464) | Hm, it seems i have picked a bad example. |
Use xor %eax, %ebx instead of xor %eax, %eax
so that btver2 also shows up in -scheduler-stats
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | My opinion is that register pressure should be always put into perspective. |
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | I'm not denying any of that. |
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | As I wrote, I am okay with this change if other reviewers are okay with it. As a side note, the subject of this patch is a bit misleading. My understanding is that your original plan is to add test coverage specifically for the register file usage in Znver1 (in the summary, you wrote that this is a spin-off of D47676). If my understanding is correct, then please move these tests into directory ZnVer1, and make those tests znver1 only. |
test/tools/llvm-mca/X86/register-file-statistics.s | ||
---|---|---|
45 ↗ | (On Diff #151407) | Thanks!
Yes and no. So i could make it znver1-specific, but it seems that in this case, |
Well, I guess it doesn't hurt to have these new tests.
We already have tests for all the views and all the stats. But you are right, we don't have tests _only_ for those two flags.
It looks good to me.
Thanks,
-Andrea