OSDN Git Service

Record bitset attributes internally as a list.
authordevans <devans>
Mon, 26 Oct 2009 09:56:34 +0000 (09:56 +0000)
committerdevans <devans>
Mon, 26 Oct 2009 09:56:34 +0000 (09:56 +0000)
commitce8a1ba7e00ba418ae9be6ed5e10cff7aea33b44
treeb3fce01713ec334845e5ac8eb16870bf7e5525e0
parent6feecedc360d3f561b277f21d783a3dd7277068c
Record bitset attributes internally as a list.
Record rtx attribute values internally as ((rtx-expr)).
* attr.scm (bitset-attr?): Delete, unused.
(<bitset-attribute> parse-value): Rewrite.
(/attr-parse): Rewrite bitset default value processing.
(/attr-read): Pick out values of scalar attributes to distinguish
them from bitset values which are a list.
Fix spelling errors for processing of default values.
Handle string attributes.
(bitset-attr->list): Delete, all callers updated.
(/bitset-attr->charmask): Renamed from bitset-attr->charmask.
All callers updated.
(atlist-source-form): Rewrite.
* hardware.scm (<hardware-base> 'get-isas): Update recognition
of all isas.
(hardware-builtin!): Update spec of ISA attribute, (ISA foo,bar)
-> (ISA foo bar).
* intrinsics.scm (target:belongs-to-group?): Update, bitset attribute
values are now lists.
* mach.scm (def-isa-attr!): Update, bitset attribute values,
including the default, are now lists.
(all-isas-attr-value): Result is now a list.
* doc/rtl.texi: Clean up pass over attribute docs.
14 files changed:
cgen/ChangeLog
cgen/attr.scm
cgen/doc/rtl.texi
cgen/hardware.scm
cgen/html.scm
cgen/ifield.scm
cgen/iformat.scm
cgen/insn.scm
cgen/intrinsics.scm
cgen/mach.scm
cgen/read.scm
cgen/sid-cpu.scm
cgen/sim-cpu.scm
cgen/sim.scm