Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for non-temporal instructions #162

Open
pfotouhi opened this issue Aug 29, 2019 · 0 comments
Open

Support for non-temporal instructions #162

pfotouhi opened this issue Aug 29, 2019 · 0 comments

Comments

@pfotouhi
Copy link
Contributor

pfotouhi commented Aug 29, 2019

Currently, we do not have good support for non-temporal instructions and we are basically ignoring the non-caching behavior and implement them as normal (cacheable) instructions (see MOVNTI, MOVNTQ, MOVNTDQ, MOVNTS, MOVNTD). This implementation seems to be functionally correct, but have impact on performance with possibly some corner case issues.

We have the flag "uncacheable" in microop, but we need to have:

  • Proper mechanisms in Ruby/Classic to deal with this (make sure non-caching is maintained).

  • Have a micro-op to flush the cacheline (if it exist in cache, options suggested by Gabe: clflushopt and clwb).

P.S. Looking at some x86 stuff, we have cdaf (which we don't implement) which is basically cda (check data address) + a cache line eviction. If we have this one implemented we can simply use that instead of cda we have there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant