This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Endian sensitive semantics
- To: Ben Elliston <bje at redhat dot com>
- Subject: Re: Endian sensitive semantics
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Mon, 7 Aug 2000 07:31:43 -0400
- Cc: cgen development <cgen at sources dot redhat dot com>
- References: <Pine.LNX.4.21.0008071841530.17615-100000@moshpit.cygnus.com>
Hi -
> I am trying to describe some load and store instructions that deal with
> misaligned addresses. Their semantics depend on the endianness of the cpu.
> How should these be dealt with? [...]
You could define a hardware element that stores the current endianness flag,
then use (if ...).
- FChE
PGP signature