Oleg Endo <oleg.e...@t-online.de> wrote: > The attached patch changes the atomic_compare_and_swap expander/insn to > use SImode for the return value instead of QImode. This is more aligned > to the other insns which handle the T bit as SImode and avoids some > unnecessary test instructions in cases where the result of the atomic op > in the T bit is re-used. > > Tested against rev 184582 with > > make -k check RUNTESTFLAGS="--target_board=sh-sim > \{-m2/-ml/-msoft-atomic, > -m2/-mb/-msoft-atomic, > -m2a-single/-mb/-msoft-atomic, > -m4-single/-ml/-msoft-atomic, > -m4-single/-mb/-msoft-atomic, > -m4a-single/-ml/-msoft-atomic, > -m4a-single/-mb/-msoft-atomic}" > > and no new failures.
OK for 4.8. Regards, kaz