]> sourceware.org Git - cgen.git/log
cgen.git
21 years ago* lost patch from RH tree:
Ben Elliston [Wed, 18 Dec 2002 01:43:11 +0000 (01:43 +0000)]
* lost patch from RH tree:

2001-09-17  graydon hoare  <graydon@redhat.com>

* insn.scm (syntax-break-out): Correct logic in handling escaped
syntax characters.

21 years ago* cpu/xstormy16.opc (parse_immediate16): Add prototype.
DJ Delorie [Tue, 17 Dec 2002 04:48:25 +0000 (04:48 +0000)]
* cpu/xstormy16.opc (parse_immediate16): Add prototype.

21 years ago* cpu/xstormy16.cpu (imm16): Call handler immediate16.
DJ Delorie [Tue, 17 Dec 2002 03:54:41 +0000 (03:54 +0000)]
* cpu/xstormy16.cpu (imm16): Call handler immediate16.
* cpu/xstormy16.opc (parse_small_immediate): Return on '@'.
(parse_immediate16): Handle immediate16 values, which now include
@hi(label) and @lo(label)

21 years ago * desc-cpu.scm (gen-maybe-multi-ifld): Remove superfluous parens.
Alan Modra [Mon, 2 Dec 2002 21:53:53 +0000 (21:53 +0000)]
* desc-cpu.scm (gen-maybe-multi-ifld): Remove superfluous parens.
Add braces and cast for union field.
(gen-multi-ifield-nodes): Add braces and cast for union field.
(cgen_operand_table): Similarly fix sentinel.
(cgen_cpu_close): Constify "insns".  Formatting.
(cgen-desc.c): Include xregex.h.
* cpu/ip2k.opc (ip2k_cgen_insn_supported): Move to opc.c section.
Prototype.
<opc.c>: Include safe-ctype.h.
(ip2k_asm_hash): Use ISSPACE and TOLOWER.
(PARSE_FUNC_DECL): Declare.  Use to prototype parse_fr, parse_addr16,
parse_addr16_p, parse_addr16_cjp, parse_lit8 and parse_bit3.
(parse_fr): Constify "old_strp".  Correct type of "tempvalue".
Don't test it for >= 0.  Use ISSPACE rather than isspace.  Formatting.
(parse_addr16): Correct type of "value".  Formatting.
(parse_addr16_p): Likewise.
(parse_addr16_cjp): Likewise.
(parse_lit8): Likewise.
(parse_bit3): Formatting.
(PRINT_FUNC_DECL): Define.  Use to prototype print_fr, print_dollarhex,
print_dollarhex8, print_dollarhex16, print_dollarhex_addr16h,
print_dollarhex_addr16l, print_dollarhex_p, print_dollarhex_cj and
print_decimal.
(print_fr): Add ATTRIBUTE_UNUSED on unused args.  Formatting.
(print_dollarhex): Add ATTRIBUTE_UNUSED on unused args.
(print_dollarhex8): Likewise.
(print_dollarhex16): Likewise.
(print_dollarhex_addr16h): Likewise.
(print_dollarhex_addr16l): Likewise.
(print_dollarhex_p): Likewise.
(print_dollarhex_cj): Likewise.
(print_decimal): Likewise.
* cpu/xstormy16.opc (parse_mem8): Use ISALNUM rather than isalnum.

21 years ago * doc/rtl.texi (Model variants): Mention current limitations for
Hans-Peter Nilsson [Sat, 30 Nov 2002 17:04:54 +0000 (17:04 +0000)]
* doc/rtl.texi (Model variants): Mention current limitations for
unit inputs and outputs.
(Hardware elements) <attribute PROFILE>: Be slightly more
verbose.
(Instructions) <timing>: input/output overrides have a direction
operand.

21 years ago* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.
DJ Delorie [Mon, 25 Nov 2002 21:14:16 +0000 (21:14 +0000)]
* xstormy16.cpu (sdiv, divlh, sdivlh): Fix sdivlh/divlh encodings.

21 years ago * cpu/iq10.cpu: New file.
Stan Cox [Thu, 21 Nov 2002 22:12:20 +0000 (22:12 +0000)]
* cpu/iq10.cpu: New file.
* cpu/iq2000.cpu: Likewise.
* cpu/iq2000.opc: Likewise.
* cpu/iq2000m.cpu: Likewise.

21 years ago* cpu/xstormy16.cpu (sdiv, divlh, sdivlh): New.
DJ Delorie [Wed, 20 Nov 2002 03:14:19 +0000 (03:14 +0000)]
* cpu/xstormy16.cpu (sdiv, divlh, sdivlh): New.

21 years ago2002-11-05 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Tue, 5 Nov 2002 21:35:45 +0000 (21:35 +0000)]
2002-11-05  Frank Ch. Eigler  <fche@redhat.com>

* dev.scm: Call getenv with a string, not a symbol.

21 years ago * types.scm (bitrange-overlap?): Handle lsb0?.
Hans-Peter Nilsson [Mon, 7 Oct 2002 23:50:30 +0000 (23:50 +0000)]
* types.scm (bitrange-overlap?): Handle lsb0?.

21 years ago* arm7t missing instructions
Frank Ch. Eigler [Sat, 7 Sep 2002 14:42:48 +0000 (14:42 +0000)]
* arm7t missing instructions

[cgen]
2002-09-07  Frank Ch. Eigler  <fche@redhat.com>

From Robert Cragie <rcc@jennic.com>:
* cpu/arm7.cpu (ldm*-sw*, stm*-sw*): New instructions.

[sid]
2002-09-07  Frank Ch. Eigler  <fche@redhat.com>

* arm-*, thumb-*: Regenerated files with Robert Cragie's new
cgen instructions.

22 years ago * cpu/ip2k.cpu: New file.
Ben Elliston [Wed, 17 Jul 2002 14:56:53 +0000 (14:56 +0000)]
* cpu/ip2k.cpu: New file.
* cpu/ip2k.opc: Likewise.

22 years ago * utils-gen.scm (-gen-extract-word): Handle lsb0?.
Hans-Peter Nilsson [Sun, 30 Jun 2002 22:48:48 +0000 (22:48 +0000)]
* utils-gen.scm (-gen-extract-word): Handle lsb0?.

22 years ago* typo fix.
Ben Elliston [Tue, 25 Jun 2002 17:21:09 +0000 (17:21 +0000)]
* typo fix.

22 years ago2002-06-25 J"orn Rennecke <joern.rennecke@superh.com>
Ben Elliston [Tue, 25 Jun 2002 17:17:45 +0000 (17:17 +0000)]
2002-06-25  J"orn Rennecke <joern.rennecke@superh.com>

* cpu/sh64-compact.cpu (movw5): Use Correct operand field for reg.
* cpu/sh64-media.cpu (-ldhi-byte, -ldhi-word, -ldhi-long): New macros.
(-ldlo-byte, -ldlo-word, -ldlo-long): Likewise.
(-sthi-word, -sthi-long -stlo-byte, -stlo-word, -stlo-long): Likewise.
(ldhil, ldhiq, ldlol, ldloq, stlol, stloq): Implement.
(mshfhib, mshfhil, mshfhiw, mshflob, mshflol, mshflow): Fix indices.
(-sthi-byte): If there is a single byte to store, store it at
proper address.
(sthil, sthiq): Fix big-endian behaviour.
(mcnvslw, mcnvswb, mcnvswub, mmacfxwl, mmacnfx.wl): Fix indices.
(mmulfxl, mmulfxw, mmulfxrpw, mmulhiwl, mmullowl): Likewise.
(saturate): Use Dimode to check if saturation operation is required.
(usaturate): Likewise.
(mpermw): Fix mask.
(-maddsl, -maddsub): Compute to-be-saturated value in wider mode.
(-maddsw, mmacfxwl, mmacnfx.wl, -mshaldsl, -mshaldsw): Likewise.
(-mshardl, -mshardw, -msubsl, -msubsub, -msubsw): Likewise.
(msadubq): Fix subword index in second operand of first subtraction.

22 years ago * sim-cpu.scm (gen-semantic-code): Prepend with setup-semantics
Hans-Peter Nilsson [Wed, 19 Jun 2002 22:43:23 +0000 (22:43 +0000)]
* sim-cpu.scm (gen-semantic-code): Prepend with setup-semantics
code.

22 years ago2002-06-18 Dave Brolley <brolley@redhat.com>
Dave Brolley [Tue, 18 Jun 2002 21:12:34 +0000 (21:12 +0000)]
2002-06-18  Dave Brolley  <brolley@redhat.com>

* cpu/frv.cpu: New cpu description.
* cpu/frv.opc: New cpu support code.

22 years ago* typo fix.
Ben Elliston [Mon, 3 Jun 2002 13:25:38 +0000 (13:25 +0000)]
* typo fix.

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.

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