On 03/02/2012 10:11 AM, Richard Henderson wrote: > I'm in the process of sanity testing this on x86_64 with trueval set to 0x80. > Jakub, ok for 4.7 branch if it passes? > > * optabs.c (expand_atomic_test_and_set): Honor > atomic_test_and_set_trueval even when atomic_test_and_set > optab is not in use.
I've committed this patch to mainline. I still think it ought to go onto the 4.7 branch... r~