OSDN Git Service

* mode.scm (<mode>) Rename member non-mode-c-type to c-type.
[pf3gnuchains/pf3gnuchains3x.git] / cgen / ChangeLog
index f0554cc..0f38dc9 100644 (file)
@@ -1,3 +1,125 @@
+2010-01-05  Doug Evans  <dje@sebabeach.org>
+
+       * mode.scm (<mode>) Rename member non-mode-c-type to c-type.
+       All uses updated.
+       (mode:non-mode-c-type): Delete.
+       (mode:c-type): Update.
+       * rtl-c.scm (s-shop): Fix casting of DI mode values.
+
+2010-01-04  Doug Evans  <dje@sebabeach.org>
+
+       * gen-all (all_cgen_cpus): Add sh.
+
+2010-01-02  Doug Evans  <dje@sebabeach.org>
+
+       * utils.scm (copyright-fsf, copyright-red-hat): Update copyright year.
+
+2009-12-17  Doug Evans  <dje@sebabeach.org>
+
+       * mep.opc: Apply patches from opcodes to compile with -Wshadow.
+       mep-asm.c now regenerates correctly again.
+       
+       * gen-all: Add support for building gcc/newlib.
+       Specify --prefix and install all built tools.
+
+2009-12-16  Doug Evans  <dje@sebabeach.org>
+
+       * sim.scm (/op-gen-written-update): Disable operand number is too
+       large warning, for now.
+
+2009-12-11  Nick Clifton  <nickc@redhat.com>
+
+       * cpu/fr30.opc: Fix shadowed variable warnings.
+
+2009-12-10  Doug Evans  <dje@sebabeach.org>
+
+       * gen-all: Rewrite.  Build more ports.  Split out building of sid.
+
+2009-11-23  Doug Evans  <dje@sebabeach.org>
+
+       * hardware.scm (hw-pc?): New function.
+       * ifield.scm (ifld-signed?): New function.
+       * iformat.scm (ifmt-analyze): Call insn-cti-attr? instead of insn-cti?.
+       * insn.scm (insn-cti-attr?): Renamed from insn-ctl?.
+       (insn-cti?): New function.
+       * rtl.scm (/hw): Create <pc> object for pcs.
+       * semantics.scm (/build-reg-operand!): New args ref-type, sem-attrs.
+       All callers updated.  Watch for sets to the pc.
+       (semantic-attrs): Watch for sets to the pc.
+       * sid.scm (<pc> cxmake-get): Handle raw-reg.
+       * sim.scm (<pc> cxmake-get): Handle raw-reg.
+       (<operand> cxmake-get): Add debugging printf.
+       * utils-gen.scm (/gen-ifld-extract-base): Emit calls to
+       EXTRACT_[LM]SB0_LG[SU]INT for values > 32 bits.
+       (/gen-extract-word): Ditto.
+
+       * utils.scm (gen-c-hex-constant): New function.
+       * utils-sim.scm (/gen-decode-insn-entry): Call it.
+
+2009-11-22  Doug Evans  <dje@sebabeach.org>
+
+       * insn.scm (/parse-insn-format): Watch for duplicate ifields.
+       * read.scm (parse-error-continuable): New function.
+       (define /continuable-error-found?): New variable.
+       (/init-reader!): Initialize it.
+       (/finish-reader!): New function.
+       (cpu-load): Call it.
+       * utils-cgen.scm (obj-list-nub): New function.
+
+       * mach.scm (<derived-arch-data>): New member large-insn-word?.
+       (/adata-set-derived!): Set it.
+       (adata-large-insn-word?): New function.
+       * sim-arch.scm (/gen-cpuall-includes): Don't #include cgen-engine.h
+       here.
+       * sim-cpu.scm (cgen-cpu.h): #include it here.
+       (/gen-cpu-defines): Define CGEN_INSN_WORD.
+       (/gen-no-scache-semantic-fn): Use CGEN_INSN_WORD instead of
+       CGEN_INSN_INT.
+       * sim-decode.scm (/gen-idesc-decls): Ditto.
+       (/gen-extract-case, /gen-decode-fn): Ditto.
+       * sim-model.scm (/gen-model-insn-fn): Ditto.
+       * sim.scm (gen-argbuf-type): Ditto.
+
+       * rtl-c.scm (/use-gcc-stmt-expr?): New function.
+       (s-sequence): Call it.
+
+2009-11-21  Doug Evans  <dje@sebabeach.org>
+
+       * rtl-c.scm (s-sequence): Use gcc's statement expressions for
+       non-VOID-mode expressions with multiple statements.
+
+       * sim.scm (/operand-number-elaboration-written?): New variable.
+       (/op-gen-written-update op): New function.
+       (/op-gen-set-trace, /op-gen-set-trace-parallel): Call it.
+
+       * read.scm (/cmd-define-rtl-version): Only log rtl version if changed.
+
+       * operand.scm (op-nub): Delete.
+
+       * dev-utils.scm: New file.
+       * dev.scm (srcdir, load-doc, load-opc, load-gtest, load-sid,
+       load-sim, load-stest, load-testsuite): Moved to dev-utils.scm.
+       * read.scm (CHECK-LOADED?, libcpu.so, /loaded-file-list, /loaded-file?,
+       /loaded-file-record!, maybe-load): Delete.
+       Load cgen files directly instead of via maybe-load.
+
+2009-11-14  Doug Evans  <dje@sebabeach.org>
+
+       * rtl-traverse.scm (/rtx-canon): Flag an error for non-void
+       expressions used in a void context.
+
+       * gen-all: Explicitly build binutils, gas, ld, gdb, sid.
+
+       * cpu/xc16x.cpu: Delete, use copy in ../cpu.
+       * cpu/xc16x.opc: Ditto.
+
+2009-11-12  Doug Evans  <dje@sebabeach.org>
+
+       * rtl-c.scm (s-parallel): Use map-in-order instead of map.
+
+       * rtl-xform.scm (/rtx-trim-for-doc): Handle set-quiet, nop,
+       eq, ne, lt, le, gt, ge, ltu, leu, gtu, geu, index-of.
+
 2009-11-11  Doug Evans  <dje@sebabeach.org>
 
        * html.scm (gen-insn-docs): Add logging message.