aboutsummaryrefslogtreecommitdiff
path: root/opcodes
AgeCommit message (Collapse)AuthorFilesLines
2001-11-23 * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.Alan Modra2-12/+26
Also, break out of the loop as soon as an instruction has been printed.
2001-11-17* ppc-opc.c (mfvrsave, mtvrsave): New instructions.Matthew Green2-0/+6
2001-11-15 * po/POTFILES.in: Regenerate.Alan Modra2-0/+4
2001-11-15binutils/ChangeLogAlan Modra3-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-142001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley2-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-142001-11-14 Dave Brolley <brolley@redhat.com>Dave Brolley3-2/+15
* m32r-dis.c: Regenerated. * fr30-dis.c: Regenerated.
2001-11-14 * i386-dis.c (print_insn): Use x86-64 as option.Andreas Jaeger2-4/+8
2001-11-14binutils/ChangeLogAlan Modra3-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.
2001-11-13Fix tic54x testsuite failures and Lmem disassembly bugs.Timothy Wall3-297/+304
2001-11-13 * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" toAlan Modra2-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.
2001-11-12Fix definitions of wddata[bwl].Nick Clifton2-3/+7
2001-11-09 * cgen-asm.c (cgen_parse_keyword): If the keyword is too big toRichard Sandiford2-4/+15
fit in the buffer, try to match the empty keyword.
2001-11-09Fix badly placed #if 0...Nick Clifton5-8/+15
2001-11-052001-11-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+5
* mips-dis.c (print_insn_mips): Remove spaces at end of line.
2001-11-02Add translationsNick Clifton6-2/+1045
2001-11-01 * m68hc11-dis.c (print_insn): Fix disassembly of movb with aStephane Carrez2-9/+38
constant as source.
2001-10-31 * mmix-dis.c, mmix-opc.c: New files.Hans-Peter Nilsson2-0/+863
2001-10-30Add MMIX supportNick Clifton7-189/+226
2001-10-29 * d30v-dis.c: Fix a comment typo.Kazu Hirata2-1/+5
2001-10-23[opcodes/ChangeLog]Chris Demetriou3-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.
2001-10-20 * ppc-opc.c (CT): Make it an optional operand.Alan Modra2-1/+5
2001-10-18[gas/testsuite/ChangeLog]Chris Demetriou3-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".
2001-10-17[gas/ChangeLog]Matthew Green2-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.
2001-10-17 * po/POTFILES.in: Regenerate.Alan Modra2-5/+9
2001-10-14[gas/testsuite/ChangeLog]Matthew Green2-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.
2001-10-13Use safe-ctype.h not ctype.hNick Clifton13-116/+117
2001-10-13[gas/ChangeLog]Matthew Green3-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-122001-10-12 John Healy <jhealy@redhat.com>John Healy2-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.
2001-10-10work around locale problems for case insensitivityNick Clifton5-160/+296
2001-10-09fix z8k assembly and disassemblyNick Clifton2-8/+13
2001-10-09fix encoding & decoding of DSP single data transfer instructionsNick Clifton3-13/+21
2001-10-09Fix compile time warnings in cgen-generated filesNick Clifton24-409/+488
2001-10-08 * opcodess/arm-opc.h (arm_opcodes): Add cirrus insns.Aldy Hernandez3-0/+112
* opcodes/arm-dis.c (print_insn_arm): Add 'I' case.
2001-10-03Regenerate configure to include the gettext.m4 change. UpdateAlan Modra3-6/+12
opcodes/po/POTFILES.in
2001-10-02 * Makefile.am (Makefile): Depend on bfd/configure.inAlan Modra3-98/+132
Run "make dep-am" * Makefile.in: Regenerate.
2001-09-302001-09-30 John Healy <jhealy@redhat.com>John Healy2-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.
2001-09-30 * Makefile.am: Update dependencies with "make dep-am".Hans-Peter Nilsson3-39/+56
* Makefile.in: Regenerate.
2001-09-26 * arc-dis.c: Formatting fixes.Alan Modra2-36/+52
(my_sprintf): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
2001-09-21 * arc-dis.c: Don't include <ctype.h>.Alan Modra4-3/+6
* openrisc-desc.c: Likewise. * openrisc-ibld.c: Likewise.
2001-09-20oops - forgot to check for clean 64 bit build - fix compile time warningNick Clifton1-2/+2
2001-09-20Fix compile time warningsNick Clifton23-1234/+1360
2001-09-19Fix compile time warning messagesNick Clifton10-59/+117
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu11-41/+63
2001-09-18s390 assembler improvements and testsuiteNick Clifton8-1715/+1137
2001-09-14Fix VXA mask bitsNick Clifton2-2/+6
2001-09-04 * i386-dis.c (grps): Don't print the implicit al/ax/eax registerAlan Modra2-8/+13
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
2001-08-312001-08-31 Eric Christopher <echristo@redhat.com>Eric Christopher2-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.
2001-08-31 * tic54x-opc.c: Add default initializers to avoid warnings.Andreas Jaeger4-361/+370
* arc-opc.c: Include "sysdep.h" to get stdio.h as include file. * arc-ext.c: Likewise.
2001-08-28 * m68hc11-dis.c: Add missing prototypes.Andreas Jaeger1-1/+9
(forgotten in last checkin)
2001-08-28 * ppc-opc.c (icbt): Order correctly.Matthew Green2-2/+6