binutils-gdb/include
Andrew Burgess 4eb6f89250 Add support for 48 and 64 bit ARC instructions.
gas	* config/tc-arc.c (parse_opcode_flags): New function.
	(find_opcode_match): Move flag parsing code out to new function.
	Ignore operands marked IGNORE.
	(build_fake_opcode_hash_entry): New function.
	(find_special_case_long_opcode): New function.
	(find_special_case): Lookup long opcodes.
	* testsuite/gas/arc/nps400-7.d: New file.
	* testsuite/gas/arc/nps400-7.s: New file.

include	* opcode/arc.h (MAX_INSN_ARGS): Increase to 16.
	(struct arc_long_opcode): New structure.
	(arc_long_opcodes): Declare.
	(arc_num_long_opcodes): Declare.

opcodes	* arc-dis.c (struct arc_operand_iterator): New structure.
	(find_format_from_table): All the old content from find_format,
	with some minor adjustments, and parameter renaming.
	(find_format_long_instructions): New function.
	(find_format): Rewritten.
	(arc_insn_length): Add LSB parameter.
	(extract_operand_value): New function.
	(operand_iterator_next): New function.
	(print_insn_arc): Use new functions to find opcode, and iterator
	over operands.
	* arc-opc.c (insert_nps_3bit_dst_short): New function.
	(extract_nps_3bit_dst_short): New function.
	(insert_nps_3bit_src2_short): New function.
	(extract_nps_3bit_src2_short): New function.
	(insert_nps_bitop1_size): New function.
	(extract_nps_bitop1_size): New function.
	(insert_nps_bitop2_size): New function.
	(extract_nps_bitop2_size): New function.
	(insert_nps_bitop_mod4_msb): New function.
	(extract_nps_bitop_mod4_msb): New function.
	(insert_nps_bitop_mod4_lsb): New function.
	(extract_nps_bitop_mod4_lsb): New function.
	(insert_nps_bitop_dst_pos3_pos4): New function.
	(extract_nps_bitop_dst_pos3_pos4): New function.
	(insert_nps_bitop_ins_ext): New function.
	(extract_nps_bitop_ins_ext): New function.
	(arc_operands): Add new operands.
	(arc_long_opcodes): New global array.
	(arc_num_long_opcodes): New global.
	* arc-nps400-tbl.h: Add comments referencing arc_long_opcodes.
2016-06-02 14:03:23 +01:00
..
aout Copyright update for binutils 2016-01-01 23:00:01 +10:30
cgen Copyright update for binutils 2016-01-01 23:00:01 +10:30
coff Use a 32-bit value to hold the section number in the internal COFF symbol structure. 2016-01-18 15:58:47 +00:00
elf add more extern C 2016-06-01 21:26:32 -04:00
gdb sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly 2016-01-06 21:48:59 -05:00
mach-o Copyright update for binutils 2016-01-01 23:00:01 +10:30
nlm Copyright update for binutils 2016-01-01 23:00:01 +10:30
opcode Add support for 48 and 64 bit ARC instructions. 2016-06-02 14:03:23 +01:00
som Copyright update for binutils 2016-01-01 23:00:01 +10:30
vms Copyright update for binutils 2016-01-01 23:00:01 +10:30
COPYING
COPYING3
ChangeLog Add support for 48 and 64 bit ARC instructions. 2016-06-02 14:03:23 +01:00
ChangeLog-0415 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9103
MAINTAINERS Copyright update for binutils 2016-01-01 23:00:01 +10:30
alloca-conf.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
ansidecl.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfdlink.h Return void from linker callbacks 2016-05-28 11:17:20 +09:30
binary-io.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
bout.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
demangle.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
dis-asm.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
dwarf2.def Copyright update for binutils 2016-01-01 23:00:01 +10:30
dwarf2.h Add DW_LANG_Rust 2016-05-17 11:11:20 -06:00
dyn-string.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
environ.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fibheap.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
filenames.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
floatformat.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fnmatch.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fopen-bin.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fopen-same.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fopen-vms.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
gcc-c-fe.def Copyright update for binutils 2016-01-01 23:00:01 +10:30
gcc-c-interface.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
gcc-interface.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
getopt.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
hashtab.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
hp-symtab.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
ieee.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
leb128.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
libiberty.h libiberty: {count,dup,write}argv: constify argv input slightly 2016-01-05 15:25:13 -05:00
longlong.h Import changes made to files shared with the FSF GCC project. 2016-01-11 11:06:56 +00:00
lto-symtab.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
md5.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
oasys.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
objalloc.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obstack.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
os9k.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
partition.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
plugin-api.h Add new plugin hooks to support querying section alignment and size. 2016-03-03 12:09:06 -08:00
progress.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
safe-ctype.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
sha1.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
simple-object.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
sort.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
splay-tree.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
symcat.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
timeval-utils.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
vtv-change-permission.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xregex.h
xregex2.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-config.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-isa-internal.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-isa.h Copyright update for binutils 2016-01-01 23:00:01 +10:30