Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !2730

i#2051 rep ifetch: add no-fetch entries for rep strings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i2051-simulate-rep into master Dec 02, 2017
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 21

To satisfy both cache and core simulators we mark subsequent iterations of rep string loops with a new trace entry type TRACE_TYPE_INSTR_NO_FETCH, which cache simulators can ignore. For offline traces, raw2trace does this for us. Since online traces would need extra overhead to distinguish the first from subsequent iters, they use a new internal type TRACE_TYPE_INSTR_MAYBE_FETCH which is converted by reader_t.

Adds instr_is_string_op() and instr_is_rep_string_op() to DR's API to facilitate this.

Adds no-fetch stats to the basic_counts tool and updates the basic_counts tests.

Fixes #2051 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2051-simulate-rep