<div dir="ltr"><div>Hi Ryan,</div><div><br></div><div>It may be worth trying to run llvm-exegesis on your target 
(assuming that you have access to the hardware). 

</div><div>As far as I understand, 
exegesis should already support aarch64. That being said, I 
personally 

never tried it on arm/aarch64, so I don't know what is the level of support for your particular processor.</div><div><br></div><div>-Andrea<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 11:55 PM Ryan Houdek via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello!<br>
Sorry about the cold emailing here<br>
<br>
I was looking to use llvm-mca for some static analysis of codegen I am<br>
running and noticed that I was getting only A57 scheduling<br>
information.<br>
Turns out all Cortexs past A57 are just using the A57 scheduler.<br>
I've started writing a custom Cortex-A77 scheduler file from the<br>
guidance in the public optimization guide for the core.<br>
Sadly I have very quickly run into the problem where any multi-uop<br>
instruction isn't described how many uops per pipeline is generated.<br>
Considering I don't have access to ARM's internal documentation here,<br>
it's hard to generate a schedule file for these cores that will end up<br>
being correct enough for static analysis.<br>
<br>
I see David Penry (Who I've CC'd) has recently created a schedule file<br>
for the M7.<br>
Does anyone have schedule files coming for these CPU cores?<br>
Or maybe the documentation about which uops are generated for which<br>
instructions can be made available? That way schedule files can be<br>
created publicly?<br>
Cortex-A77 is the ideal choice in this case, but A78 and subsequently<br>
X1 will be interesting targets as time moves forward.<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>