Sergey Fedorov writes: > On 27/05/16 04:00, Richard Henderson wrote: >> diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h >> index 6d0410c..b772d90 100644 >> --- a/tcg/tcg-opc.h >> +++ b/tcg/tcg-opc.h >> @@ -42,6 +42,8 @@ DEF(br, 0, 0, 1, TCG_OPF_BB_END) >> # define IMPL64 TCG_OPF_64BIT >> #endif >> >> +DEF(fence, 0, 0, 0, TCG_OPF_SIDE_EFFECTS) >> + > > I still think this TCG op needs to have a constant argument of a barrier > type. So that we can distinguish between full, read and write memory > barriers. >
Yes, I have a version with this fixed. I will post my patches(v3) with this changed. Thanks, -- Pranith