From: "Frank Ch. Eigler" <fche@redhat.com>
To: Shrirang Khishti <shrirangk@KPITCummins.com>
Cc: cgen@sources.redhat.com
Subject: Re: Problem in decoding instructions in simulator
Date: Wed, 26 Oct 2005 01:17:00 -0000 [thread overview]
Message-ID: <20051026011741.GC27015@redhat.com> (raw)
In-Reply-To: <4A1BE23A7B777442B60F4B4916AE0F130830D0F1@sohm.kpit.com>
Hi -
> [...]
> 1. Though I have specified little endian in define-cpu construct in
> my target.cpu file
> [...but...]
> #define TARGET_BIG_ENDIAN 1
> Are there any other factors affecting this macro ?
The "insn-endian" parameter cpu may be relevant.
> 2. My next query is regarding following dump code ..
>
> 400: e0 20 mov r0,#0x2
> 402: e6 f1 7b 00 mov r1,#0x7b
> [...]
> Although PC is at the location 0x400 instruction being decoded is from
> the location 0x402. What might be reason for this ?
Perhaps the define-isa parameters are inconsistent somehow with the
actual encoding.
> [...] According to me this targetbf_decode is called from mloop.c
> file which is generated from mloop.in file . I want to ask whether
> beacuse of this file , it is giving above behavior or is there any
> other affecting factor ?
It is possible, but hard to say without seeing your sources.
> Also is there any documentation about how to write mloop.in file.
Not really. Take an existing one as a model and modify as needed.
- FChE
prev parent reply other threads:[~2005-10-26 1:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 5:36 Shrirang Khishti
2005-10-26 1:17 ` Frank Ch. Eigler [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=20051026011741.GC27015@redhat.com \
--to=fche@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=shrirangk@KPITCummins.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).