Skip to content

Conversation

@rasky
Copy link
Collaborator

@rasky rasky commented Oct 27, 2024

The CACHE opcode does not work correctly when the specified virtual address is in an uncached segment. The exact hardware behavior has not been reversed yet (we know for instance that when doing cache invalidation, some other cacheline is invalidated instead, but we do not know the relation yet).

Nonetheless, the behavior is really obscure and all usages should be considered bugs. Add a debug unusual warning for now (mainly to help developers, as this is a known instance where Ares doesn't yet follow hardware behavior).

The CACHE opcode does not work correctly when the specified virtual
address is in an uncached segment. The exact hardware behavior has not
been reversed yet (we know for instance that when doing cache
invalidation, some other cacheline is invalidated instead, but we
do not know the relation yet).

Nonetheless, the behavior is really obscure and all usages should be
considered bugs. Add a debug unusual warning for now (mainly to help
developers, as this is a known instance where Ares doesn't yet
follow hardware behavior).
@LukeUsher LukeUsher merged commit c20d405 into ares-emulator:master Oct 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants