Skip to content

RISC-V miss report READ vector register on v.move instruction #2936

@santimc

Description

@santimc

Work environment

Questions Answers
System Capstone runs on OS/arch/bits any
Capstone module affected risc-v
Source of Capstone git clone
Version/git commit 6.0.0-Alpha8

Steps to get the wrong result

With cstool:

cstool -d riscv64 d7600542
 0  d7 60 05 42  vmv.s.x        v1, a0
        ID: 1382 (vmv_s_x)
        op_count: 2
                operands[0].type: REG = v1
                operands[0].access: READ
                operands[1].type: REG = a0
                operands[1].access: READ

        Groups: HasVInstructions

Should classify v1 as WRITE

Metadata

Metadata

Assignees

No one assigned

    Labels

    RISCVArchbugSomething is not working as it should

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions