diff options
author | Christian Groessler <chris@groessler.org> | 2012-10-26 08:14:07 +0000 |
---|---|---|
committer | Christian Groessler <chris@groessler.org> | 2012-10-26 08:14:07 +0000 |
commit | 747a4ac1f42fa0fc458b07ca0370c87f9cd7ad44 (patch) | |
tree | 4b94f90d8c2fc239c239e969b180ed8dbd2bc5e3 /opcodes/z8kgen.c | |
parent | 1fe532cf6090bf2babd3c630e07b3c8f01c2c333 (diff) | |
download | gdb-747a4ac1f42fa0fc458b07ca0370c87f9cd7ad44.zip gdb-747a4ac1f42fa0fc458b07ca0370c87f9cd7ad44.tar.gz gdb-747a4ac1f42fa0fc458b07ca0370c87f9cd7ad44.tar.bz2 |
gas/testsuite:
* gas/z8k/z8k.exp: Run translate-ops test.
* gas/z8k/translate-ops.s: New file.
* gas/z8k/translate-ops.d: New file.
opcodes:
* z8kgen.c (struct op): Fix encoding for translate opcodes (trdb,
trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove
non-existing opcode trtrb.
* z8k-opc.h: Regenerate.
Diffstat (limited to 'opcodes/z8kgen.c')
-rw-r--r-- | opcodes/z8kgen.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/opcodes/z8kgen.c b/opcodes/z8kgen.c index 8f22efd..12b65d9 100644 --- a/opcodes/z8kgen.c +++ b/opcodes/z8kgen.c @@ -514,15 +514,14 @@ static struct op opt[] = {"-ZS---", 17, 32, "0101 1100 ddN0 1000 address_dst", "testl address_dst(rd)", 0}, {"-ZS---", 13, 32, "1001 1100 dddd 1000", "testl rrd", 0}, - {"-ZSV--", 25, 8, "1011 1000 ddN0 1000 0000 aaaa ssN0 0000", "trdb @rd,@rs,rba", 0}, - {"-ZSV--", 25, 8, "1011 1000 ddN0 1100 0000 aaaa ssN0 0000", "trdrb @rd,@rs,rba", 0}, - {"-ZSV--", 25, 8, "1011 1000 ddN0 0000 0000 rrrr ssN0 0000", "trib @rd,@rs,rbr", 0}, - {"-ZSV--", 25, 8, "1011 1000 ddN0 0100 0000 rrrr ssN0 0000", "trirb @rd,@rs,rbr", 0}, - {"-ZSV--", 25, 8, "1011 1000 aaN0 1010 0000 rrrr bbN0 0000", "trtdb @ra,@rb,rbr", 0}, - {"-ZSV--", 25, 8, "1011 1000 aaN0 1110 0000 rrrr bbN0 1110", "trtdrb @ra,@rb,rbr", 0}, - {"-ZSV--", 25, 8, "1011 1000 aaN0 0010 0000 rrrr bbN0 0000", "trtib @ra,@rb,rbr", 0}, - {"-ZSV--", 25, 8, "1011 1000 aaN0 0110 0000 rrrr bbN0 1110", "trtirb @ra,@rb,rbr", 0}, - {"-ZSV--", 25, 8, "1011 1000 aaN0 1010 0000 rrrr bbN0 0000", "trtrb @ra,@rb,rbr", 0}, + {"---V--", 25, 8, "1011 1000 ddN0 1000 0000 rrrr ssN0 0000", "trdb @rd,@rs,rr", 0}, + {"---V--", 25, 8, "1011 1000 ddN0 1100 0000 rrrr ssN0 0000", "trdrb @rd,@rs,rr", 0}, + {"---V--", 25, 8, "1011 1000 ddN0 0000 0000 rrrr ssN0 0000", "trib @rd,@rs,rr", 0}, + {"---V--", 25, 8, "1011 1000 ddN0 0100 0000 rrrr ssN0 0000", "trirb @rd,@rs,rr", 0}, + {"-Z-V--", 25, 8, "1011 1000 aaN0 1010 0000 rrrr bbN0 0000", "trtdb @ra,@rb,rr", 0}, + {"-Z-V--", 25, 8, "1011 1000 aaN0 1110 0000 rrrr bbN0 1110", "trtdrb @ra,@rb,rr", 0}, + {"-Z-V--", 25, 8, "1011 1000 aaN0 0010 0000 rrrr bbN0 0000", "trtib @ra,@rb,rr", 0}, + {"-Z-V--", 25, 8, "1011 1000 aaN0 0110 0000 rrrr bbN0 1110", "trtirb @ra,@rb,rr", 0}, {"--S---", 11, 16, "0000 1101 ddN0 0110", "tset @rd", 0}, {"--S---", 14, 16, "0100 1101 0000 0110 address_dst", "tset address_dst", 0}, |