[committed] Major rewrite to CRX Assembler
Tomer Levi
Tomer.Levi@nsc.com
Mon Nov 29 16:50:00 GMT 2004
Hi,
The following patch finishes the work i have started recently with major
code cleanup in the CRX Assembler.
The patch makes the code much more readable and efficient, relating to how
it was (reducing it by 20%).
The Assembler testsuite runs without errors.
Changes were already committed.
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (enum operand_type): Rename rbase_cst4 to
rbase_dispu4.
Remove redundant instruction types.
(struct argument): X_op - new field.
(struct cst4_entry): Remove.
(no_op_insn): Declare.
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
(no_op_insn): Initialize array with instructions that have no
operands.
* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand
swapping.
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Major code cleanup. Remove unused variables and
functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error
messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS
relocation handling.
Regards,
Tomer Levi
Software Engineer phone:
+49-8141-35-1378
CompactRISC Development Tools fax: +49-8141-35-11-1378
National Semiconductor GmbH mailto:Tomer.Levi@nsc.com
Livry-Gargan Str. 10 internet:
http://www.national.com
82256 Fuerstenfeldbruck, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asm_rewrite.patch
Type: application/octet-stream
Size: 69569 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20041129/1f46f0a5/attachment.obj>
More information about the Binutils
mailing list