Re: [PATCH][ARM] PR target/69875 Fix atomic_loaddi expansion

2016-02-24 Thread Ramana Radhakrishnan
On 19/02/16 15:24, Kyrill Tkachov wrote: > Hi all, > > The atomic_loaddi expander on arm has some issues and can benefit from a > rewrite to properly > perform double-word atomic loads on various architecture levels. > > Consider the code: > -- > #include > > atomic_ullon

[PATCH][ARM] PR target/69875 Fix atomic_loaddi expansion

2016-02-19 Thread Kyrill Tkachov
Hi all, The atomic_loaddi expander on arm has some issues and can benefit from a rewrite to properly perform double-word atomic loads on various architecture levels. Consider the code: -- #include atomic_ullong foo; int glob; int main(void) { atomic_load_explicit(&fo