search for: compare_exchange_strong

Displaying 3 results from an estimated 3 matches for "compare_exchange_strong".

2017 Jan 26
2
Unstable XRay test on ARM
...hreaded scenario, so I don't see a reason to investigate why this happens except curiosity... maybe the mutex is not ready, or CPU cache problem, or it translates into a single CPU instruction that fails for hardware reasons, who knows. > > Dean, is there any reason not to change this to compare_exchange_strong() ? As I understand, polling in a loop is not an option because it's not clear for how long to iterate. > > Cheers, > Serge > >> On 25 January 2017 at 18:23, David Blaikie <dblaikie at gmail.com> wrote: >> +Dean Michael Berris >> >> >>> On...
2017 Jan 25
2
Unstable XRay test on ARM
+Dean Michael Berris <dberris at google.com> On Wed, Jan 25, 2017 at 7:01 AM Oleg Ranevskyy via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi Renato, Dean, Serge, > > Just looked into the code and wanted to share some thoughts. > > This might be a compare_exchange_weak spurious failure. ARM is a weakly > ordered CPU, but I am not sure whether spurious failures
2017 Jan 27
2
Unstable XRay test on ARM
I don't object to backporting the fix. But I think the FDR itself is not in 4.0 yet. Let Dean suggest how risky FDR may be: I see substantial code changes, but for the old code they seem to be mostly moving. Dean, if you're on vacation, I can submit the compare_exchange_strong() fix. Cheers, Serge On 27 January 2017 at 19:52, Renato Golin <renato.golin at linaro.org> wrote: > On 26 January 2017 at 22:18, Dean Michael Berris via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Yeah, I was being optimistic about this one. It should be changed...