3 ms·
> In addition, x86 has relatively strong memory ordering compared to ARM. There may be code that get away with stuff on x86, that will cause subtle bugs on ARM.
by saagarjha 8y ago
> In addition, x86 has relatively strong memory ordering compared to ARM. There may be code that get away with stuff on x86, that will cause subtle bugs on ARM. Again, it is likely professional programs that do this.
This should not matter for an x86 emulator?
- imtringued 8y agoYes it doesn't matter for the x86 emulator but it matters for the humans using it. Every single difference between the target architecture and the emulating architecture costs you performance. In a CS centric world that is completely disjoint from physical laws it may not matter but if you have infinite time why waste it on waiting for an emulator, why not just rewrite the software in the first place? Unfortunately we are physical beings with limited time. If the emulator isn't fast enough then no one is going to use it.
- saagarjha 8y agoSure, but it won't cause "subtle bugs" as the parent comment points out. It'll just make emulation a bit slower.