aboutsummaryrefslogtreecommitdiff
path: root/opcodes
AgeCommit message (Collapse)AuthorFilesLines
2001-03-19Don't try to read past end of info buffer, and correct test results.Alan Modra2-2/+18
2001-03-16Add new opcodesNick Clifton3-497/+536
2001-03-13Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton102-183/+268
2001-03-13fix typosNick Clifton1-0/+6
2001-03-06Fix BLX(1) for ThumbNick Clifton2-4/+27
2001-03-06est of the changes for Coldfire V4Nick Clifton3-26/+53
2001-03-05Correct filenames from last commit.Dave Brolley1-15/+15
2001-03-052001-03-05 Dave Brolley <brolley@redhat.coDave Brolley16-389/+327
* opcodes/fr30-asm.c: Regenerate. * opcodes/fr30-desc.c: Regenerate. * opcodes/fr30-desc.h: Regenerate. * opcodes/fr30-dis.c: Regenerate. * opcodes/fr30-ibld.c: Regenerate. * opcodes/fr30-opc.c: Regenerate. * opcodes/fr30-opc.h: Regenerate. * opcodes/m32r-asm.c: Regenerate. * opcodes/m32r-desc.c: Regenerate. * opcodes/m32r-desc.h: Regenerate. * opcodes/m32r-dis.c: Regenerate. * opcodes/m32r-ibld.c: Regenerate. * opcodes/m32r-opc.c: Regenerate. * opcodes/m32r-opc.h: Regenerate. * opcodes/m32r-opinst.c: Regenerate.
2001-02-28new defines for Coldfire V4.Nick Clifton2-115/+137
2001-02-27Bump version to 2.11.90, fix missing dependencies in bfd/,Alan Modra5-37/+44
and run "make dep-am".
2001-02-232001-02-23 David Mosberger <davidm@hpl.hp.com>H.J. Lu3-3423/+3600
* ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4". * ia64-asmtab.c: Regenerate.
2001-02-22Improve gas error messages for invalid instructions.Jim Wilson3-3902/+3912
* cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for C8 said "1" instead of "8". Clarify error string for IMM22: "signed integer" instead of just "integer". * config/tc-ia64.c (enum operand_match_result): New type. (operand_match): Change return type to operand_match_result. Fix all returns appropriately, adding support for returning the out-of-range result. (parse_operands): New locals result, error_pos, out_of_range_pos, curr_out_of_range_pos. Rewrite operand matching loop to give better error messages. * ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two separate variants: one for IMM22 and the other for IMM14. * ia64-asmtab.c: Regenerate.
2001-02-21 * cgen-opc.c (cgen_get_insn_value): Add missing `return'.Greg McGary2-2/+6
2001-02-212001-02-20 H.J. Lu <hjl@gnu.org>H.J. Lu3-21/+11
* Makefile.am (ia64-ic.tbl): Remove the target. (ia64-raw.tbl): Likewise. (ia64-waw.tbl): Likewise. (ia64-war.tbl): Likewise. (ia64-asmtab.c): Generate it in the source directory. * Makefile.in: Regenerated.
2001-02-18Add PDP-11 supportNick Clifton10-5/+603
2001-02-14Fix DV bug reported by Intel against the setf instruction.Jim Wilson3-4/+9
* ia64-ic.tbl: Update from Intel. Add setf to fr-writers. * ia64-asmtab.c: Regenerate.
2001-02-12 * i386.h (i386_optab): SSE integer converison instructions haveJan Hubicka2-7/+23
64bit versions on x86-64. * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison instructions. (putop): Handle 'Y'
2001-02-11Apply several patches from Maciej W. RozyckiNick Clifton2-3/+10
2001-02-11 * Makefile.am (stamp-lib): ranlib the libopcodes.a in the buildMichael Sokolov3-1/+9
directory. * Makefile.in: Regenerate.
2001-02-10Add s390 supportNick Clifton12-4/+2014
2001-02-06Revert accidental breakage from Nick's 2000-12-16 checkin.Jim Wilson2-392/+396
* ia64-asmtab.c: Revert 2000-12-16 change.
2001-02-02 Binutils portion of fix for syntax array elements when maxPatrick Macdonald3-2/+7
operands is greater than 127. 2001-02-02 Patrick Macdonald <patrickm@redhat.com> * cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short. (CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES. (CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS. * fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS. * m32r-desc.h: Regenerate.
2001-02-01 * (dis386_att, grps): Use 'T' for push/popJan Hubicka2-22/+48
(putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
2001-01-14Adds assembly and dis-assembly support for the HPPA wideAlan Modra2-1/+7
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
2001-01-13formatting fixNick Clifton2-3/+7
2001-01-13 * i386.c (md_assemble): Check cpu_flags even for nullary instructions.Jan Hubicka2-8/+13
* i386.h (i386_optab): Fix pusha and ret templates. * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret templates.
2001-01-11Updated ARC assembler from arccores.comNick Clifton13-688/+2736
2001-01-11Rotate ChangeLogsNick Clifton3-5449/+5465
2001-01-10 * i386-dis.c (PREGRP15 - PREGRP24): New.Jan Hubicka2-90/+288
(dis386_twobyt): Add SSE2 instructions. (twobyte_uses_SSE_prefix: Rename from ... ; add new SSE instructions. (twobyte_uses_f3_prefix): ... this one. (grps): Add SSE instructions. (prefix_user_table): Add two new slots; add SSE2 instructions. (print_insn_i386): Rename uses_f3_prefix to uses_SSE_prefix; Handle the REPNZ and Data16 prefixes as well; do proper lookup to prefix_user_table. (OP_E): Accept mfence and lfence as well. (OP_MMX): Data16 prefix turns MMX to SSE; support REX extensions. (OP_XMM): Support REX extensions. (OP_EM): Likewise. (OP_EX): Likewise.
2001-01-09Fix disassembly of arm-elf instructions with relocs associated with them.Nick Clifton3-3/+16
2001-01-092001-01-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-12/+21
* cgen-asm.in (parse_insn_normal): Changed syn to be CGEN_SYNTAX_CHAR_TYPE. Changed all references to *syn as character to use CGEN_SYNTAX_CHAR macro and all comparisons to '\0' to use 0 instead. * cgen-dis.in (print_insn_normal): Ditto. * cgen-ibld.in (insert_insn_normal, extract_insn_normal): Ditto.
2001-01-05 * i386-dis.c: Add x86_64 support.Jan Hubicka3-305/+1493
(rex): New static variable. (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): New constants. (USED_REX): New macro. (Ev, Ed, Rm, Iq, Iv64, Cm, Dm, Rm*, Ob64, Ov64): New macros. (OP_I64, OP_OFF64, OP_IMREG): New functions. (OP_REG, OP_OFF): Declare. (get64, get32, get32s): New functions. (r??_reg): New constants. (dis386_att): Change templates of instruction implicitly promoted to 64bit; change e?? to RMe?? for unwind RM byte instructions. (grps): Likewise. (dis386_intel): Likewise. (dixx86_64_att): New table based on dis386_att. (dixx86_64_intel): New table based on dis386_intel. (names64, names8rex): New global variable. (names32, names16): Add extended registers. (prefix_user_t): Recognize rex prefixes. (prefix_name): Print REX prefixes nicely. (op_riprel): New global variable. (start_pc): Set type to bfd_vma. (print_insn_i386): Detect the 64bit mode and use proper table; move ckprefix after initializing the buffer; output unused rex prefixes; output information about target of RIP relative addresses. (putop): Support 'O' and 'I'. Update handling of "P', 'Q', 'R' and 'S'; (print_operand_value): New function. (OP_E, OP_G, OP_REG, OP_I, OP_J, OP_DIR, OP_OFF, OP_D): Add support for REX prefix and new modes. (get64, get32s): New. (get32): Return bfd_signed_vma type. (set_op): Initialize the op_riprel. * disassemble.c (disassembler): Recognize the x86-64 disassembly.
2001-01-03* generalizationFrank Ch. Eigler2-15/+5
2001-01-03 Richard Sandiford <r.sandiford@redhat.com> cgen-dis.in (read_insn): Use bfd_get_bits()
2001-01-02* generalizationFrank Ch. Eigler4-189/+37
2001-01-02 Richard Sandiford <rsandifo@redhat.com> * cgen-dis.c (hash_insn_array): Use bfd_put_bits(). (hash_insn_list): Likewise * cgen-ibld.in (insert_1): Use bfd_put_bits() and bfd_get_bits(). (extract_1): Use bfd_get_bits(). (extract_normal): Apply sign extension to both extraction methods. * cgen-opc.c (cgen_get_insn_value): Use bfd_get_bits() (cgen_put_insn_value): Use bfd_put_bits()
2000-12-28* error msg tweakFrank Ch. Eigler2-1/+15
2000-12-28 Frank Ch. Eigler <fche@redhat.com> * cgen-asm.in (parse_insn_normal): Print better error message for instructions with missing operands.
2000-12-21Fix for compiling under Solaris 2.8Nick Clifton2-0/+8
2000-12-16Regenerate filesNick Clifton8-780/+842
2000-12-13* error message improvements for cgen assemblersFrank Ch. Eigler2-11/+19
2000-12-12 Frank Ch. Eigler <fche@redhat.com> * cgen-asm.in (@arch@_cgen_assemble_insn): Prefer printing insert-time error messages over later parse-time ones.
2000-12-12Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.Jim Wilson5-709/+728
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *. * config/tc-ia64.h (ia64_init): Add prototype. * gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d, gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update. * ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode argument. * ia64_gen.c (insert_deplist): Cast sizeof result to int. (print_dependency_table): Print NULL if semantics field not set. (insert_opcode_dependencies): Mark cmp parameter as unused. (print_main_table): Use fprintf_vma to print long long fields. (main): Mark argv paramter as unused. Convert to old style definition. * ia64-opc.c (ia64_find_dependency): Cast sizeof result to int. * ia64-asmtab.c: Regnerate.
2000-12-12Update copyright datesNick Clifton1-1/+1
2000-12-09Prevent re-read of instruction from wrong address.Nick Clifton2-34/+52
2000-12-09Regenerate fr30-dis.cNick Clifton2-28/+32
2000-12-03Add MIPS64 instructions and testsNick Clifton2-4/+23
2000-12-03Remove all uses of M1.Nick Clifton2-87/+87
2000-12-03Use the WR_HILO, RD_HILO, MOD_HILO, and MOD_LO macros.Nick Clifton2-317/+322
2000-12-03Finish off adding MIPS32 instructions.Nick Clifton2-315/+325
2000-12-02Add MIPS SB1 machineNick Clifton2-0/+7
2000-12-02Add MIPS V and MIPS 64 machine numbersNick Clifton4-1/+14
2000-12-01Add MIPS32 as a seperate MIPS architectureNick Clifton4-66/+84
2000-12-01Add initialiser for membership fieldNick Clifton2-144/+150