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: [testsuite] Adding missing dg-require-profiling directives


Chung-Lin Tang <cltang@codesourcery.com> writes:
> On 2011/12/5 12:39 AM, Mike Stump wrote:
>> On Dec 4, 2011, at 3:29 AM, Richard Sandiford <rdsandiford@googlemail.com> wrote:
>>> The problem is that MIPS has
>>> native TLS support, but the ABI has not "yet" been extended to MIPS16.
>>> MIPS16 is supposed to be link-compatible with non-MIPS16, so we can't
>>> use emultls, and must simply say sorry().
>>>
>>> This patch adds dg-require-profiling to the affected tests.  The reason
>>> I haven't just applied it as obvious is that dg-require-profiling really
>>> seems to be a test for link-time and runtime support.  There are presumably
>>> targets that can't link profiling code but that are nevertheless happily
>>> compiling the tests below.  So do we want to split the directive into two?
>>> I ask the question while hoping the answer is "no". :-)
>> 
>> Hum...  I'd rather TLS support be defined and added for MIPS16...  I think we have enough targets with profiling and TLS that coverage won't be lost with your change.  I like simple.  If someone feels strongly about splitting, I'll pre-approve their change.  I think your patch is fine.  Ok.
>
> We already have a MIPS16 TLS implementation internally,

Ah, great!

> I'll get it ready to post here soon, though I'm afraid it's a
> next-stage1 kind of modification (unless Richard has the rights to
> approve it at this stage?).

It's probably getting a bit too close for 4.7, but I'd still be
interested to see the patch.  Even if it does turn out to be 4.8
material, an early review cycle would at least mean that it can
go in soon after 4.7 branches.

I expect there'll be some binutils patches too?  They'd certainly
be good to post now.  We've just branched, and if the patches are
simple enough, they might even be suitable for 2.22.1.

Richard


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