andreas-abel / uiCA

uops.info Code Analyzer
GNU Affero General Public License v3.0
230 stars 16 forks source link

Python exception when selecting some uarches #1

Closed pervognsen closed 3 years ago

pervognsen commented 3 years ago

First off, congrats on the announcement and initial release! I'm excited to start using it in my work.

I tried using the online version with this block: https://gist.github.com/pervognsen/5e081b19720a8d6954e28f187b50beff

It works on Skylake but when selecting some other uarches like Ice Lake I get the following Python error message:

Traceback (most recent call last):
  File "/uiCA/uiCA.py", line 2413, in <module>
    main()
  File "/uiCA/uiCA.py", line 2363, in main
    TP = float(uopsForRelRound[-1][lastApplicableInstr][-1].retired
IndexError: list index out of range
andreas-abel commented 3 years ago

Thanks for reporting. It should be fixed now.