S390: Allowing a NOP instruction without operands

Nick Clifton nickc@redhat.com
Wed Jun 17 16:23:00 GMT 2009


Hi Martin,

  A Fedora user recently filed a binutils bug report about the NOP
  instruction for the s390:

    https://bugzilla.redhat.com/show_bug.cgi?id=506417

  In it they report that the s390's NOP instruction has to have some
  operands specified, which seems rather counter-intuitive given that
  it does not do anything.

  I have proposed a patch (attached here and also available via that
  bugzilla page) to allow the assembler to ignore any missing operands
  when a NOP instruction is found.  What do you think ?  Would this be
  OK for the s390 port or is there a reason why the NOP instruction
  should take some parameters ?

Cheers
  Nick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tc-s390.c.patch
Type: text/x-patch
Size: 1173 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090617/7d593c52/attachment.bin>


More information about the Binutils mailing list