Skip to content

RISC-V without Ztso? #1127

Discussion options

You must be logged in to vote

There is a "strong model emulation" in box64, that can be enabled with BOX64_DYNAREC_STRONGMEM env. var. it's 0 by default (no tso emulation), because it's the fastest and many games just work fine with that, but can take value from 1 to 3. In that case, box64 will introduce memory barrier in sequence or read/write to simulate tso (roughly). Look in dynarec_rv64_helper.h with the SMDMB() macro for more details.
It's not perfect, but help run most things, with a reasonable loss of performances.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kleinesfilmroellchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants