Hi Richard,
On Friday, 27 May 2016, Richard Henderson <r...@twiddle.net> wrote: > Cc: Claudio Fontana <claudio.font...@gmail.com <javascript:;>> > Signed-off-by: Richard Henderson <r...@twiddle.net <javascript:;>> > --- > tcg/aarch64/tcg-target.inc.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/tcg/aarch64/tcg-target.inc.c b/tcg/aarch64/tcg-target.inc.c > index 1447f7c..839569d 100644 > --- a/tcg/aarch64/tcg-target.inc.c > +++ b/tcg/aarch64/tcg-target.inc.c > @@ -372,6 +372,9 @@ typedef enum { > I3510_EOR = 0x4a000000, > I3510_EON = 0x4a200000, > I3510_ANDS = 0x6a000000, > + > + /* System instrutions. */ typo here, "instructions" Ciao, C. > + DMB_ISH = 0xd5033bbf, > } AArch64Insn; > > static inline uint32_t tcg_in32(TCGContext *s) > @@ -1637,6 +1640,9 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc, > tcg_out_insn(s, 3508, SMULH, TCG_TYPE_I64, a0, a1, a2); > break; > > + case INDEX_op_fence: > + tcg_out32(s, DMB_ISH); > + break; > case INDEX_op_mov_i32: /* Always emitted via tcg_out_mov. */ > case INDEX_op_mov_i64: > case INDEX_op_movi_i32: /* Always emitted via tcg_out_movi. */ > @@ -1761,6 +1767,7 @@ static const TCGTargetOpDef aarch64_op_defs[] = { > { INDEX_op_muluh_i64, { "r", "r", "r" } }, > { INDEX_op_mulsh_i64, { "r", "r", "r" } }, > > + { INDEX_op_fence, { } }, > { -1 }, > }; > > -- > 2.5.5 > > --