public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* Difference in Opcodes
@ 2002-09-22 10:38 Shehryar Humayun
  0 siblings, 0 replies; only message in thread
From: Shehryar Humayun @ 2002-09-22 10:38 UTC (permalink / raw)
  To: cgen

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-22 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-22 10:38 Difference in Opcodes Shehryar Humayun

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).