Endian sensitive semantics

Ben Elliston bje@redhat.com
Mon Aug 7 01:47:00 GMT 2000


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?

I could escape to C to handle this (so that I have the cpu's endianness
available from relevant cpu state records), but I'd prefer to keep
everything written in high level RTL to maintain cross-framework
portability.

Thanks!

Ben



More information about the Cgen mailing list