From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6498 invoked by alias); 12 Sep 2009 17:34:15 -0000 Received: (qmail 6485 invoked by uid 79); 12 Sep 2009 17:34:15 -0000 Date: Sat, 12 Sep 2009 17:34:00 -0000 Message-ID: <20090912173415.6483.qmail@sourceware.org> From: devans@sourceware.org To: cgen-cvs@sourceware.org Subject: src/cgen ChangeLog attr.scm hardware.scm html. ... Mailing-List: contact cgen-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cgen-cvs-owner@sourceware.org X-SW-Source: 2009/txt/msg00178.txt.bz2 CVSROOT: /cvs/src Module name: src Changes by: devans@sourceware.org 2009-09-12 17:34:15 Modified files: cgen : ChangeLog attr.scm hardware.scm html.scm ifield.scm mode.scm operand.scm rtl-c.scm rtl-traverse.scm rtl-xform.scm rtl.scm rtx-funcs.scm sem-frags.scm semantics.scm Log message: Clean up pass of mode handling. Make use of mode name vs object more consistent and clear. * hardware.scm (/keyword-read): Default mode to the mode name, not the object. (/hw-parse-indices): Parse mode name and pass mode object to constructor. (/hw-parse-values): Ditto. ( parse!): Pass mode name to /hw-parse-indices and /hw-parse-values. ( parse!): Ditto. ( parse!): Ditto. * mode.scm (/mode-table): New global, replaces mode-list. Modes stored in hashtable instead of list. (/mode-class-table): New global. (mode-list-non-alias-values): Update. (mode:eq?, mode-compatible?, mode:add!): Update. (mode:lookup): Restrict arg to the mode's name. All callers updated. (mode-maybe-lookup): New function. (mode-real-name): Restrict arg to a object. All callers updated. (mode-real-mode, mode-sem-mode, mode-bigger?): Ditto. (mode-find, mode-set-word-modes!): Update (mode-ensure-word-sizes-defined): Update. (/sort-mode-classes!): New function. (mode-builtin!): Update. Sort mode classes here. (mode-finish!): Sort mode classes here too. * rtl-c.scm (/rtl-c-get): Restrict mode arg to a object. All callers updated. (rtl-c-set-quiet): Allow mode to be name of object. (rtl-c-set-trace): Ditto. * rtl-traverse.scm (rtl-eval-with-estate): Restrict mode arg to object. All callers updated. * rtl.scm (rtx-sem-mode): Restrict arg to object. (rtx-lazy-sem-mode): Ditto. ( make!): Assert mode arg is a object. (rtx-env-make): Allow var-list modes to be name or object. * sem-frags.scm (/frag-expr-assq-locals): New function. (/frag-compute-locals!): Call it. (/sfrag-create-cse-mapping): Renamed from sfrag-create-cse-mapping. All callers updated. * semantics.scm (/build-mem-operand!): Handle mode aliases. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/ChangeLog.diff?cvsroot=src&r1=1.378&r2=1.379 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/attr.scm.diff?cvsroot=src&r1=1.11&r2=1.12 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/hardware.scm.diff?cvsroot=src&r1=1.11&r2=1.12 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/html.scm.diff?cvsroot=src&r1=1.11&r2=1.12 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/ifield.scm.diff?cvsroot=src&r1=1.21&r2=1.22 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/mode.scm.diff?cvsroot=src&r1=1.8&r2=1.9 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/operand.scm.diff?cvsroot=src&r1=1.24&r2=1.25 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/rtl-c.scm.diff?cvsroot=src&r1=1.18&r2=1.19 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/rtl-traverse.scm.diff?cvsroot=src&r1=1.12&r2=1.13 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/rtl-xform.scm.diff?cvsroot=src&r1=1.6&r2=1.7 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/rtl.scm.diff?cvsroot=src&r1=1.18&r2=1.19 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/rtx-funcs.scm.diff?cvsroot=src&r1=1.10&r2=1.11 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/sem-frags.scm.diff?cvsroot=src&r1=1.6&r2=1.7 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/cgen/semantics.scm.diff?cvsroot=src&r1=1.14&r2=1.15