aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2019-02-01 17:42:54 +0100
committerJohn Darrington <john@darrington.wattle.id.au>2019-02-01 18:08:04 +0100
commit1d4d86699fcc9641c1f4dfb3a44a1588353c2137 (patch)
tree6366c97db7f65ae53f3a84501c98a95f42b471f7 /gas/ChangeLog
parent8b3a46f93c2b9ee839f806713afe7f88f0482214 (diff)
downloadgdb-1d4d86699fcc9641c1f4dfb3a44a1588353c2137.zip
gdb-1d4d86699fcc9641c1f4dfb3a44a1588353c2137.tar.gz
gdb-1d4d86699fcc9641c1f4dfb3a44a1588353c2137.tar.bz2
S12Z: GAS: Issue warning if TFR/EXG have identical source and destination.
It is permissible for the source and destination operands of TFR and EXG to be the same register. However it is a pointless instruction and anyone writing it has probably made a mistake. This change emits a warning if such an instruction is encountered. gas/ * config/tc-s12z.c (tfr): Emit warning if operands are the same. * testsuite/gas/s12z/exg.d: New test case. * testsuite/gas/s12z/exg.l: New file.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7905717..e168d72 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2019-01-31 John Darrington <john@darrington.wattle.id.au>
+ * config/tc-s12z.c (tfr): Emit warning if operands are the same.
+ * testsuite/gas/s12z/exg.d: New test case.
+ * testsuite/gas/s12z/exg.l: New file.
+
+2019-01-31 John Darrington <john@darrington.wattle.id.au>
+
* config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
immediate mode operands should be permitted.
* testsuite/s12z/imm-dest.d: New file.