Skip to content

Exclude rv_zbs instructions from Branch direct type #86

@lz-bro

Description

@lz-bro

Greetings.

The following code seems to have forgotten to exclude the bset/bclr/bext/binv instruction ?

const char *iType = "L";
if (instr[0] == 'j' || (instr[0] == 'b' && instr[4] != 'i'))
// That 'i' for for bseti/bclri/bexti/binvi - see https://github.com/riscv/riscv-opcodes/blob/master/rv32_zbs

see https://github.com/riscv/riscv-opcodes/blob/dc3dfad509b5274a3bc69a377cd7821550d30b3e/extensions/rv_zbs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions