]> sourceware.org Git - cgen.git/log
cgen.git
23 years ago* intro.texi (Input to a compiler backend): Rename node.
Ben Elliston [Fri, 2 Feb 2001 01:42:05 +0000 (01:42 +0000)]
* intro.texi (Input to a compiler backend): Rename node.

23 years ago* belated outward merge
Frank Ch. Eigler [Mon, 29 Jan 2001 18:56:26 +0000 (18:56 +0000)]
* belated outward merge

2001-01-26  Frank Ch. Eigler  <fche@redhat.com>

* sid-cpu.scm (gen-parallel-exec-type): Use unsigned long long for
writeback tracking.
(-gen-write-fn, -gen-sem-case, -gen-sfrag-case): Ditto.
* sid-decode.scm (-gen-scache-decls): Exclude writeback tracking field
if unnecessary.
* sid.scm (<operand> gen-write): Use unsigned long long expression
for writeback.
(-op-gen-set-trace, -op-gen-set-trace-parallel): Ditto.
(<unit> gen-profile-code): Ditto.

2001-01-08  Frank Ch. Eigler  <fche@redhat.com>

* operand.scm (<operand> pretty-sem-name): New field.
(<operand> make): Initialize it from hw-name.
(op:set-pretty-sem-name!): New function.
(<operand> gen-pretty-name): Default to fetching new field.
* rtl.scm (hw): Copy hw-name to pretty-sem-name instead.  Restore
sem-name setting from -rtx-hw-name.

23 years ago2001-01-23 Johan Rydberg <jrydberg@opencores.org>
Johan Rydberg [Tue, 23 Jan 2001 18:04:07 +0000 (18:04 +0000)]
2001-01-23  Johan Rydberg  <jrydberg@opencores.org>

        * doc/rtl.texi (Expressions): Document the (index-of ...) and
        (regno ...) rtx.

23 years ago* cleanup
Frank Ch. Eigler [Mon, 8 Jan 2001 18:44:23 +0000 (18:44 +0000)]
* cleanup

2001-01-08  Frank Ch. Eigler  <fche@redhat.com>

* rtl.scm (hw): Copy hw-name to new operand's sem-name, to simplify
its subsequent gen-pretty-name.

* read.scm: Increase thread working stack limit and backtrace
depth limits.

23 years ago2001-01-08 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Mon, 8 Jan 2001 18:37:18 +0000 (18:37 +0000)]
2001-01-08  Frank Ch. Eigler  <fche@redhat.com>

* doc/rtl.texi: Deprecate and depreciate the decode-assist construct.

23 years ago * openrisc.cpu (or32): Setup semantics for h-delay-insn to
Johan Rydberg [Sat, 6 Jan 2001 15:44:00 +0000 (15:44 +0000)]
    * openrisc.cpu (or32): Setup semantics for h-delay-insn to
        current insn plus 4.
        (h-delay-insn): New hardware register.
        (l-jal): Uses h-delay-insn instead of pc when setting link register.
        (l-jalr): Likewise.
        (l-bal): Likewise.

        * openrisc.opc (parse_hi16): Sign extend value.
        (parse_lo16): Likewise.

23 years ago2001-01-06 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 6 Jan 2001 12:11:09 +0000 (12:11 +0000)]
2001-01-06  Ben Elliston  <bje@redhat.com>

* utils-gen.scm (gen-sfmt-enum-decl): Use @prefix@ and @PREFIX@
instead of @cpu@ and @CPU@ to generically prefix symbol names.
* sim-cpu.scm (-gen-sem-fn-table-entry): Likewise.
(-gen-semantic-fn-table): Likewise.
(-gen-scache-semantic-fn): Likewise.
(-gen-no-scache-semantic-fn): Likewise.
(cgen-read.c): Likewise.
(cgen-sem-switch.c): Likewise.
* desc-cpu.scm (cgen-desc.c): Use @arch@, not @prefix@, since this
is a filename prefix.
* sim-decode.scm (IDESC-TABLE-VAR): Use @prefix@, et al.
(-gen-decode-insn-globals): Likewise.
(-gen-idesc-decls): Likewise.
(cgen-decode.h): Likewise.
(cgen-decode.c): Likewise.
* sim.scm (gen-cpu-insn-enum-decl): Likewise.
(gen-cpu-insn-enum): Likewise.
(sim-finish!): Likewise.

23 years ago2001-01-05 Johan Rydberg <jrydberg@opencores.org>
Johan Rydberg [Fri, 5 Jan 2001 14:34:06 +0000 (14:34 +0000)]
2001-01-05  Johan Rydberg  <jrydberg@opencores.org>

        * openrisc.cpu: New file.
        * openrisc.opc: Likewise.

23 years ago2000-12-12 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 11 Dec 2000 21:28:22 +0000 (21:28 +0000)]
2000-12-12  Ben Elliston  <bje@redhat.com>

* doc/rtl.texi (Expressions): Document the (delay ..) rtx.

23 years ago2000-12-08 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 8 Dec 2000 22:34:20 +0000 (22:34 +0000)]
2000-12-08  Ben Elliston  <bje@redhat.com>

* dev.scm (load-sid): New function.
* cgen-sid.scm: New file.
* sid-cpu.scm: Likeiwse.
* sid-decode.scm: Likewise.
* sid-model.scm: Likewise.
* sid.scm: Likewise.

23 years ago2000-12-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 7 Dec 2000 12:27:00 +0000 (12:27 +0000)]
2000-12-07  Ben Elliston  <bje@redhat.com>

* sim-decode.scm (-gen-extract-case): Do not emit a definition for
"insn" when there are zero ifields to extract.

23 years ago* simple sim fix
Frank Ch. Eigler [Mon, 4 Dec 2000 18:34:45 +0000 (18:34 +0000)]
* simple sim fix

2000-12-04  Frank Ch. Eigler  <fche@redhat.com>

* utils-sim.scm (gen-define-argbuf-macro): Handle sfmt=#f case, to be
used by simple/non-scache simulators.
* sim-cpu.scm (-gen-read-case): Call gen-define/undef-field-macro
regardless of with-scache?.
(-gen-write-case, -gen-no-scache-semantic-fn, -gen-sem-case): Ditto.

23 years ago2000-12-03 Ben Elliston <bje@redhat.com>
Ben Elliston [Sun, 3 Dec 2000 04:53:23 +0000 (04:53 +0000)]
2000-12-03  Ben Elliston  <bje@redhat.com>

* desc-cpu.scm (cgen-desc.h): Clarify generated filenames.
(cgen-desc.c): Likewise.

23 years ago * desc.scm ((<keyword>,gen-defn): Prepend prefix to keyword index names.
Glen McCready [Sat, 2 Dec 2000 00:18:57 +0000 (00:18 +0000)]
* desc.scm ((<keyword>,gen-defn): Prepend prefix to keyword index names.

23 years ago2000-12-01 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 1 Dec 2000 04:45:20 +0000 (04:45 +0000)]
2000-12-01  Ben Elliston  <bje@redhat.com>

* sim-cpu.scm (cgen-cpu.h): Only emit argbuf, scache and extract
definitions if run without with-multipla-isa?.
(cgen-defs.h): New function. Emit an ISA-specific defs file.
* cgen-sim.scm (sim-arguments): Accept -G option to generate defs.

23 years ago2000-11-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 24 Nov 2000 04:25:32 +0000 (04:25 +0000)]
2000-11-24  Ben Elliston  <bje@redhat.com>

* sim-cpu.scm (-gen-hardware-struct): New function.
(-gen-hardware-types): If with-multiple-isa is specified, emit all
hardware elements wich have share one or more ISAs with the ISAs
being kept.

23 years ago2000-11-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 23 Nov 2000 13:07:24 +0000 (13:07 +0000)]
2000-11-24  Ben Elliston  <bje@redhat.com>

* sim.scm (-with-multiple-isa?): New symbol.
(with-multiple-isa?): New function.
(option-init!): Initialise -with-multiple-isa?.
(option-set!): Handle with-multiple-isa option.

23 years ago* doc/internal.texi (Debugging): New node.
Ben Elliston [Thu, 23 Nov 2000 00:49:25 +0000 (00:49 +0000)]
* doc/internal.texi (Debugging): New node.

23 years ago2000-11-21 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 21 Nov 2000 04:08:30 +0000 (04:08 +0000)]
2000-11-21  Ben Elliston  <bje@redhat.com>

* utils.scm (copyright-fsf): Add the year 2000.

23 years ago* ANSI C fixes
Frank Ch. Eigler [Mon, 20 Nov 2000 19:03:33 +0000 (19:03 +0000)]
* ANSI C fixes

2000-11-20  Frank Ch. Eigler  <fche@redhat.com>

* 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>

* utils-cgen.scm (gen-define-with-symcat): New function.
* desc-cpu.scm (gen-ifld-defns): Use it.
(gen-hw-table-defns): Use it.
(-gen-hash-defines): Use it.
(gen-operand-table): Use it.
(gen-insn-table): Use it.  Remove spurious `#undef MNEM'.
* opc-itab.scm (-gen-ifmt-table): Use it.
(-gen-insn-opcode-table): Use it.
(-gen-macro-insn-table): Use it.
* opc-opinst.scm (-gen-operand-instance-tables): Use it.
* sim-cpu.scm (cgen-semantics.c): Use it.
(cgen-sem-switch.c): Use it.

24 years agofix errors in `df' docs
Doug Evans [Mon, 13 Nov 2000 18:00:57 +0000 (18:00 +0000)]
fix errors in `df' docs

24 years ago* parameter to enable sim decode/extract separation
Frank Ch. Eigler [Sat, 11 Nov 2000 17:26:22 +0000 (17:26 +0000)]
* parameter to enable sim decode/extract separation

2000-11-10  Frank Ch. Eigler  <fche@redhat.com>

* utils-sim.scm (-gen-decode-insn-entry): Add fn? parameter to signal
request to emit calls to insn extractors as functions rather than
branches to inline blocks.
(-gen-decode-expr-set-itype, -gen-decode-expr-entry): Ditto.
(-gen-decode-table-entry, -gen-decoder-switch, gen-decoder): Ditto.

* sim-decode.c (-gen-decode-fn): Tell (gen-decode) to emit branches
to extractor clauses.

24 years ago* major sim decoder improvement
Frank Ch. Eigler [Fri, 10 Nov 2000 16:43:21 +0000 (16:43 +0000)]
* major sim decoder improvement
* minor diagnostic tweaks

2000-11-10  Frank Ch. Eigler  <fche@redhat.com>

* decode.scm (-distinguishing-bit-population): Significantly
improve popularity heuristic.  Renamed from
(-mask-bit-population): Gone.
(-population-above-threshold): Sort new bit numbers in order of
popularity.
(-population-top-few): Allow up to three more bits to be selected
than requested.  Correct selection order to prefer better bits.
Correct bug in fewer-than-requested case.  Keep threshold as
floating-point.
(decode-best-get-bits): Pass also the insn-values.

* utils-sim.scm (-gen-decoder-switch): Add comment suggesting a
future optimization.

* utils.scm (message): Format nested lists better.

24 years ago * dev.scm: Add srcdir to %load-path.
Doug Evans [Thu, 9 Nov 2000 18:09:35 +0000 (18:09 +0000)]
* dev.scm: Add srcdir to %load-path.

* rtx-funcs.scm (subword): Mode of argument can be different
than mode of result, so don't use OP0 to specify argument's mode.

24 years ago2000-11-02 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 1 Nov 2000 21:35:13 +0000 (21:35 +0000)]
2000-11-02  Ben Elliston  <bje@redhat.com>

* doc/porting.texi (Building a GAS test suite): Document my change
to gas-build.sh.

24 years ago2000-11-01 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 1 Nov 2000 11:56:53 +0000 (11:56 +0000)]
2000-11-01  Ben Elliston  <bje@redhat.com>

* sim-test.scm (cgen-build.sh): Include "-*- Asm -*-" in test cases.

24 years ago2000-10-31 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 31 Oct 2000 23:50:09 +0000 (23:50 +0000)]
2000-10-31  Ben Elliston  <bje@redhat.com>

* gas-test.scm (cgen-build.sh): Allow the generated script to run
with no command line arguments if the gas build directory can be
determined.

24 years ago * insn.scm (-parse-insn-format-symbol): Fix spelling error,
Doug Evans [Fri, 27 Oct 2000 02:28:06 +0000 (02:28 +0000)]
* insn.scm (-parse-insn-format-symbol): Fix spelling error,
op-ifld -> op-ifield.

24 years ago* build fix for recently increased isa sensitivity
Frank Ch. Eigler [Mon, 23 Oct 2000 18:17:44 +0000 (18:17 +0000)]
* build fix for recently increased isa sensitivity

2000-10-23  Frank Ch. Eigler  <fche@redhat.com>

* thumb.scm (cc-tests): Add (ISA thumb) attribute.

24 years ago* cleanup
Frank Ch. Eigler [Fri, 13 Oct 2000 11:21:57 +0000 (11:21 +0000)]
* cleanup

2000-10-13  matthew green  <mrg@cygnus.com>

* utils-cgen.scm (get-ifetch): Move from here ...
* sim.scm (get-ifetch): ... to here.

24 years ago2000-10-06 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 6 Oct 2000 16:55:16 +0000 (16:55 +0000)]
2000-10-06  Dave Brolley  <brolley@redhat.com>

* utils-gen.scm (-gen-ifld-extract-base): Compute start position as
ifld-start + ifld-word-offset.
(gen-ifld-extract): Check adata-integral-insn? before checking whether
the field is beyond the base number of bits.
(gen-define-ifields): Use a base-length of 32 if adata-integral-insn?.
(gen-extract-ifields): Ditto.
* gas-test.scm (gentest): Generate backslashes before '[' and ']'
characters in the regular expression.

24 years ago* usability improvement
Frank Ch. Eigler [Mon, 2 Oct 2000 19:13:53 +0000 (19:13 +0000)]
* usability improvement

2000-10-02  Frank Ch. Eigler  <fche@redhat.com>

* desc-cpu.scm: (gen-operand-decls): Emit MAX_OPERANDS as a
preprocessor constant.

24 years ago* fixes to handle 64-bit ints properly
Frank Ch. Eigler [Thu, 21 Sep 2000 20:16:24 +0000 (20:16 +0000)]
* fixes to handle 64-bit ints properly

2000-09-21  Frank Ch. Eigler  <fche@redhat.com>

* slib/logical.scm: New file from slib.  Provides robust bitwise
logical operations for large integers.
* read.scm: maybe-load it.

24 years ago* consistency improvement for isa-filtering in *ifield parsers
Frank Ch. Eigler [Fri, 15 Sep 2000 15:01:20 +0000 (15:01 +0000)]
* consistency improvement for isa-filtering in *ifield parsers

2000-09-15  Frank Ch. Eigler  <fche@redhat.com>

* enum.scm (define-full-insn-enum): Filter with keep-isa predicate.
* ifield.scm (-ifield-parse, -multi-ifield-parse): No longer assert
single-isa predicate, but support keep-isa filtering.

24 years ago* bug fix
Frank Ch. Eigler [Fri, 8 Sep 2000 22:18:37 +0000 (22:18 +0000)]
* bug fix

2000-09-08  Frank Ch. Eigler  <fche@redhat.com>

* rtl-c.scm (s-sequence): Handle nested c-calls in both
statement-expression and comma-expression contexts.
(s-c-call, s-c-raw-call): Add warning comment about bad assumption.

24 years ago* error handling fix
Frank Ch. Eigler [Fri, 8 Sep 2000 15:25:04 +0000 (15:25 +0000)]
* error handling fix

2000-09-08  Frank Ch. Eigler  <fche@redhat.com>

* decode.scm (-population-top-few): Signal error gracefully if
decoding is about to become ambiguous.

24 years ago* old news
Frank Ch. Eigler [Wed, 6 Sep 2000 19:33:31 +0000 (19:33 +0000)]
* old news

2000-09-06  Frank Ch. Eigler  <fche@redhat.com>

* doc/rtl.texi (decode-assist): Describe this field as optional.

24 years ago* multi-ifields support in simulators
Frank Ch. Eigler [Wed, 6 Sep 2000 19:24:45 +0000 (19:24 +0000)]
* multi-ifields support in simulators

2000-09-06  Frank Ch. Eigler  <fche@redhat.com>

* utils-gen.scm (gen-multi-ifld-extract): Handle case of multi-ifield
with decode proc.

24 years ago2000-09-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 5 Sep 2000 16:13:39 +0000 (16:13 +0000)]
2000-09-05  Dave Brolley  <brolley@redhat.com>

* sim.scm (sim-finish!): Honour the definition of FAST_P when calling
@cpu@_pbb_begin. Use 0 if FAST_P is not defined.

24 years ago2000-08-29 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 29 Aug 2000 15:25:37 +0000 (15:25 +0000)]
2000-08-29  Dave Brolley  <brolley@redhat.com>

* utils-gen.scm (gen-ifld-extract): Pass total-len if
adata-integral-insn is true for this architecture.

24 years ago2000-08-24 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Thu, 24 Aug 2000 15:35:47 +0000 (15:35 +0000)]
2000-08-24  Frank Ch. Eigler  <fche@redhat.com>

* 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.

24 years ago* dummy checkin
Frank Ch. Eigler [Tue, 22 Aug 2000 20:10:14 +0000 (20:10 +0000)]
* dummy checkin

24 years ago* Dougly Correct class names
Frank Ch. Eigler [Tue, 22 Aug 2000 19:25:13 +0000 (19:25 +0000)]
* Dougly Correct class names

24 years ago* oops
Frank Ch. Eigler [Tue, 22 Aug 2000 19:20:57 +0000 (19:20 +0000)]
* oops

24 years ago* snapshot of work toward more complete support of derived-operands
Frank Ch. Eigler [Tue, 22 Aug 2000 19:14:30 +0000 (19:14 +0000)]
* snapshot of work toward more complete support of derived-operands

2000-08-22  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.in (DIST_COMMON): Regenerated.
* ifield.scm (derived-ifield needed-iflds): New method.
* iformat.scm (-ifmt-lookup-sfmt!): Use base ifields for
sfmts built from derived-ifields.
* operand.scm (-derived-parse-encoding): Give derived-ifield a fixed
type symbol 'derived-ifield, not an unparseable string.
* utils-sim.scm (op-needed-iflds) Handler 'derived-ifield case.
(-sfmt-contents): Add tracing.

From Doug Evans <dje@transmeta.com>:
* sim.scm (operand cxmake-get): Result is a <c-expr>, not a string of
C code.

24 years ago * rtl-c.scm (rtl-c-expr-with-estate): New fn.
Doug Evans [Sun, 20 Aug 2000 22:52:32 +0000 (22:52 +0000)]
* rtl-c.scm (rtl-c-expr-with-estate): New fn.
(rtl-c-expr-parsed,rtl-c-expr): New fns.
(-rtl-c-get): Rename from rtl-c-get.
(rtl-c-get): New fn for getter logging.

24 years ago2000-07-28 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 28 Jul 2000 08:23:17 +0000 (08:23 +0000)]
2000-07-28  Ben Elliston  <bje@redhat.com>

* NEWS: Update.

24 years ago*** empty log message ***
Ben Elliston [Fri, 28 Jul 2000 04:11:53 +0000 (04:11 +0000)]
*** empty log message ***

This page took 0.046826 seconds and 5 git commands to generate.