Page MenuHomePhabricator

[WIP][llvm-exegesis] Add support for memory instructions in latency mode.
Needs ReviewPublic

Authored by courbet on Nov 9 2018, 7:41 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This only supports instructions that touch memory without being serial
*through* memory right now: ADD64rm is supported, ADD64mr is not.

Note tthat this doe snot take memory latency into account, e.g. latency for ADD64rm will be 1.

Diff Detail

Event Timeline

courbet created this revision.Nov 9 2018, 7:41 AM

Is something like this still planned?
Looks like this 'kinda' stalled.

Is something like this still planned?
Looks like this 'kinda' stalled.

We have not had time to work on that recently, but it's something we want to have eventually. The reason why I did not submit this is that "this only supports instructions that touch memory without being serial": it's a bit restrictive, I'd like to do better than that to avoid giving misleading results when this assumption is not met (we should at least detect it).

Herald added a project: Restricted Project. · View Herald TranscriptDec 18 2019, 10:06 AM