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: unexpected NOP encodings


On Mon, Jun 24, 2019 at 07:56:48AM -0600, Jan Beulich wrote:
> All,
> 
> is it known (and intended) that

No, you've found a bug.

> 	.text
> 	.machine power8
> power8:
> 	nop
> 	# The NOP inserted here is controlled by the "power6" machine
> 	# setting below, not the one currently in effect.
> 	.p2align 3
> 	blr
> 
> 	.machine power6
> 
> doesn't produce the expected NOP encoding, because the encoding is
> chosen only at the end of the assembly process (i.e. when the final
> directive has already been seen and processed)?
> 
> Jan
> 

-- 
Alan Modra
Australia Development Lab, IBM


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