From: "Jie Zhang" <jzhang918@hotmail.com>
To: <cgen@sources.redhat.com>
Subject: Require some enhancement in CGEN for decoder of disassember
Date: Wed, 20 Nov 2002 19:59:00 -0000 [thread overview]
Message-ID: <DAV29qgES6IGIkzryYJ00009cfe@hotmail.com> (raw)
I encounter a problem when I'm using CGEN to port binutils.
In my target, there is a rather strange 4-bit field.
There are two insns, A and B. This field is operand in insn A,
but opcode for insn B.
A and B can be distinguished only by this field.
In insn A, the value of the operand can range from 0 through 14.
If this field is 15, then the insn is B.
If I put the description of insn A before B, insn B is always
disassembled as insn A with the wrong operand value 15.
I can solve this problem by putting the description fo insn B before A,
but this is not a good solution.
I wish CGEN can deal with this issue.
-Jie Zhang
next reply other threads:[~2002-11-21 3:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-20 19:59 Jie Zhang [this message]
2002-11-22 13:12 ` Frank Ch. Eigler
2002-11-24 19:14 ` Jie Zhang
2002-11-24 21:08 ` Doug Evans
2002-11-26 0:48 ` Jie Zhang
2002-11-26 23:47 ` Jie Zhang
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=DAV29qgES6IGIkzryYJ00009cfe@hotmail.com \
--to=jzhang918@hotmail.com \
--cc=cgen@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).