Oleg Endo
2014-10-08 23:27:55 UTC
Hi,
Some of the SH4A LL/CS atomic sequences leave the T bit set to 1 after
they have finished executing. Somehow this went unnoticed when the
patterns were initially added a while a go. Committed as obvious to
trunk (r216018), 4.9 (r216019) and 4.8 (216020).
Cheers,
Oleg
gcc/ChangeLog:
PR target/52941
* config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
atomic_fetch_<fetchop_name>si_hard,
atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
atomic_nand_fetch<mode>_hard): Add missing set of T_REG.
Some of the SH4A LL/CS atomic sequences leave the T bit set to 1 after
they have finished executing. Somehow this went unnoticed when the
patterns were initially added a while a go. Committed as obvious to
trunk (r216018), 4.9 (r216019) and 4.8 (216020).
Cheers,
Oleg
gcc/ChangeLog:
PR target/52941
* config/sh/sync.md (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
atomic_fetch_<fetchop_name>si_hard,
atomic_fetch_<fetchop_name><mode>_hard, atomic_fetch_nandsi_hard,
atomic_fetch_nand<mode>_hard, atomic_<fetchop_name>_fetchsi_hard,
atomic_<fetchop_name>_fetch<mode>_hard, atomic_nand_fetchsi_hard,
atomic_nand_fetch<mode>_hard): Add missing set of T_REG.