On 19 October 2012 14:53, Ramana Radhakrishnan <ramana....@googlemail.com> wrote: > On Fri, Oct 19, 2012 at 7:46 AM, Zhenqiang Chen > <zhenqiang.c...@linaro.org> wrote: >> Hi, >> >> In function arm_expand_compare_and_swap, oldval is converted to SImode >> when its "mode" is QImode/HImode. After "FALLTHRU" to "case SImode", >> we should use "SImode", other than "mode" (which is QImode/HImode). >> And INSN atomic_compare_and_swap<mode>_1 expects the operand in >> SImode. >> >> No make check regression. >> >> Is it OK for 4.7 and trunk? > > Makes sense , OK for both. >
Thanks. Committed to 4.7 and trunk. -Zhenqiang