public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: "Jie Zhang" <zhangjie@magima.com.cn>
To: <cgen@sources.redhat.com>
Subject: Re: Require some enhancement in CGEN for decoder of disassember
Date: Tue, 26 Nov 2002 23:47:00 -0000	[thread overview]
Message-ID: <008b01c295e9$1d2de1e0$2c00000a@sh.magima.com> (raw)
In-Reply-To: <DAV29qgES6IGIkzryYJ00009cfe@hotmail.com>

----- Original Message ----- 
From: "Jie Zhang" <jzhang918@hotmail.com>
To: <cgen@sources.redhat.com>

> I can solve this problem by putting the description fo insn B before A,
> but this is not a good solution.

Sorry. The problem actually cannot be solved by changing these
two insns order. I cannot find out why the problem could be
solved by changing the order at that time. Maybe I used a
different test case.

I find that CGEN will arrange the order of insns in the same
hash chains by the number of decodable bits in decreasing
order. That's the reason that the problem cannot be solved by
reordering the insns.

I search the cgen mailing list archive. And find

http://sources.redhat.com/ml/cgen/2001-q4/msg00026.html

gave the patch of ordering insns in hash chain.
But this patch give the wrong result in my case.
In my case the insn with less decodable bits is intended be
tried first, but CGEN puts it after the insns with more
decodable bits.

Is there a method turn off this reordering?
Has the ifield-assertion been implemented now? It is said
a todo item in

http://sources.redhat.com/ml/cgen/2001-q4/msg00032.html


-Jie

      parent reply	other threads:[~2002-11-27  7:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20 19:59 Jie Zhang
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 [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='008b01c295e9$1d2de1e0$2c00000a@sh.magima.com' \
    --to=zhangjie@magima.com.cn \
    --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).