On Wednesday, 9 November 2016 22:01:59 UTC, Adam Cozzette wrote:
>
> Could you try to narrow it down to one file or the other? The atomicops.h 
> header 
> <https://github.com/google/protobuf/blob/ce5160b83b03c29fd27fc9f58370092b321bf2bc/src/google/protobuf/stubs/atomicops.h#L195>
>  pulls 
> in the right atomic operations implementation based on the platform, so 
> with a little debugging it should be possible to see whether it's pulling 
> the _power.h implementation or the _ppc_gcc.h implementation for your build.
>

>From the expanded .s file (generated by the -S option to g++)

 # 214 "./google/protobuf/stubs/atomicops_internals_power.h" 1
        1:     lwz 9, 0(3)
               cmpw 9, 9
               bne- 1b
               isync

So it is using the _power.h implementation

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to