]> sourceware.org Git - cgen.git/log
cgen.git
22 years ago2002-05-21 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 22 May 2002 18:43:32 +0000 (18:43 +0000)]
2002-05-21  Dave Brolley  <brolley@redhat.com>

* decode.scm (-opcode-slots): Don't consider bits beyond the length of
the insn.

22 years ago * cpu/powerpc.cpu: New file.
Johan Rydberg [Fri, 17 May 2002 15:35:52 +0000 (15:35 +0000)]
    * cpu/powerpc.cpu: New file.

22 years ago[ cgen/ChangeLog ]
Graydon Hoare [Wed, 8 May 2002 20:47:04 +0000 (20:47 +0000)]
[ cgen/ChangeLog ]

2002-05-01  Graydon Hoare  <graydon@redhat.com>

* desc-cpu.scm (@arch@_cgen_cpu_close): Fix memory leaks.

[ opcodes/ChangeLog ]

2002-05-07  Graydon Hoare  <graydon@redhat.com>

* cgen-dis.in: (print_insn_@arch@): Cache list of opened CPUs rather
than just most-recently-opened.

22 years ago * doc/pmacros.texi (Symbol concatenation): Mention that .sym
Hans-Peter Nilsson [Wed, 20 Mar 2002 22:05:57 +0000 (22:05 +0000)]
* doc/pmacros.texi (Symbol concatenation): Mention that .sym
results are expanded recursively.

22 years ago * pmacros.scm (-pmacro-expand,scan): If result is a symbol,
Hans-Peter Nilsson [Tue, 19 Mar 2002 20:44:30 +0000 (20:44 +0000)]
* pmacros.scm (-pmacro-expand,scan): If result is a symbol,
call scan-symbol on it, to enable recursive macro-expansion.

22 years ago* better support multiple-isa devices.
Frank Ch. Eigler [Thu, 7 Feb 2002 18:46:19 +0000 (18:46 +0000)]
* better support multiple-isa devices.

2002-01-25  Frank Ch. Eigler  <fche@redhat.com>

        * sid-cpu.scm (-gen-hardware-types): Generate single hardware union
        for multiple-isa configurations.
        * sid-decode.scm (-gen-decode-fn): Tolerate empty insn list.

22 years ago* tweaks
Ben Elliston [Sun, 3 Feb 2002 23:07:55 +0000 (23:07 +0000)]
* tweaks

22 years ago* tweaks
Ben Elliston [Sun, 3 Feb 2002 23:04:19 +0000 (23:04 +0000)]
* tweaks

22 years ago* Contribute Hitachi SH5 port.
Ben Elliston [Fri, 1 Feb 2002 11:32:02 +0000 (11:32 +0000)]
* Contribute Hitachi SH5 port.

22 years ago * doc/rtl.texi: Fix typo: define-attr, not define-attribute.
Hans-Peter Nilsson [Tue, 29 Jan 2002 22:51:52 +0000 (22:51 +0000)]
* doc/rtl.texi: Fix typo: define-attr, not define-attribute.
(Enumerated constants): Mention that an ifield must not specify a
multi-ifield.
(Instruction operands): Ditto for index.
(Expressions) <parallel>: Remove misplaced mention of local
variables.
<if>: Mention that mode must be specified and non-VOID when the
result is used.

22 years ago * doc/porting.texi: When referring to *.opc, mention they are in
Hans-Peter Nilsson [Mon, 28 Jan 2002 20:23:17 +0000 (20:23 +0000)]
* doc/porting.texi: When referring to *.opc, mention they are in
the cpu subdir.  Call top-level directory toplevel, not devo.
Close string in define-normal-insn example.

22 years ago * doc/pmacros.texi: Fix .substr typo to .substring.
Hans-Peter Nilsson [Mon, 28 Jan 2002 19:53:16 +0000 (19:53 +0000)]
* doc/pmacros.texi: Fix .substr typo to .substring.
Mention that .sym expansions are not further expanded.

22 years ago[ include/opcode/ChangeLog ]
Graydon Hoare [Tue, 22 Jan 2002 21:45:38 +0000 (21:45 +0000)]
[ include/opcode/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

* cgen.h (CGEN_MAYBE_MULTI_IFLD): New structure.
(CGEN_OPERAND): Add CGEN_MAYBE_MULTI_IFLD field.

[ opcodes/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

* fr30-asm.c: Regenerate.
* fr30-desc.c: Likewise.
* fr30-desc.h: Likewise.
* fr30-dis.c: Likewise.
* fr30-ibld.c: Likewise.
* fr30-opc.c: Likewise.
* fr30-opc.h: Likewise.
* m32r-asm.c: Likewise.
* m32r-desc.c: Likewise.
* m32r-desc.h: Likewise.
* m32r-dis.c: Likewise.
* m32r-ibld.c: Likewise.
* m32r-opc.c: Likewise.
* m32r-opc.h: Likewise.
* m32r-opinst.c: Likewise.
* openrisc-asm.c: Likewise.
* openrisc-desc.c: Likewise.
* openrisc-desc.h: Likewise.
* openrisc-dis.c: Likewise.
* openrisc-ibld.c: Likewise.
* openrisc-opc.c: Likewise.
* openrisc-opc.h: Likewise.
* xstormy16-desc.c: Likewise.

[ cgen/ChangeLog ]

2002-01-22  Graydon Hoare  <graydon@redhat.com>

* desc-cpu.scm (ifld-number-cache): Add.
(ifld-number): Add.
(gen-maybe-multi-ifld-of-op): Add.
(gen-maybe-multi-ifld): Add.
(gen-multi-ifield-nodes): Add.
(cgen-desc.c): Add call to gen-multi-ifield-nodes.

22 years ago* tweaks.
Ben Elliston [Wed, 16 Jan 2002 21:22:44 +0000 (21:22 +0000)]
* tweaks.

22 years ago[cgen/ChangeLog]
Matthew Green [Fri, 11 Jan 2002 07:24:49 +0000 (07:24 +0000)]
[cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
(gr-Rb-names): ... to this.
(h-Rb): New hardware peice.
(h-Rbj): Use gr-Rb-names.
(Rb): Use h-Rb.

(holdx): New instruction.

[opcodes/ChangeLog]
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Likewise.
* xstormy16-desc.h: Likewise.
* xstormy16-dis.c: Likewise.
* xstormy16-opc.c: Likewise.
* xstormy16-opc.h: Likewise.

[gas/testsuite/ChangeLog]
* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
* gas/xstormy16/allinsn.d: Regenerate.
* gas/xstormy16/allinsn.s: Regenerate.

[sid/component/cgen-cpu/xstormy16/ChangeLog]
* xstormy16.cxx (do_holdx): Define.
* xstormy16.h (do_holdx): Declare.

22 years ago2002-01-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 7 Jan 2002 08:23:59 +0000 (08:23 +0000)]
2002-01-07  Ben Elliston  <bje@redhat.com>

* utils.scm (package-cygnus-simulators): Rename from this ..
(package-red-hat-simulators): .. to this.
* opcodes.scm (option-set!): Use package-red-hat-simulators.
* sid-cpu.scm (cgen-desc.h): Likewise.
(cgen-cpu.h): Likewise.
(cgen-defs.h): Likewise.
(cgen-write.cxx): Likewise.
(cgen-semantics.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.
* sid.scm (option-set!): Likewise.
* sim.scm (option-set!): Likewise.

22 years ago2002-01-07 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 7 Jan 2002 07:05:05 +0000 (07:05 +0000)]
2002-01-07  Ben Elliston  <bje@redhat.com>

* utils.scm (copyright-fsf): Add 2002.
(copyright-cygnus): Rename to copyright-red-hat.
(copyright-red-hat): Add 2002.
(CURRENT-COPYRIGHT): Update comment.
* opcodes.scm (option-set!): Update callers.
* sid-model.scm (cgen-model.cxx): Likewise.
* sid-cpu.scm: Likewise.
* sid-decode.scm: Likewise.
* sid.scm (option-set!): Handle "redhat" as an option for
"copyright"; use copyright-red-hat.
* sim.scm (option-set!): Likewise.

22 years ago2002-01-03 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 3 Jan 2002 18:30:26 +0000 (18:30 +0000)]
2002-01-03  Dave Brolley  <brolley@redhat.com>

* decode.scm (-distinguishing-bit-population): Compute num-insns, the
number of insns in the list.  Update the population count function to
identify and prioritize 3 catgories of useful bits.
(-population-top-few): Don't consider bits with a population count of
zero.
(-build-decode-table-entry): Don't call
filter-harmlessly-ambiguous-insns.  Filter out non-specialized and
identical insns at the next tree level.
* insn.scm (filter-harmlessly-ambiguous-insns): Note in a comment that
this function is no longer used.
(filter-non-specialized-ambiguous-insns): New function.
(filter-identical-ambiguous-insns): New function.
(find-identical-insn): New function.
(filter-harmlessly-ambiguous-insns): Removed.

22 years agoAdd all the xstormy16 authors to the ChangeLog entry.
Geoff Keating [Sat, 8 Dec 2001 01:18:14 +0000 (01:18 +0000)]
Add all the xstormy16 authors to the ChangeLog entry.

22 years ago * cpu/xstormy16.cpu: New file.
Geoff Keating [Fri, 7 Dec 2001 22:51:28 +0000 (22:51 +0000)]
* cpu/xstormy16.cpu: New file.
* cpu/xstormy16.opc: New file.

22 years ago* further converge with internal tree.
Ben Elliston [Tue, 27 Nov 2001 06:29:34 +0000 (06:29 +0000)]
* further converge with internal tree.

22 years ago2001-11-26 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Mon, 26 Nov 2001 16:41:08 +0000 (16:41 +0000)]
2001-11-26  Frank Ch. Eigler  <fche@redhat.com>

* doc/sim.texi, rtl.texi, porting.texi: Correct texinfo markup typos.

22 years ago* more formatting tweaks.
Ben Elliston [Mon, 26 Nov 2001 00:23:41 +0000 (00:23 +0000)]
* more formatting tweaks.

22 years ago* more formatting tweaks.
Ben Elliston [Mon, 26 Nov 2001 00:08:57 +0000 (00:08 +0000)]
* more formatting tweaks.

22 years ago* formatting tweak.
Ben Elliston [Sun, 25 Nov 2001 23:48:25 +0000 (23:48 +0000)]
* formatting tweak.

22 years ago* converge with Red Hat internal tree.
Ben Elliston [Sun, 25 Nov 2001 23:18:15 +0000 (23:18 +0000)]
* converge with Red Hat internal tree.

22 years ago* merge 2001-11-01.
Ben Elliston [Tue, 20 Nov 2001 05:16:06 +0000 (05:16 +0000)]
* merge 2001-11-01.

22 years ago2001-11-14 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 14 Nov 2001 19:46:43 +0000 (19:46 +0000)]
2001-11-14  Dave Brolley  <brolley@redhat.com>

* utils-gen.scm (-gen-extract-word): Correct computation of the length
of the field being extracted.

22 years ago2001-10-29 Johan Rydberg <johan@rydberg.com>
Ben Elliston [Thu, 8 Nov 2001 04:24:30 +0000 (04:24 +0000)]
2001-10-29  Johan Rydberg  <johan@rydberg.com>

* doc/rtl.texi (Expressions): Document the (error ..), (sqrt ..),
(cos ...) and (sin ..) rtx.

22 years agoUse safe-ctype.h not ctype.h
Nick Clifton [Sat, 13 Oct 2001 09:38:02 +0000 (09:38 +0000)]
Use safe-ctype.h not ctype.h

22 years agoFix compile time warning messages in generated C files
Nick Clifton [Tue, 9 Oct 2001 08:24:22 +0000 (08:24 +0000)]
Fix compile time warning messages in generated C files

22 years ago* back out for now.
Ben Elliston [Tue, 18 Sep 2001 03:17:13 +0000 (03:17 +0000)]
* back out for now.

22 years ago2001-09-17 graydon hoare <graydon@redhat.com>
Graydon Hoare [Mon, 17 Sep 2001 19:34:08 +0000 (19:34 +0000)]
2001-09-17  graydon hoare  <graydon@redhat.com>

* insn.scm (syntax-break-out): Change $ escape specifier
from \$ to $$, to reduce interactions with scheme and C escaping
conventions.
* doc/rtl.texi (Instructions): Document change.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:30:04 +0000 (21:30 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opc-itab.scm (@arch@_cgen_init_opcode_table): Unconditionally
        call @arch@_cgen_build_insn_regex now that regex support is in
        libiberty.

23 years ago* ambiguous insn sim decode fix
Frank Ch. Eigler [Thu, 12 Jul 2001 11:42:48 +0000 (11:42 +0000)]
* ambiguous insn sim decode fix

2001-07-12  Frank Ch. Eigler  <fche@redhat.com>

        * insn.scm (filter-harmlessly-ambiguous-insns): Fix msg typo.
        (mask-superset?): Look for strict supersets to allow rejection of
        duplicate insns.

23 years ago* more 16/32-bit insn set support; simulator (sid)
Frank Ch. Eigler [Thu, 12 Jul 2001 02:54:39 +0000 (02:54 +0000)]
* more 16/32-bit insn set support; simulator (sid)

2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

* sid-cpu.scm (-gen-mach-params): New proc to emit ...CHUNK_BITSIZE...
(cgen-desc.h): Call it.
* sid-decode.scm (-gen-decode-fn): Use base-insn-bitsize as
decode-size.
* utils-sim.scm (-gen-decode-insn-entry): For SID only, prepare
entire_insn for extraction, if it's shorter than base-insn-bitsize.

23 years ago* some support for funny-endian 16/32-bit insn sets
Frank Ch. Eigler [Thu, 12 Jul 2001 02:32:25 +0000 (02:32 +0000)]
* some support for funny-endian 16/32-bit insn sets

[cgen/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the
        mach->cpu insn-chunk-bitsize.
        (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new
        field toward CGEN_CPU_TABLE->insn_chunk_bitsize.
        * mach.scm (<cpu>): New field insn-chunk-bitsize.
        (-cpu-parse, -cpu-read): Parse/initialize it.
        * doc/rtl.texi (define-cpu): Document it.

[opcodes/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
        bfd_get_bits.
        * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
        non-zero CGEN_CPU_DESC->insn_chunk_bitsize.

[include/opcode/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field.
        (cgen_cpu_desc): Ditto.

23 years ago * ifield.scm (<ifield> 'field-start): Don't look at word-len.
Geoff Keating [Mon, 9 Jul 2001 16:07:49 +0000 (16:07 +0000)]
* ifield.scm (<ifield> 'field-start): Don't look at word-len.

23 years ago2001-07-06 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 14:11:09 +0000 (14:11 +0000)]
2001-07-06  Ben Elliston  <bje@redhat.com>

* opcodes.scm (read-cpu.opc): Read .opc files from subdir/cpu.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 12:54:37 +0000 (12:54 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* sid.scm (sim-finish!): Read .sim files from srcdir/cpu.

23 years ago2001-07-05 Ben Elliston <bje@redhat.com>
Ben Elliston [Thu, 5 Jul 2001 12:45:47 +0000 (12:45 +0000)]
2001-07-05  Ben Elliston  <bje@redhat.com>

* README: Update.

* read.scm (include): Include files from srcdir/cpu.
(-cgen): Likewise for loading .cpu files.
* *.cpu: Move all cpu descriptions into cpu subdirectory.
* *.opc: Likewise.
* simplify.inc: Likewise.

23 years ago2001-07-04 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 4 Jul 2001 06:49:02 +0000 (06:49 +0000)]
2001-07-04  Ben Elliston  <bje@redhat.com>

* read.scm (include): Log "Including file" message at level 1,
rather than outputting it with (display).
(cpu-load): Log "Loading cpu description" and "Processing cpu
description" messages at levels 1 and 2, respectively, rather than
using (display).

23 years agoIndex: opcodes/ChangeLog
Geoff Keating [Thu, 14 Jun 2001 20:38:42 +0000 (20:38 +0000)]
Index: opcodes/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen-asm.c (cgen_parse_keyword): When looking for the
boundaries of a keyword, allow any special characters
that are actually in one of the allowed keyword.
* cgen-opc.c (cgen_keyword_add): Add any special characters
to the nonalpha_chars field.

Index: cgen/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* desc.scm (<keyword> 'gen-defn): Add extra zero into
CGEN_KEYWORD_ENTRY initializers.

Index: include/opcode/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen.h (cgen_keyword): Add nonalpha_chars field.

23 years ago * gas-test.scm (gen-gas-test): Create 8 testcases, not just 5.
Geoff Keating [Thu, 14 Jun 2001 19:52:57 +0000 (19:52 +0000)]
* gas-test.scm (gen-gas-test): Create 8 testcases, not just 5.
(<operand> 'test-data): Involve both the index and the hardware
in testcase generation.
(<hw-indx> 'test-data): Generate test data from the underlying
object.
(<ifield> 'test-data): Generate test data by computing bit
patterns for the field, then decoding them.
(<hw-address> 'test-data): Allow for new calling convention.
(<hw-iaddress> 'test-data): Likewise.
(<keyword> 'test-data): Convert index values into keywords.
(<hw-asm> 'test-data): Convert index values into integer strings.

23 years ago * gas-test.scm (cgen-build.sh): Escape '.' as well.
Geoff Keating [Thu, 14 Jun 2001 19:51:44 +0000 (19:51 +0000)]
* gas-test.scm (cgen-build.sh): Escape '.' as well.

23 years ago* sfmt optimism fix
Frank Ch. Eigler [Fri, 1 Jun 2001 21:21:30 +0000 (21:21 +0000)]
* sfmt optimism fix

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

* rtl.scm (hw): Encode hw access mode into <operand> name, since this
is required for multi-mode hw types (memory).

23 years ago2001-05-11 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 11 May 2001 02:24:51 +0000 (02:24 +0000)]
2001-05-11  Ben Elliston  <bje@redhat.com>

* gas-test.scm (cgen-build.sh, gentest): Escape $ with a backslash
when generating allinsn.d from objdump output. Without it, the
testsuite will treat $ as the regular expression for end of line.

23 years agoTexinfo fix from geoffk.
Ben Elliston [Wed, 9 May 2001 02:19:32 +0000 (02:19 +0000)]
Texinfo fix from geoffk.

23 years ago * doc/porting.texi (Doing a GAS port): Replace `cgen_opcode_open'
Ben Elliston [Wed, 9 May 2001 01:34:03 +0000 (01:34 +0000)]
* doc/porting.texi (Doing a GAS port): Replace `cgen_opcode_open'
with `cgen_cpu_open'; documentation had become out of date.
* doc/rtl.texi (Instruction operands): Likewise.

23 years ago* cgen asm/disasm
Frank Ch. Eigler [Mon, 7 May 2001 17:55:20 +0000 (17:55 +0000)]
* cgen asm/disasm

[opcodes/ChangeLog]
2001-05-07  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (default_print_insn): Tolerate min<base instructions
        even at end of a section.
        * cgen-ibld.in (extract_normal): Tolerate min!=base!=max instructions
        by ignoring precariously-unpacked insn_value in favor of raw buffer.

[cgen/ChangeLog]
2001-05-07  Frank Ch. Eigler  <fche@redhat.com>

        * iformat.scm (compute-insn-base-mask-length): Rewrite to tolerate
        various-base-length instruction sets.

23 years ago2001-04-02 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 2 Apr 2001 22:04:48 +0000 (22:04 +0000)]
2001-04-02  Ben Elliston  <bje@redhat.com>

* 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
the last instruction enum plus one, not @PREFIX@_INSN_MAX.
* sim-model.scm (-gen-mach-defns): Define CPU_MAX_INSNS as the
last instruction enum plus one, not @CPU@_INSN_MAX.

23 years ago2001-04-02 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 2 Apr 2001 21:18:27 +0000 (21:18 +0000)]
2001-04-02  Ben Elliston  <bje@redhat.com>

* sid-cpu.scm (-last-insn): New function.
(-gen-sem-switch-engine): Loop through idesc while less than or
equal to the last instruction enum, not less than the MAX enum.
(-gen-sfrag-engine-fn): Clean up frag_label_table initialisation.
* sid-decode.scm (-gen-decode-insn-globals): Define the idesc
table's size to be the last instruction enum plus one, not
@PREFIX@_INSN_MAX.
* sid.scm (gen-cpu-insn-enum-decl): Do not append a dummy `max'
instruction onto the instruction list.

23 years ago* Add some cross-references.
Ben Elliston [Wed, 28 Mar 2001 04:12:11 +0000 (04:12 +0000)]
* Add some cross-references.

23 years ago * doc/version.texi (UPDATED, EDITION): Update.
Ben Elliston [Wed, 28 Mar 2001 00:41:56 +0000 (00:41 +0000)]
* doc/version.texi (UPDATED, EDITION): Update.
* doc/stamp-vti: Likewise.

23 years ago2001-03-26 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 26 Mar 2001 05:25:10 +0000 (05:25 +0000)]
2001-03-26  Ben Elliston  <bje@redhat.com>

* doc/credits.texi (Credits): Update.

23 years ago2001-03-26 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 26 Mar 2001 05:17:28 +0000 (05:17 +0000)]
2001-03-26  Ben Elliston  <bje@redhat.com>

* gas-test.scm (<keyword>,test-data): Prefix keywords by their
specified prefix and, if necessary, escape `$' in gas-build.sh to
prevent unwanted shell variable expansion.

23 years ago2001-03-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 24 Mar 2001 12:22:35 +0000 (12:22 +0000)]
2001-03-24  Ben Elliston  <bje@redhat.com>

* gas-test.scm (<hw-asm>,test-data): Choose pseudo-random data.
(<keyword>,test-data): Likewise.
(<hw-address>,test-data): Likewise.
(<hw-iaddress>,test-data): Likewise.
(-collate-test-set): New function.
(build-test-set): Use it.
(gen-gas-test): Generate five test cases per instruction.
(cgen-allinsn.exp): Include "-*- Tcl -*-" in DejaGNU test file.

* read.scm: Load "slib/random" if random is not defined.
* slib/random.scm: New file.

23 years ago2001-03-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Sat, 24 Mar 2001 00:16:36 +0000 (00:16 +0000)]
2001-03-24  Ben Elliston  <bje@redhat.com>

* utils.scm: Remove comments about the Hobbit compiler.
(copyright-cygnus): Add 2001.
(package-cygnus-simulators): Replace "Cygnus" with "Red Hat".
(package-gnu-simulators): Tidy.

23 years ago2001-03-23 Ben Elliston <bje@redhat.com>
Ben Elliston [Fri, 23 Mar 2001 09:45:55 +0000 (09:45 +0000)]
2001-03-23  Ben Elliston  <bje@redhat.com>

* cgen-gas.scm: Inline documentation improvements.

23 years ago2001-03-21 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 21 Mar 2001 21:50:57 +0000 (21:50 +0000)]
2001-03-21  Ben Elliston  <bje@redhat.com>

* opc-itab.scm (compute-syntax): Emit a parse error if an operand
given in a syntax string is undefined.

23 years ago2001-03-21 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 21 Mar 2001 21:48:37 +0000 (21:48 +0000)]
2001-03-21  Ben Elliston  <bje@redhat.com>

* opc-itab.scm (compute-syntax): Emit a parse error if an operand
name is empty or invalid -- eg. "$(rs)" instead of "($rs)".

23 years ago Correct machine calculation on disassembly.
Patrick Macdonald [Tue, 20 Mar 2001 20:48:33 +0000 (20:48 +0000)]
  Correct machine calculation on disassembly.

  2001-03-20  Patrick Macdonald  <patrickm@redhat.com>

        * desc-cpu.scm (@arch@_cgen_cpu_open): Correct machine calculation for
        arg_type CGEN_CPU_OPEN_BFDMACH.

23 years ago2001-03-20 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 20 Mar 2001 19:30:13 +0000 (19:30 +0000)]
2001-03-20  Ben Elliston  <bje@redhat.com>

* opc-itab.scm (-gen-insn-enum): Do not append a dummy `max'
instruction onto the instruction list. Define MAX_INSNS to be the
value of the last instruction enum plus one.

23 years ago* Add some more concept index entries.
Ben Elliston [Mon, 19 Mar 2001 03:36:24 +0000 (03:36 +0000)]
* Add some more concept index entries.

23 years agoFix copyright notice in generated files
Nick Clifton [Thu, 15 Mar 2001 17:42:29 +0000 (17:42 +0000)]
Fix copyright notice in generated files

23 years ago2001-03-05 Dave Brolley <brolley@redhat.com>
Dave Brolley [Mon, 5 Mar 2001 15:43:38 +0000 (15:43 +0000)]
2001-03-05  Dave Brolley  <brolley@redhat.com>

        * sim-decode.scm (-gen-extract-case): Generate declaration of "insn"
        if the number of ifields is greater than zero.

23 years ago* branch probability hinting
Frank Ch. Eigler [Thu, 1 Mar 2001 19:15:30 +0000 (19:15 +0000)]
* branch probability hinting

[cgen/ChangeLog]
2001-03-01  Frank Ch. Eigler  <fche@redhat.com>

* sid.cpu (-op-gen-set-trace[-parallel], -create-virtual-insns!):
Emit LIKELY/UNLIKELY branch probability hints.
* sid-decode.cpu (-gen-record-args): Ditto.

[sid/include/ChangeLog]
2001-03-01  Frank Ch. Eigler  <fche@redhat.com>

* sidconfig.h (LIKELY, UNLIKELY): New conditional cover macros
for gcc's __builtin_expect branch probability hinting function.
* sidbusutil.h (passthrough_bus, mux_password_bus, harvard_bus):
Add some branch probability hints.
* sidcpuutil.h (step_pin_handler, stop_after_insns_p,
{read,write}_{insn,data}_memory): Ditto.
* sidpinutil.h (callback_pin::driven): Remove unnecessary assert
from critical path.

[eg. sid/component/mapper/ChangeLog]
2001-03-01  Frank Ch. Eigler  <fche@redhat.com>

* compMapper.cxx ({read,write}_strideoffset_any): Added b.p. hints.
(write_any, read_any, locate): Ditto.

[sid/component/cgen-cpu/ChangeLog]
2001-03-01  Frank Ch. Eigler  <fche@redhat.com>

* cgen-engine.h (set_pbb_engine, chain, get_next_vpc, pbb_find,
pbb_find_or_alloc, pbb_before, pbb_after): Add branch probability
hints.

[eg. sid/component/cgen-cpu/arm7t/ChangeLog]
2001-03-01  Frank Ch. Eigler  <fche@redhat.com>

* arm-decode.cxx, -sem.cxx, -semsw.cxx: Regenerated w/ b.p. hints.
* thumb-decode.cxx, -sem.cxx, -semsw.cxx: Ditto.

23 years ago CGEN portion of fix for syntax array elements when max operands
Patrick Macdonald [Fri, 2 Feb 2001 22:50:13 +0000 (22:50 +0000)]
    CGEN portion of fix for syntax array elements when max operands
        greater than 127.

        2001-02-02  Patrick Macdonald  <patrickm@redhat.com>

        * desc-cpu.scm (-gen-hash-defines): Rename
        CGEN_ACTUAL_MAX_SYNTAX_BYTES to CGEN_ACTUAL_MAX_SYNTAX_ELEMENTS.

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.

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

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

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

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

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

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

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

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

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

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

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

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

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