gas: Change to "swym 0" as canonical nop insn for MMIX
authorHans-Peter Nilsson <hp@bitrange.com>
Thu, 31 Dec 2020 23:47:36 +0000 (00:47 +0100)
committerHans-Peter Nilsson <hp@bitrange.com>
Thu, 31 Dec 2020 23:47:36 +0000 (00:47 +0100)
commit64d05a4334bd7624e8e0905465b53ed7f0144cb2
tree84d09ef981bb351f8ed100343712dc78eb45b3d6
parent9b243007ba0701c7ae07dc11d0f4a0c81b1bc49f
gas: Change to "swym 0" as canonical nop insn for MMIX

While "set $0, $0" works, that's not the documented instruction to do
nothing for MMIX.  However, I'm not changing it for "nop_type 5" as
seen in gas.exp and org-1.s, because "set $0, $0" seems like it could
be re-used there, for some future ISA.

gas/
* config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
gas/ChangeLog
gas/config/tc-mmix.h