summaryrefslogtreecommitdiff
path: root/opcodes
Commit message (Collapse)AuthorAgeFilesLines
* Fix 3 DV bugs, and a few minor cleanups.Jim Wilson2000-08-166-5684/+5878
| | | | | | | | | | | | | | | | | | | | | | | | gas/ * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle postincrement modified registers. Handle IA64_OPND_R3_2 addl source registers. (note_register_values): Handle IA64_OPND_R3_2 operands. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. * gas/ia64/dv-raw-err.l: Likewise. * gas/ia64/dv-waw-err.l: Update sed pattern. * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. include/opcode/ * ia64.h (IA64_OPCODE_POSTINC): New. opcodes/ * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete break, mov-immediate, nop. * ia64-opc-f.c: Delete fpsub instructions. * ia64-opc-m.c: Add POSTINC to all instructions with postincrement address operand. Rewrite using macros to avoid long lines. * ia64-opc.h (POSTINC): Define. * ia64-asmtab.c: Regenerate.
* Fix file corrupted before initial checkin.Jim Wilson2000-08-152-1/+35
| | | | * ia64-ic.tbl: Add missing entries.
* 2000-08-08 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-08-091-0/+5
| | | | | * i860-dis.c (print_br_address): Change third argument from int to long.
* gas:Jason Eckhardt2000-08-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-08 Jason Eckhardt <jle@cygnus.com> * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. (i860_fix_info): New enum. (MD_APPLY_FIX3): Define. (WORKING_DOT_WORD): Define. (TC_HANDLES_FX_DONE): Define. (DIFF_EXPR_OK): Define. (LISTING_HEADER): Define. (TARGET_FORMAT): Select target format based on endian flag. (TARGET_BYTES_BIG_ENDIAN): Default to little endian. (target_big_endian): Add external declaration. * config/tc-i860.c: All existing code reworked completely. Other new code shown below. (SYNTAX_SVR4): Define. (target_warn_expand): New variable. (md_shortopts): Declare and define (-Qy, -Qn, and -V options). (md_longopts): Declare and define with new options (-EL, -EB, and -mwarn-expand). (md_show_usage): New function. (md_operand): New function. (obtain_reloc_for_imm16): New function. (md_apply_fix3): New function. (tc_gen_reloc): New function. include: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * opcode/i860.h: Small formatting adjustments. opcode: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * i860-dis.c (print_br_address): Change third argument from int to long. bfd: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * elf32-i860.c (elf32_i860_howto_table): Updated some fields.
* * ia64-dis.c (print_insn_ia64): Get byte skip count correctRichard Henderson2000-08-072-1/+13
| | | | for MLI templates. Handle IA64_OPND_TGT64.
* * avr-dis.c (avr_operand): Use PARAMS macro in declaration.Denis Chertykov2000-08-062-43/+94
| | | | | | | | | | | Change return type from void to int. Check the combination of operands, return 1 if valid. Fix to avoid BUF overflow. Report undefined combinations of operands in COMMENT. Report internal errors to stderr. Output the adiw/sbiw constant operand in both decimal and hex. (print_insn_avr): Disassemble ldd/std with displacement of 0 as ld/st. Check avr_operand () return value, handle invalid combinations of operands like unknown opcodes.
* 2000-08-04 Ben Elliston <bje@redhat.com>Ben Elliston2000-08-045-0/+1406
| | | | | * cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files. * cgen.sh: Likewise.
* Fix memory leaks for IA-64 opcode idescs.Jim Wilson2000-08-022-0/+5
| | | | | | | | | gas/ * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode before ia64_find_opcode. (md_assemble): Likewise. opcodes/ * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
* Minor formatting fixesNick Clifton2000-07-318-158/+145
|
* 2000-07-28 Ben Elliston <bje@redhat.com>Ben Elliston2000-07-295-157/+299
| | | | | | | | * Makefile.am (CGEN, CGENDEPS, CGENDIR, CGENFLAGS): New. (run-cgen, stamp-m32r, stamp-fr30): New targets. * Makefile.in: Regenerate. * configure.in: Add --enable-cgen-maint option. * configure: Regenerate.
* 2000-07-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-07-281-0/+4
| | | | | | * Makefile.am (CFILES): Added i860-dis.c. (ALL_MACHINES): Added i860-dis.lo. (i860-dis.lo): New dependences.
* 2000-07-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-07-281-0/+22
| | | | | | | | | | | | | | | | | | | | | | * i860-dis.c: New file. (print_insn_i860): New function. (print_br_address): New function. (sign_extend): New function. (BITWISE_OP): New macro. (I860_REG_PREFIX): New macro. (grnames, frnames, crnames): New structures. * disassemble.c (ARCH_i860): Define. (disassembler): Add check for bfd_arch_i860 to set disassemble function to print_insn_i860. * Makefile.in (CFILES): Added i860-dis.c. (ALL_MACHINES): Added i860-dis.lo. (i860-dis.lo): New dependences. * configure.in: New bits for bfd_i860_arch. * configure: Regenerated.
* 2000-07-22 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt2000-07-285-167/+454
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/opcode/i860.h (btne, bte, bla): Changed these opcodes to use sbroff ('r') instead of split16 ('s'). (J, K, L, M): New operand types for 16-bit aligned fields. (ld.x, {p}fld.x, fst.x, pst.d): Changed these opcodes to use I, J, K, L, M instead of just I. (T, U): New operand types for split 16-bit aligned fields. (st.x): Changed these opcodes to use S, T, U instead of just S. (andh, andnoth, orh, xorh): Deleted 3-register forms as they do not exist on the i860. (pfgt.sd, pfle.sd): Deleted these as they do not exist on the i860. (pfeq.ss, pfeq.dd): New opcodes. (st.s): Fixed incorrect mask bits. (fmlow): Fixed incorrect mask bits. (fzchkl, pfzchkl): Fixed incorrect mask bits. (faddz, pfaddz): Fixed incorrect mask bits. (form, pform): Fixed incorrect mask bits. (pfld.l): Fixed incorrect mask bits. (fst.q): Fixed incorrect mask bits. (all floating point opcodes): Fixed incorrect mask bits for handling of dual bit. * include/elf/i860.h: New file. (elf_i860_reloc_type): Defined ELF32 i860 relocations. * bfd/cpu-i860.c: Added comments. * bfd/elf32-i860.c (TARGET_LITTLE_SYM): Defined to bfd_elf32_i860_little_vec. (TARGET_LITTLE_NAME): Defined to "elf32-i860-little". (ELF_MAXPAGESIZE): Changed to 4096. * bfd/targets.c (bfd_elf32_i860_little_vec): Declaration of new target. (bfd_target_vector): Added bfd_elf32_i860_little_vec. * bfd/config.bfd (i860-stardent-sysv4*, i860-stardent-elf*): Added config for little endian elf32 i860. (targ_defvec): Define for the new config above as "bfd_elf32_i860_little_vec". (targ_selvecs): Define for the new config above as "bfd_elf32_i860_vec bfd_elf32_i860_little_vec" * bfd/configure.in (bfd_elf32_i860_little_vec): Added recognition of new target vec. * bfd/configure: Regenerated. * opcodes/i860-dis.c: New file. (print_insn_i860): New function. (print_br_address): New function. (sign_extend): New function. (BITWISE_OP): New macro. (I860_REG_PREFIX): New macro. (grnames, frnames, crnames): New structures. * opcodes/disassemble.c (ARCH_i860): Define. (disassembler): Add check for bfd_arch_i860 to set disassemble function to print_insn_i860. * include/dis-asm.h (print_insn_i860): Add prototype. * opcodes/Makefile.in (CFILES): Added i860-dis.c. (ALL_MACHINES): Added i860-dis.lo. (i860-dis.lo): New dependences. * opcodes/configure.in: New bits for bfd_i860_arch. * opcodes/configure: Regenerated.
* 2000-07-26 Dave Brolley <brolley@redhat.com>Dave Brolley2000-07-264-7/+20
| | | | | | | | | | | | | * cgen-opc.c (cgen_hw_lookup_by_name): 'i' is now unsigned. (cgen_hw_lookup_by_num): Ditto. (cgen_operand_lookup_by_name): Ditto. (print_address): Ditto. (print_keyword): Ditto. * cgen-dis.c (hash_insn_array): Mark unused parameters with ATTRIBUTE_UNUSED. * cgen-asm.c (hash_insn_array): Mark unused parameters with ATTRIBUTE_UNUSED. (cgen_parse_keyword): Ditto.
* Revert spurious unrelated changes from last commit. Oops.Hans-Peter Nilsson2000-07-202-4/+0
|
* * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.Hans-Peter Nilsson2000-07-2010-15/+2286
| | | | | | | | | | | | (ALL_MACHINES): Add cris-dis.lo and cris-opc.lo. (cris-dis.lo, cris-opc.lo): New rules. * Makefile.in: Rebuild. * configure.in (bfd_cris_arch): New target. * configure: Rebuild. * disassemble.c (ARCH_cris): Define. (disassembler): Support ARCH_cris. * cris-dis.c, cris-opc.c: New files. * po/POTFILES.in, po/opcodes.pot: Regenerate.
* * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.Jakub Jelinek2000-07-112-2/+7
| | | | Reported by Bill Clarke <llib@computer.org>.
* Fix a date.Alan Modra2000-07-101-1/+1
|
* * ppc-opc.c (powerpc_opcodes): Correct suffix for vslw.Geoffrey Keating2000-07-092-1/+6
| | | | Patch by Randall J Fisher <rfisher@ecn.purdue.edu>.
* Add some prototypes, and fix a few warnings.Alan Modra2000-07-092-7/+42
|
* add MAINTAINERS filesDJ Delorie2000-07-052-0/+5
|
* * arm-dis.c (print_insn_arm): Output combinations of PSR flags.Alexandre Oliva2000-07-042-21/+13
|
* Tidy up formatting.Nick Clifton2000-07-032-3/+10
| | | | Add -mall-opcodes, -mno-skip-bug, -mno-wrap.
* Fix formatting.Nick Clifton2000-07-033-28/+33
|
* Fix 2000-06-22. grep after running dep.sedAlan Modra2000-07-013-8/+16
|
* Add entry omited when Stephane Carrez's h68hc11 code was chaecked in.Nick Clifton2000-06-301-0/+12
|
* 2000-06-26 Scott Bambrough <scottb@netwinder.org>Scott Bambrough2000-06-262-1/+8
| | | | | * arm-dis.c (regnames): Add an additional register set to match the set used by GCC. Make it the default.
* Ensure /usr/include and the like stay out of dependencies.Alan Modra2000-06-223-5/+19
|
* 2000-06-20 H.J. Lu <hjl@gnu.org>H.J. Lu2000-06-203-16/+23
| | | | | * Makefile.am: Rebuild dependency. * Makefile.in: Rebuild.
* Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton2000-06-199-4/+1731
| | | | for m68hc11 and m68hc12 processors.
* * disassemble.c (disassembler): Refer to the PowerPC 620 usingNicholas Duffek2000-06-162-1/+6
| | | | bfd_mach_ppc_620 instead of 620.
* Fix typo.Alan Modra2000-06-161-172/+166
|
* * h8300-dis.c: Fix formatting.Jeff Law2000-06-122-32/+40
| | | | | (bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl] correctly.
* * avr-dis.c (avr_operand): Bugfix for jmp/call address.Denis Chertykov2000-06-092-1/+6
|
* * avr-dis.c: completely rewritten.Denis Chertykov2000-06-072-587/+253
|
* Fix formattingNick Clifton2000-06-022-50/+57
|
* Applied patch from Kazu Hirata <kazu@hxi.com> to fix disassembly of inc.lNick Clifton2000-06-012-75/+56
| | | | and dec.l instructions
* Add comment describoing why dgettext() is used in _() macro.Nick Clifton2000-05-312-0/+18
|
* Undo part of previous delta, so that _() calls dgettext() not gettext().Nick Clifton2000-05-301-1/+1
|
* Replace defines with those from intl/libgettext.h to quieten gcc warnings.Nick Clifton2000-05-3014-2771/+2603
|
* Update dependencies.Alan Modra2000-05-263-29/+46
|
* * m10300-dis.c (disassemble): Don't assume 32-bit longs whenAlexandre Oliva2000-05-262-13/+19
| | | | sign-extending operands.
* Add ALONE flag to most of the short branch instructions.Donald Lindsay2000-05-252-11/+16
|
* * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.Diego Novillo2000-05-242-2/+19
| | | | | | | | | (STD_REGISTER_NAMES): New name for REGISTER_NAMES. (reg_names): Rename to std_reg_names. Change it to a char ** static variable. (std_reg_names): New name for reg_names. (set_mips_isa_type): Set reg_names to point to std_reg_names by default.
* Regerbated after change to Makefile.amNick Clifton2000-05-221-18/+22
|
* Define LIBIBERTYNick Clifton2000-05-212-0/+7
|
* * cgen/opcodes fixFrank Ch. Eigler2000-05-163-10/+12
| | | | | | | | | | | | | | | | | | | * approved by nickc [opcodes/ChangeLog] 2000-05-16 Frank Ch. Eigler <fche@redhat.com> * fr30-desc.h: Partially regenerated to account for changed CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros. * m32r-desc.h: Ditto. [include/opcode/ChangeLog] 2000-05-16 Frank Ch. Eigler <fche@redhat.com> * cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32. Check that it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set. (CGEN_MAX_IFMT_OPERANDS): Increase to 16. Check that it exceeds CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.
* Add support for _x and _s flags to MSR instructionNick Clifton2000-05-153-7/+22
|
* Fix disassembly of DLRS{H|B} instructionNick Clifton2000-05-122-1/+6
|
* Don't mask top 32 bits of 64-bit address.Alan Modra2000-05-112-2/+9
|