lowRISC / lowRISC/lowrisc-toolchains
Binutils is missing pseudo-instructions for unratified `Zbp` instructions
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 49
- Forks
- 22
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 2
Description
Binutils is missing the following pseudo-instructions for the unratified Zbp instructions:
rev{,2,4,8,16,32}{,.p,.n,.b,.h,.w}which are pseudo-instructions forgrevi(except forrev8which became a ratified instruction inZbb)orc{,2,4,8,16,32},orc.p,orc{,2}.n,orc{,2,4}.b,orc{,2,4,8}.h,orc{2,4,8,16}.wwhich are pseudo-instructions forgorci(except fororc.bwhich became a ratified instruction inZbb){,un}zip{,2,4,8,16},{,un}zip.n,{,un}zip{,2}.b,{,un}zip{,2,4}.h,{,un}zip{,2,4,8}.wwhich are pseudo-instructions forshfli/unshfli(except forzip/unzipwhich became ratified instructions inZbkb)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Binutils assembler handling for the existing grevi, gorci, shfli, and unshfli instructions. Compare the listed Zbp pseudo-instructions with the ratified Zbb and Zbkb exceptions, then identify the relevant assembler tests. Done means the requested aliases assemble correctly while the listed ratified instructions remain handled as specified.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100