This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r228847 - in /branches/gcc-4_9-branch/gcc: Chan...
- From: bergner at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 15 Oct 2015 16:40:15 -0000
- Subject: r228847 - in /branches/gcc-4_9-branch/gcc: Chan...
Author: bergner
Date: Thu Oct 15 16:40:14 2015
New Revision: 228847
URL: https://gcc.gnu.org/viewcvs?rev=228847&root=gcc&view=rev
Log:
Backport from mainline
2015-10-14 Peter Bergner <bergner@vnet.ibm.com>
Torvald Riegel <triegel@redhat.com>
PR target/67281
* config/rs6000/htm.md (UNSPEC_HTM_FENCE): New.
(tabort, tabort<wd>c, tabort<wd>ci, tbegin, tcheck, tend,
trechkpt, treclaim, tsr, ttest): Rename define_insns from this...
(*tabort, *tabort<wd>c, *tabort<wd>ci, *tbegin, *tcheck, *tend,
*trechkpt, *treclaim, *tsr, *ttest): ...to this. Add memory barrier.
(tabort, tabort<wd>c, tabort<wd>ci, tbegin, tcheck, tend,
trechkpt, treclaim, tsr, ttest): New define_expands.
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Define
__TM_FENCE__ for htm.
* doc/extend.texi: Update documentation for htm builtins.
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/rs6000/htm.md
branches/gcc-4_9-branch/gcc/config/rs6000/rs6000-c.c
branches/gcc-4_9-branch/gcc/doc/extend.texi