Skip to content

Commit 792cb70

Browse files
committed
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20200412' into staging
Fix tcg/mips barrier encoding # gpg: Signature made Sun 12 Apr 2020 22:08:22 BST # gpg: using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F # gpg: issuer "[email protected]" # gpg: Good signature from "Richard Henderson <[email protected]>" [full] # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * remotes/rth/tags/pull-tcg-20200412: tcg/mips: mips sync* encode error Signed-off-by: Peter Maydell <[email protected]>
2 parents 17e1e49 + a4e5708 commit 792cb70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tcg/mips/tcg-target.inc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,11 @@ typedef enum {
404404

405405
/* MIPS r6 introduced names for weaker variants of SYNC. These are
406406
backward compatible to previous architecture revisions. */
407-
OPC_SYNC_WMB = OPC_SYNC | 0x04 << 5,
408-
OPC_SYNC_MB = OPC_SYNC | 0x10 << 5,
409-
OPC_SYNC_ACQUIRE = OPC_SYNC | 0x11 << 5,
410-
OPC_SYNC_RELEASE = OPC_SYNC | 0x12 << 5,
411-
OPC_SYNC_RMB = OPC_SYNC | 0x13 << 5,
407+
OPC_SYNC_WMB = OPC_SYNC | 0x04 << 6,
408+
OPC_SYNC_MB = OPC_SYNC | 0x10 << 6,
409+
OPC_SYNC_ACQUIRE = OPC_SYNC | 0x11 << 6,
410+
OPC_SYNC_RELEASE = OPC_SYNC | 0x12 << 6,
411+
OPC_SYNC_RMB = OPC_SYNC | 0x13 << 6,
412412

413413
/* Aliases for convenience. */
414414
ALIAS_PADD = sizeof(void *) == 4 ? OPC_ADDU : OPC_DADDU,

0 commit comments

Comments
 (0)