mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-11 11:23:35 +08:00
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".
This commit is contained in:
parent
9b243007ba
commit
64d05a4334
@ -1,3 +1,7 @@
|
||||
2021-01-01 Hans-Peter Nilsson <hp@bitrange.com>
|
||||
|
||||
* config/tc-mmix.h (md_single_noop_insn): Change to "swym 0".
|
||||
|
||||
2020-12-18 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ecoff.c (ecoff_frob_symbol): Rename scom_section to
|
||||
|
@ -229,4 +229,4 @@ extern void mmix_md_do_align (int, char *, int, int);
|
||||
/* MMIX has global register symbols. */
|
||||
#define TC_GLOBAL_REGISTER_SYMBOL_OK
|
||||
|
||||
#define md_single_noop_insn "set $0, $0"
|
||||
#define md_single_noop_insn "swym 0"
|
||||
|
Loading…
Reference in New Issue
Block a user