summaryrefslogtreecommitdiff
path: root/opcodes/z8k-opc.h
Commit message (Collapse)AuthorAgeFilesLines
* gas/testsuite:Christian Groessler2012-10-261-52/+44
| | | | | | | | | | | | | * gas/z8k/z8k.exp: Run translate-ops test. * gas/z8k/translate-ops.s: New file. * gas/z8k/translate-ops.d: New file. opcodes: * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove non-existing opcode trtrb. * z8k-opc.h: Regenerate.
* * z8kgen.c (struct op): Replace unused flavor with id.Andreas Schwab2009-09-081-8/+0
| | | | | | | | | (opt): Remove extra xorb entry. (func): Use id field as fallback. (sub): Return new string, caller changed. (internal): Allocate end marker. Assign unique id before sorting. (gas): Likewise. Fix loop end condition. * z8k-opc.h: Regenerate.
* * z8kgen.c (func): Stabilize qsort of identically named entries.Alan Modra2009-09-071-8/+8
| | | | * z8k-opc.h: Regenerate.
* 2009-09-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-09-071-8/+8
| | | | * z8k-opc.h: Regenerate.
* Build cleanups in opcodes: cross-compilation and generators.Ralf Wildenhues2009-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | opcodes/: * Makefile.am (SUBDIRS): Build '.' before 'po'. (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY) (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite using *BUILD variables, depend upon $(BUILD_LIBIBERTY). (i386-gen.o): New rule. ($(srcdir)/i386-init.h): Adjust. (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h. (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise. (ia64-gen.o): New rule. (ia64_asmtab_deps): New variable. ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise. (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c. (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust likewise. (s390-opc.tab): Adjust. (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New rules. (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h. * Makefile.in: Regenerate. * z8kgen.c (gas): Avoid '/*' in comment. * z8k-opc.h (func): Regenerate.
* Change source files over to GPLv3.Nick Clifton2007-07-051-0/+19
|
* * z8k-dis.c: Convert to ISO C90.Christian Groessler2003-11-281-113/+113
| | | | | | | * z8kgen.c: Convert to ISO C90. (opt): Move long opcode for "ldb rdb,imm8" after short one, now the short one is created when assembling. * z8k-opc.h: Regenerate with new z8kgen.c.
* * z8k-dis.c (instr_data_s): Change tabl_index from long to int.Christian Groessler2003-06-191-593/+746
| | | | | | | | | | | | | | | | (print_insn_z8k): Correctly check return value from z8k_lookup_instr call. (unparse_instr): Handle CLASS_IRO case. * z8kgen.c: Fix function definitions. Fix formatting. (opt): Add brk opcode alias for non-simulator breakpoint. Add missing and fix existing in/out and sin/sout opcode definitions. (args): "@ri", "@ro" - add CLASS_IRO register usage for in/out opcodes. (internal): Check p->flags for non-zero before dereferencing it. (gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added opcodes and renumber the remaining lines repectively. (main): Remove "-d" command line switch. * z8k-opc.h: Regenerate with new z8kgen.c.
* * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.Alan Modra2002-12-121-1695/+857
| | | | | | | | | | | | | | | | | | | | | | (whatreg, parse_reg, parse_exp): Make static, prototype. (checkfor, regword, regaddr, get_ctrl_operand): Prototype. (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise. (get_operand, get_operands, get_specific, newfix): Likewise. (apply_fix, build_bytes): Likewise. (md_atof): Remove declaration of atof_ieee. (tc_aout_fix_to_chars): Delete. (md_begin): Constify "opcode". Don't try to init opcode->idx. Fix s_unseg call. (md_parse_option): Fix s_segm and s_unseg calls. * z8kgen.c: Include "libiberty.h". (opt, args, toks): Fix initializer warnings. (chewname): Make "name" a char **. Return mnemonic trimmed of operands. (gas): Improve emitted "DO NOT EDIT" warning. Format emitted opcode_entry_type, and make "nicename" and "name" const. Make z8k_table const too. Formatting. Generate idx as gas needs it. * z8k-opc.h: Regenerate.
* 2002-11-18 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | * arc.h (arc_ext_opcodes): Declare as extern. (arc_ext_operands): Declare as extern. * i860.h (i860_opcodes): Declare as const. 2002-11-18 Klee Dienes <kdienes@apple.com> * arc-opc.c (arc_ext_opcodes): Define. (arc_ext_operands): Define. * i386-dis.c (Suffix3DNow): Declare as const. * arm-opc.h (arm_opcodes): Declare as const. (thumb_opcodes): Declare as const. * h8500-opc.h (h8500_table): Declare as const. (h8500_table): Use a NULL for the opcode in the terminator, so that code testing (opcode->name) behaves correctly. * mcore-opc.h (mcore_table): Declare as const. * sh-opc.h (sh_table): Declare as const. * w65-opc.h (optable): Declare as const. * z8k-opc.h (z8k_table): Declare as const.
* opcodes: Fix definition of "in rd,imm16" opcode.Nick Clifton2002-08-221-2/+2
| | | | gas: Adjust ptr variable also in "case 0" case.
* The patch contains mostly fixes for the disassembler. It also fixesNick Clifton2002-04-251-34/+36
| | | | | | a crash of the assembler with some malformed source input. Long segmented addresses are now correctly relocated. Finally it updates my email address in the MAINTAINERS file.
* Fix compile time warningsNick Clifton2001-09-201-1/+1
|
* Cleanups for z8k targetNick Clifton2001-08-011-1/+9
|
* z8k fixesNick Clifton2001-04-241-232/+265
|
* Initial revisionRichard Henderson1999-05-031-0/+4438