This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Since there are several parts in the CRX assembler port that are poorly written, I'm taking the opportunity to rewrite them. The following patch starts this task - it provides a more generic operand parsing mechanism than the one used till now. Tested successfully on the current testsuite. I will commit these changes shortly. 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> * opcode/crx.h (enum argtype): Rename types, remove unused types. 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> * crx-opc.c (crx_optab): Rename 'arg_icr' to 'arg_idxr' for Index register mode. * crx-dis.c: Likewise. 2004-11-05 Tomer Levi <Tomer.Levi@nsc.com> * config/tc-crx.c: Rename argument types. (processing_arg_number): Rename to 'cur_arg_num'. (get_number_of_bits): Rename to 'set_operand_size'. (get_operandtype): Rename to 'parse_operand', totally rewrite. (set_cons_rparams): Rename to 'set_operand', totally rewrite. (set_indexmode_parameters): Remove function, integrate its code into 'set_operand'. (set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead. Use a local 'argument' pointer to reference the current argument. (parse_operand): Likewise. (set_operand): Likewise. (process_label_constant): Likewise. 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
Attachment:
crx.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |