| OLD | NEW |
| 1 /* crx.h -- Header file for CRX opcode and register tables. | 1 /* crx.h -- Header file for CRX opcode and register tables. |
| 2 Copyright 2004, 2010 Free Software Foundation, Inc. | 2 Copyright 2004, 2010, 2012 Free Software Foundation, Inc. |
| 3 Contributed by Tomer Levi, NSC, Israel. | 3 Contributed by Tomer Levi, NSC, Israel. |
| 4 Originally written for GAS 2.12 by Tomer Levi, NSC, Israel. | 4 Originally written for GAS 2.12 by Tomer Levi, NSC, Israel. |
| 5 Updates, BFDizing, GNUifying and ELF support by Tomer Levi. | 5 Updates, BFDizing, GNUifying and ELF support by Tomer Levi. |
| 6 | 6 |
| 7 This file is part of GAS, GDB and the GNU binutils. | 7 This file is part of GAS, GDB and the GNU binutils. |
| 8 | 8 |
| 9 GAS, GDB, and GNU binutils is free software; you can redistribute it | 9 GAS, GDB, and GNU binutils is free software; you can redistribute it |
| 10 and/or modify it under the terms of the GNU General Public License as | 10 and/or modify it under the terms of the GNU General Public License as |
| 11 published by the Free Software Foundation; either version 3, or (at your | 11 published by the Free Software Foundation; either version 3, or (at your |
| 12 option) any later version. | 12 option) any later version. |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 extern const reg_entry crx_copregtab[]; | 377 extern const reg_entry crx_copregtab[]; |
| 378 extern const int crx_num_copregs; | 378 extern const int crx_num_copregs; |
| 379 #define NUMCOPREGS crx_num_copregs | 379 #define NUMCOPREGS crx_num_copregs |
| 380 | 380 |
| 381 /* CRX trap/interrupt table. */ | 381 /* CRX trap/interrupt table. */ |
| 382 extern const trap_entry crx_traps[]; | 382 extern const trap_entry crx_traps[]; |
| 383 extern const int crx_num_traps; | 383 extern const int crx_num_traps; |
| 384 #define NUMTRAPS crx_num_traps | 384 #define NUMTRAPS crx_num_traps |
| 385 | 385 |
| 386 /* cst4 operand mapping. */ | 386 /* cst4 operand mapping. */ |
| 387 extern const long cst4_map[]; | 387 extern const int cst4_map[]; |
| 388 extern const int cst4_maps; | 388 extern const int cst4_maps; |
| 389 | 389 |
| 390 /* Table of instructions with no operands. */ | 390 /* Table of instructions with no operands. */ |
| 391 extern const char* no_op_insn[]; | 391 extern const char* no_op_insn[]; |
| 392 | 392 |
| 393 /* Current instruction we're assembling. */ | 393 /* Current instruction we're assembling. */ |
| 394 extern const inst *instruction; | 394 extern const inst *instruction; |
| 395 | 395 |
| 396 /* A macro for representing the instruction "constant" opcode, that is, | 396 /* A macro for representing the instruction "constant" opcode, that is, |
| 397 the FIXED part of the instruction. The "constant" opcode is represented | 397 the FIXED part of the instruction. The "constant" opcode is represented |
| (...skipping 12 matching lines...) Expand all Loading... |
| 410 /* Does the current instruction has register list ? */ | 410 /* Does the current instruction has register list ? */ |
| 411 #define INST_HAS_REG_LIST \ | 411 #define INST_HAS_REG_LIST \ |
| 412 (instruction->flags & REG_LIST) | 412 (instruction->flags & REG_LIST) |
| 413 | 413 |
| 414 /* Long long type handling. */ | 414 /* Long long type handling. */ |
| 415 /* Replace all appearances of 'long long int' with LONGLONG. */ | 415 /* Replace all appearances of 'long long int' with LONGLONG. */ |
| 416 typedef long long int LONGLONG; | 416 typedef long long int LONGLONG; |
| 417 typedef unsigned long long ULONGLONG; | 417 typedef unsigned long long ULONGLONG; |
| 418 | 418 |
| 419 #endif /* _CRX_H_ */ | 419 #endif /* _CRX_H_ */ |
| OLD | NEW |