mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-23 12:28:42 +00:00
a4e57084c1
OPC_SYNC_WMB, OPC_SYNC_MB, OPC_SYNC_ACQUIRE, OPC_SYNC_RELEASE and
OPC_SYNC_RMB have wrong encode. According to the mips manual,
their encode should be 'OPC_SYNC | 0x?? << 6' rather than
'OPC_SYNC | 0x?? << 5'. Wrong encode can lead illegal instruction
errors. These instructions often appear with multi-threaded
simulation.
Fixes:
|
||
---|---|---|
.. | ||
tcg-target.h | ||
tcg-target.inc.c |