Doug Evans
5730d39d2c
* cgen-asm.in (insert_normal): Use CGEN_BOOL_ATTR.
...
* cgen-asm.in (extract_normal): Ditto.
* fr30-asm.c,fr30-dis.c,fr30-opc.h,fr30-opc.c: Regenerate.
* i960c-asm.c,i960c-dis.c,i960c-opc.h,i960c-opc.c: Regenerate.
* m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
1999-01-06 00:21:27 +00:00
Doug Evans
c2009f4a31
Move all global state data into opcode table struct, and treat
...
opcode table as something that is "opened/closed".
* cgen-asm.c (all fns): New first arg of opcode table descriptor.
(cgen_asm_init): Delete.
(cgen_set_parse_operand_fn): New function.
* cgen-dis.c (all fns): New first arg of opcode table descriptor.
(cgen_dis_init): Delete.
* cgen-opc.c (all fns): New first arg of opcode table descriptor.
(cgen_current_{opcode_table_mach,endian}): Delete.
* cgen-asm.in (all fns): New first arg of opcode table descriptor.
* cgen-dis.in (all fns): Ditto.
* cgen-opc.in (all fns): Ditto.
* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
* cgen-asm.in (parse_insn_normal): Ignore case in mnemonics.
* cgen-dis.in (print_normal): Split into two.
(print_address): New function.
(extract_insn_normal): Clarify insn_value arg.
(print_int_insn): Renamed from print_insn.
(print_insn): New arg.
(print_insn_@arch@): Open opcode table if not already done so.
Move reading of insn into print_insn.
1998-08-03 19:56:43 +00:00
Doug Evans
fbc8134df6
* cgen-opc.in (@arch@_cgen_lookup_insn): Update call to
...
CGEN_EXTRACT_FN.
(@arch@_cgen_get_insn_operands): @arch@_cgen_get_operand renamed to
@arch_cgen_get_int_operand.
* cgen-asm.in (insert_insn_normal): New arg `pc', callers updated.
Update call to @arch@_cgen_insert_operand.
(@arch@_cgen_assemble_insn): Update call to CGEN_INSERT_FN.
* cgen-dis.in (print_normal): Delete use of CGEN_PCREL_OFFSET.
(extract_insn_normal): New arg `pc', callers updated.
Update call to @arch@_cgen_extract_operand.
(print_insn): Update call to CGEN_EXTRACT_FN.
* m32r-opc.h,m32r-opc.c,m32r-asm.c,m32r-dis.c: Regenerate.
1998-07-21 20:59:23 +00:00
Doug Evans
0499462e76
* Makefile.am (CGENDIR): Set via configure.
...
(CGEN): New variable.
(CGENFILES): object.scm renamed to cos.scm.
(run-cgen): Renamed from cgen. stamp file renamed to stamp-$prefix.
(stamp-m32r): Pass prefix to run-cgen.
* Makefile.in: Regenerate.
* cgen-asm.in: @arch@-opc.h renamed to @prefix@-opc.h.
* cgen-dis.in: Ditto.
* cgen-opc.in: Ditto.
* cgen.sh: New args cgen,prefix. Delete args scheme,schemeflags.
* configure.in: AC_SUBST cgen,cgendir. No longer look for guile.
* configure: Regenerate.
* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.
1998-07-01 23:31:27 +00:00
Doug Evans
0bf55db8fd
* m32r-asm.c,m32r-dis.c,m32r-opc.h,m32r-opc.c: Regenerate.
1998-02-23 21:20:37 +00:00
Doug Evans
8d157f9653
* m32r-opc.[ch]: Regenerate.
1998-02-20 00:57:03 +00:00
Nick Clifton
6eacba2e77
Regenerated after modifying cgen/m32r.cpu to remove WRITE_LR and WRITE_SRC
...
attributes.
1998-02-13 17:51:46 +00:00
Doug Evans
ab0bd0493a
* cgen-opc.in: New file.
...
* cgen.sh: Translate @ARCH@. Cat cgen-opc.in into @arch@-opc.c.
* Makefile.am (CGENFILES): Add cgen-opc.in.
* Makefile.in: Regenerate.
* cgen-opc.c (cgen_set_cpu): Delete init of hw list `next' chain.
(cgen_hw_lookup): Make result const.
* cgen-dis.in (*): Use PTR instead of void *.
(print_insn): Delete unused vars `i', `syntax'.
* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Regenerate.
1998-02-12 03:13:21 +00:00
Doug Evans
7c26196f5a
* cgen-opc.c (cgen_set_cpu): Initialize hardware table.
...
* m32r-opc.h, m32r-opc.c, m32r-asm.c, m32r-dis.c: Update.
1998-02-04 01:54:47 +00:00
Doug Evans
35e689de71
* m32r-opc.h (HAVE_CPU_M32R): Define.
1998-01-29 21:04:25 +00:00
Doug Evans
5d07b6cf9e
regenerate
1998-01-20 04:16:37 +00:00
Doug Evans
853713a768
backout m32rx stuff, not ready to be checked in
1998-01-16 00:26:51 +00:00
Nick Clifton
23cf992f4a
Support for disassembling parallel instructions added.
...
Insn attributes hand patched until cgen can generate the correct values.
1998-01-15 01:48:51 +00:00