Re: [PATCH, MIPS] Add most common atomic patterns

2012-06-19 Thread Maxim Kuvyrkov
I've now checked these patches. Tom, thanks for great optimizing sync and atomic builtins for MIPS and XLP, and, Richard, thanks for the reviews and education on writing good .md descriptions. -- Maxim Kuvyrkov CodeSourcery / Mentor Graphics On 13/06/2012, at 5:50 PM, Maxim Kuvyrkov wrote:

Re: [PATCH, MIPS] Add most common atomic patterns

2012-06-14 Thread Richard Sandiford
Richard Henderson writes: > On 2012-06-12 22:50, Maxim Kuvyrkov wrote: >> The third patch is a small optimization to alleviate >> __atomic_compare_exchange[_n] builtins being a use-one-for-all >> solutions. These builtins return both boolean "success" and "oldval" >> results. As most cases use o

Re: [PATCH, MIPS] Add most common atomic patterns

2012-06-13 Thread Richard Henderson
On 2012-06-12 22:50, Maxim Kuvyrkov wrote: > The third patch is a small optimization to alleviate > __atomic_compare_exchange[_n] builtins being a use-one-for-all > solutions. These builtins return both boolean "success" and "oldval" > results. As most cases use only one of the results, this > op

Re: [PATCH, MIPS] Add most common atomic patterns

2012-06-12 Thread Andrew Pinski
On Tue, Jun 12, 2012 at 10:50 PM, Maxim Kuvyrkov wrote: > This patch series adds necessary patterns for __atomic_compare_exchange[_n], > __atomic_exchange[_n] and __atomic_fetch_add builtins.  These are the > builtins that correspond to inline assembly that MIPS GLIBC port is using. > > The patc