This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Group terminating nop in P9


On 3/7/18 10:11 PM, Alan Modra wrote:
> On Thu, Mar 08, 2018 at 02:18:38PM +1030, Alan Modra wrote:
>> On Wed, Mar 07, 2018 at 09:59:03AM -0600, Peter Bergner wrote:
>>> P9 does not have a group ending nop, unlike P8, P7, etc.
>>>
>>> That said, Segher just mentioned that when GCC is targetting P9,
>>> gas is generating a P8 group ending nop for a .p2align, which is
>>> a bug.  I'll fix gas so that it doesn't do that.
>>
>> I already had a patch, now tested and committed, so no need to worry.
> 
> Obviously not tested well enough.  -mpower9 sets all the PPC_OPCODE_POWERn
> for n <= 9.
> 
> 	* config/tc-ppc.c (ppc_handle_align): Correct last patch.  Really
> 	don't emit a group terminating nop for power9.  Simplify cpu
> 	tests.

Can you backport these to the 2.30 release branch?  I'd like it there
to make picking that up easier for distros that are using 2.30.  Thanks.

Peter


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