This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- From: Iain Sandoe <iain at codesourcery dot com>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: David Edelsohn <dje dot gcc at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Michael Meissner <meissner at linux dot vnet dot ibm dot com>, Mike Stump <mikestump at comcast dot net>
- Date: Wed, 17 Jul 2013 15:40:26 +0100
- Subject: Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- References: <1372734758 dot 4736 dot 149 dot camel at otta> <CAGWvny=8o0CUt7u03S_ueL7x3z66QG0LHfhf-PotTTEmPBdkHg at mail dot gmail dot com> <1373901800 dot 4538 dot 122 dot camel at otta> <CAGWvnynhLzpgwBN7+NH3krzc3NubvPenBvnhUMgnU1WPkr-rHA at mail dot gmail dot com> <1373909158 dot 4538 dot 156 dot camel at otta> <20130715184412 dot GN2475 at laptop dot redhat dot com> <20130715191359 dot GQ2475 at laptop dot redhat dot com> <1373917616 dot 4538 dot 165 dot camel at otta> <20130715203525 dot GT2475 at laptop dot redhat dot com> <1373993700 dot 4538 dot 194 dot camel at otta> <1374002825 dot 4538 dot 196 dot camel at otta> <CAGWvnymtg47YxPyC349x8smNtAhvaUaPavmAgdtxdq=gj5j6rg at mail dot gmail dot com> <1374008852 dot 4538 dot 197 dot camel at otta>
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. */
- References:
- [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power
- Re: [PATCH, rs6000, libitm] Enable Hardware Transactional Memory (HTM) support on Power