https://bugs.kde.org/show_bug.cgi?id=473978

            Bug ID: 473978
           Summary: Add support for checking of cpu state in code
                    translation
    Classification: Developer tools
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: rjie...@gmail.com
  Target Milestone: ---

valgrind buffered translated codes in "transtab", and reuse these codes
directly if next PC is same as these code.

there is a limit for this design, every code block must have enough instruction
information in current code block.

In other ISAs like RISCV Vector [1], current instruction codes depend other
state of CSRs like VTYPE/VL,
only PC information is not enough to judge that valgrind should reuse directly
buffered code or not.

we need to add cpu state in code translation, and save state into "transtab".

[1] https://github.com/riscv/riscv-v-spec

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to