Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

compressed bitmanip instructions #213

Open
jnk0le opened this issue Feb 3, 2023 · 0 comments
Open

compressed bitmanip instructions #213

jnk0le opened this issue Feb 3, 2023 · 0 comments
Labels
future idea Something for a future version of the spec

Comments

@jnk0le
Copy link
Contributor

jnk0le commented Feb 3, 2023

I think that some of the Zba/Zbb/Zbs instructions could be a good candidates for compressed space.
mostly 64 codepoint cost each (rd'/rs1' + rs2')

sh1/2/3add - destructive index (rd'/rs1')

andn,orn,xnor - rs2' is negated operand

rev8 - destructive at 8 codeponits cost or rd' placed in bits [4:2]

.uw instructions - depending on how common is the uint32_t issue

min/minu/max/maxu - probably low useage to be worth

bseti,bclri,binvi - high cost (3+5/6 bits) (E: those replace also single bit ori/xori/andi except bclri with shamt <= 4)

@abukharmeh abukharmeh added the future idea Something for a future version of the spec label Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
future idea Something for a future version of the spec
Projects
None yet
Development

No branches or pull requests

2 participants