public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: Shehryar Humayun <shehryarhumayunkhan@yahoo.com>
To: cgen@sources.redhat.com
Subject: Difference in Opcodes
Date: Sun, 22 Sep 2002 10:38:00 -0000	[thread overview]
Message-ID: <20020922173804.6503.qmail@web21201.mail.yahoo.com> (raw)

Hi,

Why is it that the opcodes generated by CGEN in
arm-opc.c and the opcodes written in tc-arm.c for the
same insn different. e.g.
in tc-arm.c, the opcode for instruction 
          add $rd,$rs,$rn
is "0x0000" and in arm-opc.c (the one generated by
CGEN), the value is "0x1800".

Can any one tell me how are the opcode values
generated by CGEN? Moreover, how can the two values
produce the same results? Thirdly, how is the
semantics field in define-normal-insn interperated and
where is it output?

Regards

Shehryar

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

                 reply	other threads:[~2002-09-22 17:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020922173804.6503.qmail@web21201.mail.yahoo.com \
    --to=shehryarhumayunkhan@yahoo.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).