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

compressed bitmanip instructions #213

@jnk0le

Description

@jnk0le

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    future ideaSomething for a future version of the spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions