Bug 921 - pysvp64dis: support instruction aliases
Summary: pysvp64dis: support instruction aliases
Status: RESOLVED WONTFIX
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Dmitry Selyutin
URL:
Depends on:
Blocks: 917
  Show dependency treegraph
 
Reported: 2022-09-01 09:53 BST by Dmitry Selyutin
Modified: 2022-09-04 17:18 BST (History)
3 users (show)

See Also:
NLnet milestone: NLNet.2019.10.042.Vulkan
total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0
parent task for budget allocation: 917
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Selyutin 2022-09-01 09:53:31 BST
Some instructions, most notably branches, have different representation depending on the operands. For example, `bc 2, 9, 8` becomes `bdzf 4*cr2+gt,0x8`, thus both the name and the count of operands is changed (if we consider operands to be separated by the comma).
Comment 1 Luke Kenneth Casson Leighton 2022-09-01 10:21:40 BST
this is too much to tackle. the list is not available
anyway in any reasonably accessible form. it would be
days or even weeks to extract the information by literally
reading 1,300 pages of spec and we do not have time unfortunately.
Comment 2 Jacob Lifshay 2022-09-01 10:25:57 BST
(In reply to Luke Kenneth Casson Leighton from comment #1)
> this is too much to tackle. the list is not available
> anyway in any reasonably accessible form.

actually it is, PowerISA v3.1B book 1 appendix c is the list/description of most instruction aliases we'd want to implement.
Comment 3 Luke Kenneth Casson Leighton 2022-09-01 10:38:50 BST
(In reply to Jacob Lifshay from comment #2)
> (In reply to Luke Kenneth Casson Leighton from comment #1)

> actually it is, PowerISA v3.1B book 1 appendix c is the list/description of
> most instruction aliases we'd want to implement.

that's a list, it's not a machine-readable, machine-executable list.
we also have no guarantee that it is complete.