summaryrefslogtreecommitdiff
path: root/opcodes
Commit message (Collapse)AuthorAgeFilesLines
* Copyright 2001Alexandre Oliva2001-11-291-1/+1
|
* * d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.Alexandre Oliva2001-11-292-5/+14
| | | | | | (RSRC_SP): New macro. (d10v_operands): Add it. (d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
* Add .cvsignore files to skip .gmo filesNick Clifton2001-11-281-0/+1
|
* * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.Alan Modra2001-11-232-12/+26
| | | | | Also, break out of the loop as soon as an instruction has been printed.
* * ppc-opc.c (mfvrsave, mtvrsave): New instructions.Matthew Green2001-11-172-0/+6
|
* * po/POTFILES.in: Regenerate.Alan Modra2001-11-152-0/+4
|
* binutils/ChangeLogAlan Modra2001-11-153-547/+862
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
* 2001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley2001-11-142-7/+58
| | | | | | | * cgen-dis.c (count_decodable_bits): New function. (add_insn_to_hash_chain): New function. (hash_insn_array): Call add_insn_to_hash_chain. (hash_insn_list): Call add_insn_to_hash_chain.
* 2001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley2001-11-143-2/+15
| | | | | * m32r-dis.c: Regenerated. * fr30-dis.c: Regenerated.
* * i386-dis.c (print_insn): Use x86-64 as option.Andreas Jaeger2001-11-142-4/+8
|
* binutils/ChangeLogAlan Modra2001-11-143-81/+137
| | | | | | | | | | | | | | | | | * doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
* Fix tic54x testsuite failures and Lmem disassembly bugs.Timothy Wall2001-11-133-297/+304
|
* * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" toAlan Modra2001-11-132-3/+9
| | | | | | | accept WordReg. * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand category instead of Ew.
* Fix definitions of wddata[bwl].Nick Clifton2001-11-122-3/+7
|
* * cgen-asm.c (cgen_parse_keyword): If the keyword is too big toRichard Sandiford2001-11-092-4/+15
| | | | fit in the buffer, try to match the empty keyword.
* Fix badly placed #if 0...Nick Clifton2001-11-095-8/+15
|
* 2001-11-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2001-11-052-1/+5
| | | | * mips-dis.c (print_insn_mips): Remove spaces at end of line.
* Add translationsNick Clifton2001-11-026-2/+1045
|
* * m68hc11-dis.c (print_insn): Fix disassembly of movb with aStephane Carrez2001-11-012-9/+38
| | | | constant as source.
* * mmix-dis.c, mmix-opc.c: New files.Hans-Peter Nilsson2001-10-312-0/+863
|
* Add MMIX supportNick Clifton2001-10-307-189/+226
|
* * d30v-dis.c: Fix a comment typo.Kazu Hirata2001-10-292-1/+5
|
* [opcodes/ChangeLog]Chris Demetriou2001-10-233-15/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-21 Chris Demetriou <cgd@broadcom.com> * mips-opc.c (mips_builtin_opcodes): Mark "bgezall" and "bltzall" as writing GPR 31 (since they do). * mips-dis.c (print_insn_arg): Calculate info->target where appropriate. (print_insn_mips): Fill in instruction info. (print_mips16_insn_arg): Remove unneded variable 'val'. Removed duplicated instruction target calculations, calculate once and print that result. Use same idiom for masking the jump segment bits as is used in print_insn_arg. [gas/testsuite/ChangeLog] 2001-10-21 Chris Demetriou <cgd@broadcom.com> * gas/mips/beq.s: Add zero words at end of instructions so that objdump will print "..." when disassembling. * gas/mips/beq.d: Update for disassembler changes which force branch delay-slot nops to be printed. * gas/mips/bge.d: Ditto. * gas/mips/bgeu.d: Ditto. * gas/mips/blt.d: Ditto. * gas/mips/bltu.d: Ditto. * gas/mips/jal-svr4pic.d: Ditto. * gas/mips/jal-xgot.d: Ditto.
* * ppc-opc.c (CT): Make it an optional operand.Alan Modra2001-10-202-1/+5
|
* [gas/testsuite/ChangeLog]Chris Demetriou2001-10-183-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-17 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips.exp (sb1-ext-ps): New test to test SB-1 core's paired-single extensions to the MIPS64 ISA. * gas/mips/sb1-ext-ps.d: New file. * gas/mips/sb1-ext-ps.s: New file. [include/opcode/ChangeLog] 2001-10-17 Chris Demetriou <cgd@broadcom.com> * mips.h (INSN_SB1): New cpu-specific instruction bit. (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1 if cpu is CPU_SB1. [opcodes/ChangeLog] 2001-10-17 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_isa_type): Make the ISA used to disassemble SB-1 binaries include instructions specific to the SB-1. * mips-opc.c (SB1): New definition. (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps", "recip.ps", "rsqrt.ps", and "sqrt.ps".
* [gas/ChangeLog]Matthew Green2001-10-172-2/+27
| | | | | | | | | | | | | | | | | | | * config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400, -m7410, -m7450 and -m7455 options. [gas/testsuite/ChangeLog] * gas/ppc/altivec.s: New test for AltiVec. * gas/ppc/altivec.d: New file. * gas/ppc/ppc.exp: Test altivec.s [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE64): Fix typo. [opcodes/ChangeLog] * ppc-opc.c (STRM): New AltiVec operand. (XDSS): New AltiVec instruction form. (mtvscr): Correct operand list. (dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.
* * po/POTFILES.in: Regenerate.Alan Modra2001-10-172-5/+9
|
* [gas/testsuite/ChangeLog]Matthew Green2001-10-142-5/+29
| | | | | | | | | | | * gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba, mbar): New BookE tests. * gas/ppc/booke.d: Update for new BookE tests. [opcodes/ChangeLog] * ppc-opc.c (MO): New macro for MO field of mbar instruction. (powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.
* Use safe-ctype.h not ctype.hNick Clifton2001-10-1313-116/+117
|
* [gas/ChangeLog]Matthew Green2001-10-133-27/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455 flags, equivalent to -m7400. New -maltivec to enable AltiVec instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable 64-bit and 32-bit BookE support, respectively. Change -m403 and -m405 to set PPC403 option. (md_show_usage): Adjust for new options. * doc/all.texi: Set PPC. * doc/as.texinfo: Add PPC support and pull in c-ppc.texi. * doc/c-ppc.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi. * doc/Makefile.in: Regenerate. [gas/testsuite/ChangeLog] * gas/ppc/booke.s: New test for Motorola BookE. * gas/ppc/booke.d: New file. * gas/ppc/ppc.exp: Test booke.s. [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for BookE and PowerPC403 instructions. [opcodes/ChangeLog] * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New instruction field instruction/extraction functions for new BookE DE form instructions. (CT): New macro for CT field in an X form instruction. (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form instructions. (PPC64): Don't include PPC_OPCODE_PPC. (403): New opcode macro for PPC403 processors. (BOOKE): New opcode macro for BookE processors. (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions. (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise. (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise. (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise. (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise. (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise. (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise. (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise. (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise. (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise. (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise. (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise. (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise. (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise. * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look for a disassembler option of `booke', `booke32' or `booke64' to enable BookE support in the disassembler.
* 2001-10-12 John Healy <jhealy@redhat.com>John Healy2001-10-122-1/+10
| | | | | * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8) for the length when extracting the base part of the insn.
* work around locale problems for case insensitivityNick Clifton2001-10-105-160/+296
|
* fix z8k assembly and disassemblyNick Clifton2001-10-092-8/+13
|
* fix encoding & decoding of DSP single data transfer instructionsNick Clifton2001-10-093-13/+21
|
* Fix compile time warnings in cgen-generated filesNick Clifton2001-10-0924-409/+488
|
* * opcodess/arm-opc.h (arm_opcodes): Add cirrus insns.Aldy Hernandez2001-10-083-0/+112
| | | | * opcodes/arm-dis.c (print_insn_arm): Add 'I' case.
* Regenerate configure to include the gettext.m4 change. UpdateAlan Modra2001-10-033-6/+12
| | | | opcodes/po/POTFILES.in
* * Makefile.am (Makefile): Depend on bfd/configure.inAlan Modra2001-10-023-98/+132
| | | | | Run "make dep-am" * Makefile.in: Regenerate.
* 2001-09-30 John Healy <jhealy@redhat.com>John Healy2001-09-302-3/+9
| | | | | | * cgen-ibld.in (insert_1): Switched bfd_get_bits and bfd_set_bits calls to cgen_get_insn_value and cgen_put_insn_value calls. (extract_1): Switched bfd_get_bits call to cgen_get_insn_value call.
* * Makefile.am: Update dependencies with "make dep-am".Hans-Peter Nilsson2001-09-303-39/+56
| | | | * Makefile.in: Regenerate.
* * arc-dis.c: Formatting fixes.Alan Modra2001-09-262-36/+52
| | | | (my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
* * arc-dis.c: Don't include <ctype.h>.Alan Modra2001-09-214-3/+6
| | | | | * openrisc-desc.c: Likewise. * openrisc-ibld.c: Likewise.
* oops - forgot to check for clean 64 bit build - fix compile time warningNick Clifton2001-09-201-2/+2
|
* Fix compile time warningsNick Clifton2001-09-2023-1234/+1360
|
* Fix compile time warning messagesNick Clifton2001-09-1910-59/+117
|
* Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu2001-09-1911-41/+63
|
* s390 assembler improvements and testsuiteNick Clifton2001-09-188-1715/+1137
|
* Fix VXA mask bitsNick Clifton2001-09-142-2/+6
|
* * i386-dis.c (grps): Don't print the implicit al/ax/eax registerAlan Modra2001-09-042-8/+13
| | | | for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
* 2001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher2001-08-312-12/+16
| | | | | | | | Jason Eckhardt <jle@redhat.com> * mips-dis.c: Add support for bfd_mach_mipsisa32 and bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k, bfd_mach_mips64.