This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Difference in Opcodes
- From: Shehryar Humayun <shehryarhumayunkhan at yahoo dot com>
- To: cgen at sources dot redhat dot com
- Date: Sun, 22 Sep 2002 10:38:04 -0700 (PDT)
- Subject: Difference in Opcodes
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