summaryrefslogtreecommitdiff
path: root/opcodes/m68k-opc.c
Commit message (Collapse)AuthorAgeFilesLines
* binutils/:Andreas Schwab2010-10-111-3/+4
| | | | | | | | * binutils-all/m68k/objdump.exp: Add fnop test. * binutils-all/m68k/fnop.s: New file. opcodes/: * m68k-opc.c (m68k_opcodes): Move fnop before fbf.
* PR gas/11673Nick Clifton2010-06-161-1/+0
| | | | | | | * m68k-opc.c (m68k_opcodes): Remove move.l for isab and later. * gas/m68k/p11673.s: New test. * gas/m68k/all.exp: Run the new test.
* PR gas/11030Nick Clifton2009-11-301-1/+1
| | | | | * m68k-opc.c (m68k_opcodes): Allow the STLDSR instruction on the Coldfire ISA A+.
* PR 969Alan Modra2009-10-141-2/+2
| | | | * m68k-opc.c (m68k_opcodes): Correct mask for macl and msacl.
* update copyright datesAlan Modra2009-09-021-1/+1
|
* gas/Nathan Sidwell2009-02-121-1/+3
| | | | | | | | | | | | | | | | | | | | | * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR. (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New. (mcf5307_ctrl): Add VBR. (no_mac): New variable. (m68k_extensions): Refer to no_mac mask. (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277, 52252..52259, 53011..53017. (m68k_ip): Process CPUCR. (init_table): Add cpucr entry. (m68k_set_extension): Allow negated mask to refer to a variable. (md_show_usage): Use '%s' to silence fprintf warning. * config/m68k-parse.h (CPUCR): New control register. gas/testsuite/ * m68k/br-isac.d, m68k/br-isac.s: Add stldsr test. opcodes/ * m68k-opc.c (m68k_opcodes): Add stldsr instruction.
* PR gas/5228Nick Clifton2007-11-071-3/+3
| | | | * m68k-opc.c (m68k_opcodes): Fix coldfire msac.w instructions with parallel loads.
* opcodes/Nathan Sidwell2007-10-171-2/+2
| | | | | | | | | | * m68k-opc.c (m68k_opcodes): Correct move sr and ccr masks for coldfire. gas/testsuite/ * gas/m68k/mcf-movsr.s: New. * gas/m68k/mcf-movsr.d: New. * gas/m68k/all.exp: Add mcf-movsr test.
* Change source files over to GPLv3.Nick Clifton2007-07-051-13/+13
|
* gas/testsuite/Nathan Sidwell2007-07-031-1/+29
| | | | | | | | | | | | | | | | | | | | | | | * gas/m68k/mcf-coproc.d: New. * gas/m68k/mcf-coproc.s: New. * gas/m68k/all.exp: Add it. gas/ * config/tc-m68k.c (m68k_ip): Add j & K operand types. (install_operand): Add E encoding. (md_begin): Check and skip initial '.' arg character. (get_num): Add 0..511 case. include/ * opcode/m68k.h: Document j K & E. opcodes/ * m68k-dis.c (fetch_arg): Add E. Replace length switch with direct masking. (print_ins_arg): Add j & K operand types. (match_insn_m68k): Check and skip initial '.' arg character. (m68k_scan_mask): Likewise. * m68k-opc.c (m68k_opcodes): Add coprocessor instructions.
* opcodes/Kazu Hirata2007-06-181-0/+2
| | | | | | | | | * m68k-opc.c (m68k_opcodes): Add wdebugl variants. gas/testsuite/ * gas/m68k/all.exp: Run mcf-wdebug. * gas/testsuite/gas/m68k/mcf-wdebug.d, gas/testsuite/gas/m68k/mcf-wdebug.s: New.
* gas/testsuite/Nathan Sidwell2007-04-231-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gas/m68k/br-isaa.s: New. * gas/m68k/br-isaa.d: New. * gas/m68k/br-isab.s: New. * gas/m68k/br-isab.d: New. * gas/m68k/br-isac.s: New. * gas/m68k/br-isac.d: New. * gas/m68k/all.exp: Adjust. gas/ * config/tc-m68k.c (mcf54455_ctrl): New. (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. (m68k_archs): Add isac. (m68k_cpus): Add 54455 family. (m68k_ip): Split Bg into Bb, Bs, Bg. (m68k_elf_final_processing): Add ISA_C. * doc/c-m68k.texi (M680x0 Options): Add isac. include/opcode/ * m68k.h (mcfisa_c): New. (mcfusp, mcf_mask): Adjust. bfd/ * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, bfd_mach_mcf_isa_c_emac): New. * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, elf_isac_plt_entry, elf_isac_plt_info): New. (elf32_m68k_object_p): Add ISA_C. (elf32_m68k_print_private_bfd_data): Print ISA_C. (elf32_m68k_get_plt_info): Detect ISA_C. * cpu-m68k.c (arch_info): Add ISAC. (m68k_arch_features): Likewise, (bfd_m68k_compatible): ISAs B & C are not compatible. opcodes/ * m68k-opc.c: Mark mcfisa_c instructions.
* bfd/Kazu Hirata2007-01-081-92/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of bfd_mach_cpu32_fido. (m68k_arch_features): Use fido_a instead of cpu32. (bfd_m68k_compatible): Reject the combination of Fido and ColdFire. Accept the combination of CPU32 and Fido with a warning. * elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_merge_private_bfd_data, elf32_m68k_print_private_bfd_data): Treat Fido as an architecture by itself. binutils/ * readelf.c (get_machine_flags): Treat Fido as an architecture by itself. gas/ * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an architecture by itself. (m68k_ip): Don't issue a warning for tbl instructions on fido. (m68k_elf_final_processing): Treat Fido as an architecture by itself. include/elf/ * m68k.h (EF_M68K_FIDO): New. (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO. (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove. include/opcode/ * m68k.h (m68010up): OR fido_a. opcodes/ * m68k-opc.c (m68k_opcodes): Replace cpu32 with cpu32 | fido_a except on tbl instructions.
* gas/testsuite/:Andreas Schwab2007-01-041-2/+2
| | | | | | | | * gas/m68k/cpu32.[sd]: New test. * gas/m68k/all.exp: Run it. opcodes/: * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
* * m68k-opc.c (m68k_opcodes): Add sleep and trapx.Kazu Hirata2006-12-271-0/+4
|
* gas/Nathan Sidwell2006-11-161-58/+63
| | | | | | | | | | * config/tc-m68k.c (m68k_ip): Correct output of cpu aliases. gas/testsuite/ * gas/m68k/all.exp: Add mcf-trap. * gas/m68k/mcf-trap.[sd]: New. opcodes/ * m68k-opc.c (m68k_opcodes): Place trap instructions before set conditionals. Add tpf coldfire instruction as alias for trapf.
* opcodes/Richard Sandiford2006-07-291-1/+1
| | | | | | | | | * m68k-opc.c (m68k_opcodes): Fix operand specificer in the Coldfire "fdaddl" entry. gas/testsuite/ * gas/m68k/mcf-fpu.s: Add tests for all addressing modes. * gas/m68k/mcf-fpu.d: Update accordingly.
* include/opcodes/Richard Sandiford2006-05-251-8/+8
| | | | | | | | | | | | | | | | | | * m68k.h (mcf_mask): Define. opcodes/ * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd and fmovem entries. Put register list entries before immediate mask entries. Use "l" rather than "L" in the fmovem entries. * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it out from INFO. (m68k_scan_mask): New function, split out from... (print_insn_m68k): ...here. If no architecture has been set, first try printing an m680x0 instruction, then try a Coldfire one. gas/testsuite/ * gas/m68k/mcf-fpu.s: Add fmovemd and fmovem instructions. * gas/m68k/mcf-fpu.d: Adjust accordingly.
* 2006-01-16 Paul Brook <paul@codesourcery.com>Paul Brook2006-01-161-17/+17
| | | | | | | | | | | opcodes/ * m68k-opc.c(m68k_opcodes): Fix opcodes for ColdFire f?abss, f?add?, and f?sub? instructions. gas/testsuite/ * gas/m68k/all.exp: Add mcf-fpu. * gas/m68k/mcf-fpu.d: New file. * gas/m68k/mcf-fpu.s: New file.
* 2006-01-05 Paul Brook <paul@codesourcery.com>Paul Brook2006-01-151-0/+1
| | | | * m68k-opc.c (m68k_opcodes): Add missing ColdFire fdsqrtd entry.
* * m68k-dis.c: Use ISC C90.Ben Elliston2005-06-231-6/+6
| | | | * m68k-opc.c: Formatting fixes.
* Update the address and phone number of the FSFNick Clifton2005-05-071-2/+2
|
* Reorganise m68k instruction decoding and improve handling of MAC/EMACNick Clifton2004-05-241-2066/+2065
|
* Add support for 521x,5249,547x,548x.Nick Clifton2004-05-051-257/+257
|
* Add support for ColdFire MAC instructions and tidy up support for other m68kNick Clifton2004-04-221-87/+82
| | | | variants.
* 2003-11-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-11-061-4/+4
| | | | * m68k-opc.c (m68k_opcodes): Reorder "fmovel".
* Add ColfFire v4 supportNick Clifton2003-10-211-254/+476
|
* Fix definitions of wddata[bwl].Nick Clifton2001-11-121-3/+3
|
* Add wdebug instructionNick Clifton2001-06-221-0/+2
|
* correct some 68k/ColdFire problemsNick Clifton2001-06-061-11/+15
|
* Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton2001-03-131-2/+3
|
* new defines for Coldfire V4.Nick Clifton2001-02-281-115/+132
|
* More portability patches. Include sysdep.h everywhere.Alan Modra2000-04-141-1/+1
|
* 1999-05-28 Linus Nordberg <linus.nordberg@canit.se>Ian Lance Taylor1999-05-271-198/+295
| | | | | | | | | | | | | | * m68k-opc.c: Rename MACL/MSACL to MAC/MSAC. Add MACM/MSACM. Add MOVE MACSR,CCR. * m68k-dis.c (fetch_arg): Add places `n', `o'. * m68k-opc.c: Add MSAC, MACL, MOVE to/from ACC, MACSR, MASK. Add mcf5206e to appropriate instructions. Add alias for MAC, MSAC. * m68k-dis.c (print_insn_arg): Add formats `E', `G', `H' and place `N'. * m68k-opc.c (m68k_opcodes): Add divsw, divsl, divuw, divul, macl, macw, remsl, remul for mcf5307. Change mcf5200 --> mcf. * m68k-dis.c: Add format `u' and places `h', `m', `M'.
* 19990502 sourceware importbinu_ss_19990502Richard Henderson1999-05-031-0/+2090