[patch] New opcode support for tic4x - part I
Svein E. Seldal
Svein.Seldal@solidas.com
Mon Nov 18 01:37:00 GMT 2002
Hello,
New opcodes are committed into the CVS. Testsuites are updated
accordingly. Except from documentation, the tic4x is now considered
complete. Please do test this target.
Are there special requirements to the gas documentation? That is, do the
documentation (in the upcoming gas/doc/c-tic4x.texi) need to be at a
special quality-level before it can be hooked into the global files
(gas/doc/all.texi and gas/doc/as.texinfo)? I see that there exists
documentation for a lot more targets than what is included into the as
manual per. default. What is the ordinary pratice for this?
Svein
opcodes/ChangeLog:
2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
* tic4x-dis.c: Added support for enhanced and special insn.
(c4x_print_op): Added insn class 'i' and 'j'
(c4x_hash_opcode_special): Add to support special insn
(c4x_hash_opcode): Update to support the new opcode-list
format. Add support for the new special insns.
(c4x_disassemble): New opcode-list support.
include/ChangeLog:
2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
* opcode/tic4x.h: File reordering. Added enhanced opcodes.
gas/ChangeLog:
2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
* config/tc-tic4x.c: Fixed proper commandline
parameters. Added support for new opcode-list format. General
error message fixups.
(c4x_inst_add): Reject insn not for our CPU
(md_begin): Added matrix for setting the proper opcode-level &
device-flags according to cpu type and revision. Rewrite the
opcode hasher.
(c4x_operand_parse): Fix opcode bug
(c4x_operands_match): New function argument. Added dry-run
mechanism, that is optional error generation. Added constraint 'i'
and 'j'.
(c4x_insn_check): Added new function for post-verification of the
generated insn.
(md_assemble): Check all opcodes before croaking because of an
argument mismatch. Need this to be able to fully support
ortogonally arguments.
(md_parse_options): Revised commandprompt swicthes and added new
ones.
(md_show_usage): Complete rewrite of printout.
* testsuite/gas/tic4x/addressing.s: Fix bug in one insn
* testsuite/gas/tic4x/addressing_c3x.d: Update thereafter
* testsuite/gas/tic4x/addressing_c4x.d: Update thereafter
* testsuite/gas/tic4x/allopcodes.S: Add support for new
opclass.h changes
* testsuite/gas/tic4x/opclasses.h: Added testsuites for
the new enhanced opcodes.
* testsuite/gas/tic4x/opcodes.s: Regenerate
* testsuite/gas/tic4x/opcodes_c3x.d: Update from above
* testsuite/gas/tic4x/opcodes_c4x.d: Update from above
* testsuite/gas/tic4x/opcodes_new.d: Added new testsuite for
the enhanced and special insns.
* testsuite/gas/tic4x/tic4x.exp: Added the opcodes_new testsuite
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tic4x-upgrade3a.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20021118/97cbcfef/attachment.ksh>
More information about the Binutils
mailing list