qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH RFC v1 3/3] target/ppc: Generate fence operation


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH RFC v1 3/3] target/ppc: Generate fence operations
Date: Fri, 7 Apr 2017 11:19:59 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 04/06/2017 10:21 PM, Nikunj A Dadhania wrote:
We do that in the macro:

      if (len > 1) {                                          \
          gen_check_align(ctx, t0, (len) - 1);                \
      }                                                       \

Would we still need a barrier before the alignment check?

Ah, that's where it's been placed.

So, the MO_ALIGN flag to tcg_gen_atomic_* takes care of the alignment check too. So we could move this down into the failure path.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]