This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Endianness and CGEN_INT_INSN_P
- To: cgen at sources dot redhat dot com
- Subject: Endianness and CGEN_INT_INSN_P
- From: Richard Sandiford <rsandifo at cambridge dot redhat dot com>
- Date: Tue, 2 Jan 2001 13:48:37 +0000 (GMT)
When CGEN_INT_INSN_P is true, the instruction gets written as a single
integer with the bytes arranged according to the target endianness. This
only seems appropriate when every instruction is one word long. Is this
right? If so, would it be better to restrict CGEN_INT_INSN_P to that
case, or would it better to handle the multi-word case when
CGEN_INT_INSN_P is true?
Richard