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]

committed: CRX spec update


Hi,

The following patches update the CRX Binutils according to the latest CRX 
spec review, which was held this week.
It mainly includes changes in naming conventions of operand types, 
rearranging register and instruction table, etc'.
Since you can imagine the diffs are quite big, they are attached in files 
below and not 'cat' to the mail.
The Assembler test-suite is updated to reflect these changes.
I will check this in shortly.

INCLUDE ChangeLog (crx.h.patch):
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

        * opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and 
'pc'.
        (enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE.
        (enum operand_type): Rearrange operands, edit comments.
        replace us<N> with ui<N> for unsigned immediate.
        replace d<N> with disps<N>/dispu<N>/dispe<N> for 
signed/unsigned/escaped displacements (respectively).
        replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register 
index.
        (instruction type): Add NO_TYPE_INS.
        (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR.
        (operand_entry): New field - 'flags'.
        (operand flags): New.

OPCODES ChangeLog (crx-opcodes.c.patch):
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

        * crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
        (getregliststring): Support HI/LO and user registers.
        * crx-opc.c (crx_instruction): Update data structure according to 
the rearrangement done in CRX opcode header file.
        (crx_regtab):  Likewise.
        (crx_optab):  Likewise.
        (crx_instruction): Reorder load/stor instructions, remove 
unsupported formats.
        support new Co-Processor instruction 'cpi'.

GAS ChangeLog (tc-crx.c.patch):
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

        * config/tc-crx.c: Remove global variable 'post_inc_mode'.
        (get_flags): New function.
        (get_number_of_bits): Edit comments, update numeric values to 
supported sizes.
        (process_label_constant): Don't support the colon format 
(SYMBOL:[s|m|l]).
        (set_cons_rparams): Support argument type 'arg_rbase'.
        (get_operandtype): Bug fix in 'rbase' operand type parsing.
        (handle_LoadStor): Bug fix, first handle post-increment mode.
        (getreg_image): Remove redundant code, update according to latest 
CRX spec.
        (print_constant): Bug fix relate to 3-word instructions.
        (assemble_insn): Bug fix, when matching instructions, verify also 
instruction type (not only mnemonic).
        Add various error checking.
        (preprocess_reglist): Support HI/LO and user registers.

GAS/TESTSUITE ChangeLog (crx.gas.testsuite.patch):
2004-10-27  Tomer Levi  <Tomer.Levi@nsc.com>

        * gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
        * gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test 
bugs.
        * gas/crx/cop_insn.d: Regenerate.
        * gas/crx/list_insn.d: 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.gas.testsuite.patch
Description: Binary data

Attachment: crx.h.patch
Description: Binary data

Attachment: crx-opcodes.c.patch
Description: Binary data

Attachment: tc-crx.c.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]