projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1e69e2
)
target-alpha: Generate fence op
author
Pranith Kumar
<bobby.prani@gmail.com>
Thu, 14 Jul 2016 20:20:24 +0000
(16:20 -0400)
committer
Richard Henderson
<rth@twiddle.net>
Fri, 16 Sep 2016 15:12:12 +0000
(08:12 -0700)
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <
20160714202026
.9727-13-bobby.prani@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-alpha/translate.c
patch
|
blob
|
history
diff --git
a/target-alpha/translate.c
b/target-alpha/translate.c
index 0ea0e6e1465d3fcc0c4bd6b363f08b34c9643343..c27c7b9cc49937098b5e54f95236f66f084abaac 100644
(file)
--- a/
target-alpha/translate.c
+++ b/
target-alpha/translate.c
@@
-2338,11
+2338,11
@@
static ExitStatus translate_one(DisasContext *ctx, uint32_t insn)
break;
case 0x4000:
/* MB */
- /* No-op */
+ tcg_gen_mb(TCG_MO_ALL | TCG_BAR_SC);
break;
case 0x4400:
/* WMB */
- /* No-op */
+ tcg_gen_mb(TCG_MO_ST_ST | TCG_BAR_SC);
break;
case 0x8000:
/* FETCH */