https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126293

--- Comment #19 from Haochen Jiang <haochen.jiang at intel dot com> ---
(In reply to Haochen Jiang from comment #18)
> I have a question, when we are using -march=xxx -mno-avx, should we turn on
> 128-bit atomics? The current behavior diverges for processors.
> 
> For bdver1/2/3 and btver2, it will not. For all the others, it will.

And another question is, should -march=nehalem -mavx turn on 128-bit atomics?
Nehalem is not AVX capable here. The current behavior is yes.

The current behavior really confused me.

Reply via email to