summaryrefslogtreecommitdiff
path: root/opcodes
Commit message (Collapse)AuthorAgeFilesLines
* Merge from mainline.Alan Modra2001-06-1115-1252/+1388
|
* Update copyright notices.Alan Modra2001-06-0793-103/+189
|
* Merge from mainline.Alan Modra2001-05-232-325/+336
|
* * i386-dis.c (twobyte_has_modrm): Update table.Alan Modra2001-05-122-8/+27
| | | | | | | | | | (need_modrm): Give it file scope. (MODRM_CHECK): Define. (dofloat): Use MODRM_CHECK. (OP_E): Likewise. (OP_EM): Likewise. (OP_EX): Likewise. and fix testsuite yet again now that we are getting correct disassembly.
* Correct cvtps2dq, movdq2q, movq2dq, and movq problems.Alan Modra2001-05-122-3/+8
|
* Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.Alan Modra2001-05-042-18/+43
| | | | Merge 2001-04-06 i386-dis.c ffreep addition.
* * ppc-opc.c (insert_mbe): Shift mask initializer as long.Alexandre Oliva2001-03-302-1/+5
|
* Small tweaks to sse2 instructions.Alan Modra2001-03-242-9/+38
|
* paddq and psubq support.Alan Modra2001-03-222-7/+14
|
* Fix 2 bugs with parsing the resource dependency tables.Jim Wilson2001-03-203-396/+437
| | | | | | | * ia64-gen.c (fetch_insn_class): If xsect, then ignore comment and notestr if larger than xsect. (in_class): Handle format M5. * ia64-asmtab.c: Regnerate.
* Don't try to read past end of info buffer, and correct test results.Alan Modra2001-03-192-2/+18
|
* Add missing compare instructions.Jim Wilson2001-02-233-3423/+3600
| | | | | | | | | | * gas/ia64/opc-a-err.l: Fix "cmp4.lt.or". * gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and "cmp4". * gas/ia64/opc-a.s: Rebuilt. * gas/ia64/opc-a.d: Likewise. * ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4". * ia64-asmtab.c: Regenerate.
* Update DV table from Intel to fix gas DV bug with setf.Jim Wilson2001-02-223-4/+9
| | | | | * ia64-ic.tbl: Update from Intel. Add setf to fr-writers. * ia64-asmtab.c: Regenerate.
* Improve gas error messages for invalid instructions.Jim Wilson2001-02-223-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.
* * i386.h (i386_optab): SSE integer converison instructions haveJan Hubicka2001-02-122-7/+23
| | | | | | | 64bit versions on x86-64. * i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison instructions. (putop): Handle 'Y'
* Revert accidental ia64 breakage from one of Nick's checkins.Jim Wilson2001-02-062-392/+396
| | | | * ia64-asmtab.c: Revert 2000-12-16 change.
* * (dis386_att, grps): Use 'T' for push/popJan Hubicka2001-02-012-22/+48
| | | | (putop): Handle 'T', alphabetize order, fix 'I' handling in Intel syntax
* Adds assembly and dis-assembly support for the HPPA wideAlan Modra2001-01-142-1/+7
| | | | mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
* formatting fixNick Clifton2001-01-132-3/+7
|
* * i386.c (md_assemble): Check cpu_flags even for nullary instructions.Jan Hubicka2001-01-132-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.
* Updated ARC assembler from arccores.comNick Clifton2001-01-1113-688/+2736
|
* Rotate ChangeLogsNick Clifton2001-01-113-5449/+5465
|
* * i386-dis.c (PREGRP15 - PREGRP24): New.Jan Hubicka2001-01-102-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.
* Fix disassembly of arm-elf instructions with relocs associated with them.Nick Clifton2001-01-093-3/+16
|
* 2001-01-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-094-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.
* * i386-dis.c: Add x86_64 support.Jan Hubicka2001-01-053-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.
* * generalizationFrank Ch. Eigler2001-01-032-15/+5
| | | | | | 2001-01-03 Richard Sandiford <r.sandiford@redhat.com> cgen-dis.in (read_insn): Use bfd_get_bits()
* * generalizationFrank Ch. Eigler2001-01-024-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()
* * error msg tweakFrank Ch. Eigler2000-12-282-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.
* Fix for compiling under Solaris 2.8Nick Clifton2000-12-212-0/+8
|
* Regenerate filesNick Clifton2000-12-168-780/+842
|
* * error message improvements for cgen assemblersFrank Ch. Eigler2000-12-132-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.
* Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.Jim Wilson2000-12-125-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.
* Update copyright datesNick Clifton2000-12-121-1/+1
|
* Prevent re-read of instruction from wrong address.Nick Clifton2000-12-092-34/+52
|
* Regenerate fr30-dis.cNick Clifton2000-12-092-28/+32
|
* Add MIPS64 instructions and testsNick Clifton2000-12-032-4/+23
|
* Remove all uses of M1.Nick Clifton2000-12-032-87/+87
|
* Use the WR_HILO, RD_HILO, MOD_HILO, and MOD_LO macros.Nick Clifton2000-12-032-317/+322
|
* Finish off adding MIPS32 instructions.Nick Clifton2000-12-032-315/+325
|
* Add MIPS SB1 machineNick Clifton2000-12-022-0/+7
|
* Add MIPS V and MIPS 64 machine numbersNick Clifton2000-12-024-1/+14
|
* Add MIPS32 as a seperate MIPS architectureNick Clifton2000-12-014-66/+84
|
* Add initialiser for membership fieldNick Clifton2000-12-012-144/+150
|
* Improve MIPS32 supportNick Clifton2000-12-013-15/+62
|
* * sh-dis.c (print_insn_ddt): Make insn_x, insn_y unsigned.Hans-Peter Nilsson2000-11-282-4/+10
| | | | | | (print_insn_ppi): Make nib1, nib2, nib3 unsigned. Initialize variable dc to NULL. (print_insn_shx): Remove unused label d_reg_n.
* Add ARM v5t, v5te and XScale supportNick Clifton2000-11-253-4/+105
|
* * mips-opc.c: Fix file header comment.Chris Demetriou2000-11-222-1/+5
|
* * cris-dis.c (cris_get_disassembler): If abfd is NULL, returnHans-Peter Nilsson2000-11-142-1/+9
| | | | print_insn_cris_with_register_prefix.
* * sh-opc.h: The operand of `mov.w r0, (<disp>,GBR)' is IMM1, not 0.Alexandre Oliva2000-11-112-1/+5
|