RRZE-HPC / OSACA

Open Source Architecture Code Analyzer
GNU Affero General Public License v3.0
296 stars 18 forks source link

Instruction is missing #77

Closed ghisloine closed 3 years ago

ghisloine commented 3 years ago

Hello,

When i try to run osaca with some assembly files, there is an warning like that : " The performance data for x instruction is missing". How can i get these instructions datas ? I tried to use asmbench but i couldn't create any file. Can you show me the way ?

cod3monk commented 3 years ago

Two options:

  1. Modify the data/arch_shortname.yml file in the module directory. To find where your module directory is located run: python -c "import osaca; print(osaca.__path__)"
  2. Make a copy of any of the data files in osaca/data, modify it to your needs and it in ~/.osaca/data/