Marc Nieper-Wißkirchen wrote on 2023-11-06:
> Emulators aren't of much help because they usually do not implement
> the need for cache invalidation faithfully.
Indeed, you were right. In my testing on various platforms:
* I haven't seen the assertion
ASSERT (f () == 2);
fail on any QEMU-based VM.
* I could confirm your statement regarding MIPS, many years ago.
* On
Linux/hppa
Linux/powerpc
Linux/powerpc64
Linux/powerpc64le
I now saw the test succeed in a QEMU-based VM but fail on real hardware.
Bruno