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: [RFC - ARM] - Fix PR43440 - Fix Neon inline asm register aliasing issues.


On 10/27/2010 02:02 PM, Richard Earnshaw wrote:
> On Wed, 2010-10-27 at 13:49 -0400, Richard Henderson wrote:
>> On 10/27/2010 11:32 AM, Richard Earnshaw wrote:
>>> PING - this needs a GWP review, I think.
>>
>> Pointer to the actual patch?
> 
> http://gcc.gnu.org/ml/gcc-patches/2010-03/msg00978.html
> 
>>
>> I had a look back at the original TARGET_MD_ASM_CLOBBERS
>> patch and thought it looked pretty good.
>>
>> I can't immediately think what good the O_R_N macro can
>> do outside the context of the asm clobbers.  And if that
>> is the case, I can't imagine that this new macro is any
>> cleaner than the already clean T_M_A_C patch.
>>
> 
> My  patch doesn't have the side effects that Ramana originally
> mentioned.  It also works correctly when -ffixed-<reg> and friends are
> used on the command line.

I see, yes.

Your patch is ok.  Remember to update tm.texi.in now.

I don't think a target hook is really needed until we come up with
a way to handle the other register definition macros too.  I think
the interface for register names, numbers, classes, etc probably
want a unified solution rather than simple-minded piecemeal changes.


r~


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