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: Universality of nop


On Wed, 20 Aug 2014, Joel Sherrill wrote:
> Hi
>
> In getting RTEMS and tests to build for the or1k, Hesham ran into
> test which had inline assembly for "nop". or1k does not have nop
> defined. Interestingly, this has not been a problem on the 17 other
> architectures we build RTEMS for.
>
> Should all targets have a nop instruction?

No, binutils-hackers don't have (should not claim) that say.
If you want to provide a mostly-universal pseudo-op ".nop",
that'd be fine (mostly, as the target environment should have
first say about its semantics - it may have claimed that
pseudo-op), but introducing an actual universal instruction with
certain semantics is unacceptable.

> Or did we just get lucky
> 17 times? :)

Yes.

brgds, H-P


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