This is the mail archive of the
mailing list for the GCC project.
Re: [i386, patch, RFC] HLE support in GCC
> If it is the case, can we generate HLE RELEASE/ACQUIRE
> prefix automatically for C++ atomics via -mhle command line option.
> Then you don't need to modify the source codes to enable HLE support.
No, for HLE someone needs to decide whether HLE is beneficial for a given
lock. There are cases where it is not or even wrong (e.g. if there is no
email@example.com -- Speaking for myself only.