+2005-06-07 Zack Weinberg <zack@codesourcery.com>
+
+ * doc/porting.texi: Change all mention of md_apply_fix3 and
+ gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix
+ respectively.
+
2005-05-18 Dave Brolley <brolley@redhat.com>
* utils-sim.scm (-gen-decode-default-entry): New function.
2005-05-06 Jim Blandy <jimb@redhat.com>
* pprint.scm, cos-pprint.scm: Add documentation.
-
+
* pprint.scm (pprint): Don't wipe out elide-table after each call.
-
+
* pprint.scm, cos-pprint.scm: New files.
2005-04-04 Nick Clifton <nickc@redhat.com>
2005-01-20 Jim Blandy <jimb@redhat.com>
- * opcodes.scm (gen-switch): Use concat instead of string-map.
+ * opcodes.scm (gen-switch): Use concat instead of string-map.
* utils.scm (concat): New function.
* insn.scm (-sub-insn-make!): Use concat instead of string-map.
media-expand-halfword-to-double-semantics, mexpdhd, cmexpdhd,
cmhtob): Use new operands.
* cpu/frv.opc (CGEN_VERBOSE_ASSEMBLER_ERRORS): Define.
- (parse_even_register): New function.
+ (parse_even_register): New function.
2003-06-04 Doug Evans <dje@sebabeach.org>
From Robert Cragie <rcc@jennic.com>:
* cpu/arm7.cpu (ldm*-sw*, stm*-sw*): New instructions.
-
+
2002-07-17 Frank Ch. Eigler <fche@redhat.com>
Ben Elliston <bje@redhat.com>
John Healy <jhealy@redhat.com>
(cgen-defs.h): Likewise.
(cgen-write.cxx): Likewise.
(cgen-semantics.cxx): Likewise.
- (cgen-sem-switch.cxx): Likewise.
+ (cgen-sem-switch.cxx): Likewise.
* sid-decode.scm (cgen-decode.h): Likewise.
(cgen-decode.cxx): Likewise.
* sid-model.scm (cgen-model.cxx): Likewise.
* utils-gen.scm (-gen-extract-word): Correct computation of the length
of the field being extracted.
-2001-10-29 Johan Rydberg <johan@rydberg.com>
+2001-10-29 Johan Rydberg <johan@rydberg.com>
* doc/rtl.texi (Expressions): Document the (error ..), (sqrt ..),
(cos ...) and (sin ..) rtx.
@PREFIX@_INSN_MAX.
* sid.scm (gen-cpu-insn-enum-decl): Do not append a dummy `max'
instruction onto the instruction list.
-
+
* sim-decode.scm (@prefix@_init_idesc_table): Compute tabsize
using the size of the table and its elements.
(-gen-decode-insn-globals): Define the idesc table's size to be
2000-11-20 Frank Ch. Eigler <fche@redhat.com>
- * opc-itab.scm (-gen-ifmt-table, -gen-macro-insn-table: Remove
+ * opc-itab.scm (-gen-ifmt-table, -gen-macro-insn-table: Remove
unneeded "\n\n" from F() macro definition.
2000-11-15 Greg McGary <greg@mcgary.org>
* hardware.scm (<hw-immediate> get-index-mode): Define method.
* operand.scm (<operand> gen-pretty-name): Tolerate no op:sem-name.
* rtl-c.scm (-c-rtl-get): Improve an error message.
- * sim.scm (-op-gen-set-trace): Support <derived-operand> lvalues.
+ * sim.scm (-op-gen-set-trace): Support <derived-operand> lvalues.
2000-08-22 Frank Ch. Eigler <fche@redhat.com>
Exclude multi-insns.
* sim-decode.scm (cgen-decode.h, cgen-decode.cxx): Ditto.
* utils-sim.scm (op-extract?): Handle derived operands.
-
+
* gas-test.scm (cgen-build.sh): Quote '*' chars printed by objdump.
* semantics.scm (-build-operand!): Handle 'DFLT case during parsing.
* hardware.scm (hardware-for-mode): New function.
* doc/porting.texi (Supported Guile versions): Likewise.
2000-03-16 Frank Ch. Eigler <fche@redhat.com>
-
+
* sid-cpu.scm (-gen-sem-switch-engine): Adjust calling &
callback convention to new sid sidutil::basic_cpu code.
(-gen-sfrag-engine-fn): Ditto.
(-hw-gen-set-quiet-pc): Mark delay slot execution specially in pbb
mode.
(cxmake-skip): Implement properly for pbb mode.
-
+
2000-03-03 Ben Elliston <bje@redhat.com>
* doc/internals.texi: New file.
2000-02-25 Nick Clifton <nickc@cygnus.com>
* desc-cpu.scm (*_cgen_cpu_open): Initialise signed_overflow_ok_p
- field.
+ field.
Thu Feb 24 14:09:01 2000 Doug Evans <devans@seba.cygnus.com>
2000-02-23 Andrew Haley <aph@cygnus.com>
- * m32r.cpu (pcmpbz): Make pcmpbz a special (i.e. hidden)
+ * m32r.cpu (pcmpbz): Make pcmpbz a special (i.e. hidden)
instruction.
2000-02-24 Ben Elliston <bje@redhat.com>
(-frag-cost-compute!): Ditto.
* utils.scm (copyright-cygnus): Add Y2K.
* sid-cpu.scm (@prefix@_pbb_run): Add unsigned& argument.
-
+
2000-01-25 Nick Clifton <nickc@cygnus.com>
* desc-cpu.scm (@arch@_cgen_cpu_open): Add code to initialise
@prefix@_sem_fn.
(cgen-decode.h): Add using namespace @arch@.
(cgen-decode.cxx): Include @cpu@.h instead of @arch@-main.h.
-
+
* rtl-c.scm (<rtl-c-eval-state>): New member output-language.
(estate-output-language-c?,estate-output-language-c++?): New procs.
(<rtl-c-eval-state>,vmake!): Handle #:output-language.
* sid.scm (<hw-pc>,cxmake-skip): New method.
(<pc>,cxmake-skip): New method.
-
+
* decode.scm (decode-build-table): Delete args startbit,index-list.
All callers updated.
* utils-sim.scm (gen-decoder): Delete args startbit,index-list.
* sim-decode.scm (-gen-decode-fn): Always pass 0 for startbit
to decode-get-best-bits.
* sid-decode.scm (-gen-decode-fn): Ditto.
-
+
* hardware.scm (hw-bits): New proc.
(-hw-parse): New arg layout. All callers updated.
(define-full-hardware): New arg layout. All callers updated.
(gen-reg-access-defn): Ditto.
(-gen-hw-addr): Rewrite.
(-op-gen-queued-write): Rewrite.
- * sim-cpu.scm (-gen-cpu-reg-access-decls):
+ * sim-cpu.scm (-gen-cpu-reg-access-decls):
(-gen-scache-semantic-fn): Handle with-generic-write.
(-gen-no-scache-semantic-fn): Ditto.
* sim-decode.scm (-gen-decoder-switch): Ditto.
* sid-decode.scm (-gen-decode-expr-entry): Ditto.
(-gen-decoder-switch): Ditto.
-
+
* insn.scm (insn-virtual?): New proc.
* enum.scm (gen-enum-decl): Speed up, build string as list and then
gen-sfmt-argvars-foo and rewrite.
(-gen-record-args): Rewrite.
(-gen-extract-case): Tweak.
-
+
* cgen-gh.c (gh_putc,gh_puts): New functions.
* cgen-gh.h (gh_putc,gh_puts): Declare them.
* cos.c (_object_print_elms,_object_print): Use them.
* dev.scm (load-opc): Use load instead of maybe-load.
(load-gtest,load-sim,load-stest): Ditto.
(load-sid): Ditto.
-
+
1999-07-23 Doug Evans <devans@casey.cygnus.com>
* sid-cpu.scm (-gen-sem-switch-engine): Move definition of `count'
up to avoid g++ 'goto crosses initialization' warning.
(-gen-sfrag-engine-fn): Delete vpc arg to NEXT_FRAG.
(-gen-sfrag-case): Update use of NEXT_FRAG.
-
+
1999-07-22 Doug Evans <devans@casey.cygnus.com>
* cos.c (cos_init): Protect _make_x_symbol from garbage collection.
* insn.scm (*): Update.
* mach.scm (*): Update.
* sid.scm (*): Update.
-
+
1999-07-19 Doug Evans <devans@casey.cygnus.com>
Record objects as a smob.
* cgen-gas.scm (cgen): Ditto.
* cgen-stest.scm (cgen): Ditto.
* cgen-sid.scm (cgen): Ditto.
-
+
1999-07-05 Doug Evans <devans@casey.cygnus.com>
* opc-asmdis.scm (-gen-parse-switch): New local var `junk'.
(-gen-hw-index): Ditto.
* sid.scm (-gen-hw-index-raw): Handle scalar indices.
(-gen-hw-index): Ditto.
-
+
* sem-frags.scm: New file.
* attr.scm (attr-parse): Add better checking of input.
with gen-define-ifields. Ditto for gen-extract-foo.
(-gen-decode-fn): Use gen-ifld-extract-decl/gen-ifld-extract
procs rather than method calls.
-
+
1999-06-18 Doug Evans <devans@casey.cygnus.com>
* sid.scm (-create-virtual-insns!): New local `context', pass it
to insn-read.
-
+
* rtl.scm (-rtx-traverse): Output symbol shortcuts in source form,
(operand name) not (operand object), (local name) not (local object).
(rtx-traverse-with-locals): New proc.
* sim.scm (sim-finish!): Update.
* simplify.inc: (define-normal-insn): Update.
* sid-cpu.scm (gen-semantic-code): Update.
-
+
* iformat.scm (-ifmt-lookup-ifmt!): Use insn-set-ifmt!.
(-ifmt-lookup-sfmt!): Use insn-set-sfmt!.
(ifmt-compute!): Ditto.
(-hw-gen-set-quiet): s/FUN-ACCESS/FUN-SET/.
(<operand>,cxmake-get): Tweak.
(sim-finish!): Delete FUN-ACCESS attribute. Create FUN-GET,FUN_SET.
-
+
1999-06-07 Doug Evans <devans@casey.cygnus.com>
* thumb.cpu (dnti): Delete timing spec.
* sim.scm (<hw-register>,gen-profile-index-type): Use "unsigned short"
if there's more than 255 registers.
* sid.scm (<hw-register>,gen-profile-index-type): Ditto.
-
+
* hardware.scm (-hw-parse): Flag as error CACHE-ADDR specified
with get/set specs.
* sid.scm (<hw-memory>,cxmake-get): Call GETMEM method, not function.
(<hw-memory>,gen-set-quiet): Call SETMEM method, not function.
-
+
* utils-cgen.scm (keyword-list->arg-list): Fix call to substring,
hobbit can't handle optional third arg.
* sid-cpu.scm (-gen-hardware-types): Rename @cpu@_cpu to
@cpu@_cpu_cgen.
-
+
* attr.scm (obj-prepend-atlist!): New proc.
* opc-opinst.scm (cgen-opinst.c): Analyze instructions if necessary.
(cgen-semantics.cxx): @arch@-cgen.h renamed to @arch@-main.h.
* sid-decode.scm (cgen-decode.cxx): Ditto.
* sid-model.scm (cgen-model.cxx): Ditto.
-
+
* utils-cgen.scm (context-error): Accept variable number of
trailing args.
(ldm-p): Reverse the order of register processing for decrement.
(stm-p): Likewise.
(stbi): Remove; handled by the str-* insns.
-
+
1999-04-21 Doug Evans <devans@casey.cygnus.com>
* thumb.cpu (cmp): Fix carry bit computation.
* simplify.inc (define-normal-insn): Update call to define-full-insn.
* sid-cpu.scm (gen-semantic-code): Handle insn-condition.
* sid.scm (sim-finish!): Update call to define-full-insn.
-
+
Tue Apr 13 17:04:34 1999 Doug Evans <devans@canuck.cygnus.com>
* Makefile.am (sim-cpu): Allow specification of ISA.
(with-sem-switch?): New proc.
(-op-gen-set-trace): Only emit `written' reference if profiling.
(sim-finish!): Use h_pc_set to set pc.
-
+
1999-03-30 Doug Evans <devans@casey.cygnus.com>
* sparccom.cpu (arith-cc-binop): New args s32-set-flags,s64-set-flags.
* sid.scm (gen-argbuf-type): Delete.
(-gen-argbuf-fields-union): Move to ...
* sid-decode.scm: ... here.
-
+
* read.scm (-reader-process-expanded-1): New proc.
(-reader-process-expanded): Call it to catch nested begin's.
(reader-process): Move `begin' handling to -reader-process-expanded.
* cgen-sid.scm: Don't load sid-arch.scm.
(sim-arguments): Delete unused entries.
* sid-arch.scm: Delete.
-
+
* insn.scm (<insn>,iflds): Renamed from flds. All uses updated.
(<insn>,ifld-assertions): New member.
(<insn>,make!): New arg ifld-assertions, all callers updated.
(-opt-spec-update): New proc.
(common-arguments): First arg is string, not symbol.
(-cgen): Call -opt-spec-update. Rewrite argument parsing.
-
+
* rtl.scm (rtx-get): Default mode of string arg is INT.
* rtl.scm (s-subword): Renamed from s-subreg. All uses updated.
(-extract-chunk): New proc.
(-gen-extract-beyond-var-list): Use it.
(gen-extract-fields): Simplify.
-
+
1999-03-22 Ben Elliston <bje@cygnus.com>
* arm7.cpu (ldri-p): New instruction.
(addi): Reinstate.
(movi): Likewise.
(all): Use (const x) in subreg expressions.
-
+
1999-03-19 Ben Elliston <bje@cygnus.com>
* arm7.cpu (smull): Use operand field `rs', not `mul-rn'. Thinko.
* thumb.cpu (h-gr-t,h-lr-t,h-sp-t,dnti,h-hiregs): s/MACH/ISA/.
* sid-decode.scm (cgen-decode.c): Call rtl-gen-init!.
-
+
1999-03-11 Doug Evans <devans@casey.cygnus.com>
* hardware.scm (<hw-immediate>,mode-ok?): Ensure result is boolean.
(-op-gen-set-quiet,-op-gen-set-quiet-parallel): New arg `gstate'.
(-op-gen-set-trace,-op-gen-set-trace-parallel): Ditto.
(<unit>,gen-profile-code): Update to sim.scm version.
-
+
* sim-arch.scm (-regs-for-access-fns): New proc.
(-biggest-reg-mode): New proc.
(-gen-arch-reg-access-decls,-gen-arch-reg-access-defns): Rewrite.
* utils.scm (alist-remove-duplicates): Delete.
* sid.scm (sim-init!): Delete private debugging code.
-
+
1999-03-10 Frank Ch. Eigler <fche@cygnus.com>
* cgen-sid.scm: New file for C++ simulator application.
* sid-model.scm: Ditto.
* sid.scm: Ditto.
* utils-cgen.scm (gen-mach-sid-name): Remove this accident.
-
+
1999-03-05 Ben Elliston <bje@cygnus.com>
* arm.cpu: New file.
(<{integer,enum}-attribute>,gen-value-for-defn): Ditto.
* dev.scm: Add sid support.
-
+
* Makefile.am (opcodes,sim-arch,sim-cpu): New targets.
(CLEANFILES): Add tmp-*.
* Makefile.in: Rebuild.
* Makefile.in: Regenerate.
* fr30.cpu (add): Change ADD to add. Add more registers and set
status bits on 'add' instruction.
-
+
Fri Nov 6 18:15:05 1998 James E Wilson <wilson@wilson-pc.cygnus.com>
* sim.scm (-gen-arch-model-decls): Default MAX_UNITS to 1 instead