This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/2] Support __ATOMIC_HLE_RELEASE for __atomic_clear/store_n
> >> +(define_insn "atomic_store<mode>_1"
> >> + [(set (match_operand:ATOMIC 0 "memory_operand" "=m")
> >> + (unspec:ATOMIC [(match_operand:ATOMIC 1 "<nonmemory_operand>" "<r><i>")
> >> + (match_operand:SI 2 "const_int_operand")]
> >> + UNSPEC_MOVA))]
> >> + ""
> >> + "%K2mov{<imodesuffix>}\t{%1, %0|%0, %1}")
> >
> > Is that the updated pattern you wanted? It looks similar to mine.
>
> Yes the attached patch actually implements all proposed fixes.
Ok great. Can you just commit it then? It looks good to me.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.