public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Lev Yudalevich <lyudalev@gmail.com>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: cgen@sourceware.org
Subject: Re: ifield's value processing -- help is needed
Date: Sun, 16 Jun 2013 13:59:00 -0000	[thread overview]
Message-ID: <CA+zUDe0hwMA03DRPKycCPkrdDW0aHXP5vFhnLCAd2F-V0tdBqw@mail.gmail.com> (raw)
In-Reply-To: <20130612225248.GB31128@redhat.com>

Thank you very much!!!

On Thu, Jun 13, 2013 at 1:52 AM, Frank Ch. Eigler <fche@redhat.com> wrote:
> Hi -
>
> On Wed, Jun 12, 2013 at 12:27:06PM +0300, Lev Yudalevich wrote:
>
>> [...]  for example, I'd have to know the currently active isa inside
>> the cgen_dis_hash function and I couldn't find a guide or an example
>> of using CGEN_COMPUTE_ISA, except for a mention of its existence in
>> the CGEN documentation).
>
> When disassembling (or simulating the execution of) anything, you
> usually have to specify a-priori the ISA of the binary dump.  (If you
> want to try auto-detection, that'd have to be done via hand-written
> code in the .opc file or elsewhere.)  For example, see how
> disasemble_info* is passed into the generated default_print_insn()
> function; or examples like sh* with its compact & media ISA's or m32rc
> with its m16c/m32c.
>
> - FChE

      reply	other threads:[~2013-06-16 13:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-11  9:58 Lev Yudalevich
2013-06-11 14:24 ` Frank Ch. Eigler
2013-06-12  9:27   ` Lev Yudalevich
2013-06-12 22:52     ` Frank Ch. Eigler
2013-06-16 13:59       ` Lev Yudalevich [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=CA+zUDe0hwMA03DRPKycCPkrdDW0aHXP5vFhnLCAd2F-V0tdBqw@mail.gmail.com \
    --to=lyudalev@gmail.com \
    --cc=cgen@sourceware.org \
    --cc=fche@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).