This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power


Hi,

On 16 Jul 2013, at 22:07, Peter Bergner wrote:

> On Tue, 2013-07-16 at 15:31 -0400, David Edelsohn wrote:
>> On Tue, Jul 16, 2013 at 3:27 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
>>> On Tue, 2013-07-16 at 11:55 -0500, Peter Bergner wrote:
>>>>      * config/rs6000/rs6000.h (FIRST_PSEUDO_REGISTERS): Mention HTM
>>>>      registers in the comment.
>>>>      (DWARF_FRAME_REGISTERS): Subtract also the 3 HTM registers.
>>>>      (DWARF_REG_TO_UNWIND_COLUMN): Use DWARF_FRAME_REGISTERS
>>>>      rather than FIRST_PSEUDO_REGISTERS.
>>> 
>>> FYI, this bootstrapped and regtested with no regressions.
>>> David, is this ok for mainline?
>> 
>> Okay.
> 
> Committed as revision 200988.  Thanks Jakub and David!

This series broke bootstrap on powerpc-apple-darwin9.
fixed as below, committed as obvious as r201011.
thanks
Iain

gcc/

2013-07-17 Iain Sandoe <iain@codesourcery.com>

	* config/rs6000/darwin.h (REGISTER_NAMES): Add HTM registers. 

Index: gcc/config/rs6000/darwin.h
===================================================================
--- gcc/config/rs6000/darwin.h	(revision 201003)
+++ gcc/config/rs6000/darwin.h	(working copy)
@@ -205,7 +205,8 @@ extern int darwin_emit_branch_islands;
     "v24", "v25", "v26", "v27", "v28", "v29", "v30", "v31",             \
     "vrsave", "vscr",							\
     "spe_acc", "spefscr",                                               \
-    "sfp"								\
+    "sfp",								\
+    "tfhar", "tfiar", "texasr"						\
 }
 
 /* This outputs NAME to FILE.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]