aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mmix.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2021-01-01 00:47:36 +0100
committerHans-Peter Nilsson <hp@bitrange.com>2021-01-01 00:47:36 +0100
commit64d05a4334bd7624e8e0905465b53ed7f0144cb2 (patch)
tree84d09ef981bb351f8ed100343712dc78eb45b3d6 /gas/config/tc-mmix.h
parent9b243007ba0701c7ae07dc11d0f4a0c81b1bc49f (diff)
downloadgdb-64d05a4334bd7624e8e0905465b53ed7f0144cb2.zip
gdb-64d05a4334bd7624e8e0905465b53ed7f0144cb2.tar.gz
gdb-64d05a4334bd7624e8e0905465b53ed7f0144cb2.tar.bz2
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".
Diffstat (limited to 'gas/config/tc-mmix.h')
-rw-r--r--gas/config/tc-mmix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mmix.h b/gas/config/tc-mmix.h
index 2d8e226..bd597db 100644
--- a/gas/config/tc-mmix.h
+++ b/gas/config/tc-mmix.h
@@ -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"