From: DJ Delorie <dj@redhat.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Add support for Renesas RX architecture
Date: Mon, 07 Dec 2009 23:20:00 -0000 [thread overview]
Message-ID: <200912072319.nB7NJmV3025955@greed.delorie.com> (raw)
In-Reply-To: <e394668d0912071435s58f760bp8d914419cce2199a@mail.gmail.com> (message from Doug Evans on Mon, 7 Dec 2009 14:35:52 -0800)
> Rather, it's that such support was always planned, it just needed
> someone to add it.
For the record, here's the limitations I've found...
* The opcode descriptions are generated by exploding macros to get all
the prefix/operand byte permutations (about 12,000 total). I.e. a
single variable-length opcode is converted into dozens of
fixed-length opcodes. Regenerating takes about an hour, and
maintenance is a nightmare.
* cgen doesn't handle the opcode-vs-decodable bits in m32c very well.
The hash table has nothing left to work with (every bit is an
operand in *some* opcode), so the disassembler takes a noticably
long time starting up, especially given that the exploding macros
create many opcodes to hash.
* The disassembler always reads MAX(opsize) bytes, so the .text
sections have to be padded with NOP bytes to prevent crashes.
next prev parent reply other threads:[~2009-12-07 23:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 23:19 Kevin Buettner
2009-12-04 17:38 ` Joel Brobecker
2009-12-07 20:39 ` Kevin Buettner
2009-12-07 20:56 ` Daniel Jacobowitz
2009-12-07 21:21 ` DJ Delorie
2009-12-07 21:29 ` Daniel Jacobowitz
2009-12-07 21:42 ` DJ Delorie
2009-12-07 22:36 ` Doug Evans
2009-12-07 23:20 ` DJ Delorie [this message]
2009-12-08 2:01 ` Doug Evans
2009-12-07 22:10 ` Michael Snyder
2009-12-07 22:38 ` Doug Evans
2009-12-07 20:00 ` Kevin Buettner
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=200912072319.nB7NJmV3025955@greed.delorie.com \
--to=dj@redhat.com \
--cc=dje@google.com \
--cc=gdb-patches@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