From: Daniel Jacobowitz <drow@false.org>
To: gdb@sourceware.org
Subject: Re: New branch created for "available features" support
Date: Sat, 04 Mar 2006 14:34:00 -0000 [thread overview]
Message-ID: <20060304143419.GA20035@nevyn.them.org> (raw)
In-Reply-To: <8f2776cb0603031436i7c88ccf2j12b2af5e39e6947@mail.gmail.com>
On Fri, Mar 03, 2006 at 02:36:22PM -0800, Jim Blandy wrote:
> So a "feature" would be something like "SSE", or "MMX" with the
> additional SSE registers, and then a "feature set" would be something
> like "Pentium MMX" or "Pentium 3", referring to the appropriate
> individual feature sets?
s/feature sets?/features?/ at the end. Otherwise, yes. At the moment
at least (before I get back to the questions of nesting) a feature set
represents the entire target.
> I understand why you want to supply base register numbers in feature
> sets, rather than features; it makes it possible to share features.
> But if we're going to have other sorts of features as of yet
> unimagined, they may or may not expect a base register number as a
> parameter. That is, you've tied something specific to register banks
> to your <feature> entities.
>
> I'd say, rename <feature> to <register-set>. Introduce new,
> appropriately named kinds of entities for new kinds of features. That
> way, you can look at the tag and know what sorts of parameters it
> expects.
My mental model was that a single feature might contain registers, or
not, and something else, or not. That's why base-regnum is optional.
So a feature might contain, say, registers and MMIO ports and have a
base for both; but if it contains no registers, base-regnum might be
omitted.
However, you may be right that I've got the separation at the wrong
level - I'll have to think about that one for a little. If there's
any advantage to the separation it would be easy to change.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2006-03-04 14:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-03 21:35 Daniel Jacobowitz
2006-03-03 21:55 ` Eli Zaretskii
2006-03-03 21:58 ` Daniel Jacobowitz
2006-03-04 9:09 ` Eli Zaretskii
2006-03-03 22:36 ` Jim Blandy
2006-03-04 14:34 ` Daniel Jacobowitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060304143419.GA20035@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox